跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
开发与测试

sparebank1-transfers

Move money with the `sb1` CLI (SpareBank 1), transfer between the user's own accounts, pay a credit card, or pay into a pension policy. Use when a user explicitly asks to transfer/move money, pay a credit card, or fund a pension via sb1. Handles the confirmation flow safely.

magnusrodseth · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add magnusrodseth/sparebank1-cli --skill sparebank1-transfers

技能说明


name: sparebank1-transfers description: Move money with the sb1 CLI (SpareBank 1), transfer between the user's own accounts, pay a credit card, or pay into a pension policy. Use when a user explicitly asks to transfer/move money, pay a credit card, or fund a pension via sb1. Handles the confirmation flow safely. compatibility: Requires the sb1 binary, installed and authenticated (see sparebank1-shared). Executes real, irreversible payments.

sparebank1-transfers

Money-movement workflows for SpareBank 1 via sb1. Read sparebank1-shared first.

⚠ Transfers are real and irreversible. Treat every transfer as high-stakes.

Safety rules (follow exactly)

  1. Never pass -y/--yes unless the user has explicitly confirmed the exact amount and destination in this conversation. Prefer letting the CLI's own confirmation prompt show, and surface its summary to the user.
  2. Confirm from, to, and amount against sb1 accounts before running.
  3. debit transfers are own-account only, both --from and --to must be the user's own accounts (the CLI rejects external destinations by design).
  4. If anything is ambiguous (which account, how much), stop and ask. Do not guess.

Transfer between your own accounts

sb1 transfer debit --from Brukskonto --to Sparekonto --amount 250
sb1 transfer debit --from Brukskonto --to Sparekonto --amount 250 --message "Sparing"
sb1 transfer debit --profile <profile-name> --from Brukskonto --to Sparekonto --amount 250

With multiple configured profiles, every transfer must include --profile. The CLI resolves source and destination accounts through that profile and shows its name in the confirmation summary. Credit card and pension transfers also use only the selected profile's authenticated client.

The CLI prints a summary and asks Proceed? [y/N]. Amounts accept 250, 250.50, or 250,50. Optional --due-date YYYY-MM-DD schedules it.

Pay a credit card

sb1 transfer creditcard --from Brukskonto --credit-card-id <id> --amount 500

--credit-card-id is the credit card account id (find it via sb1 accounts --all). The payment posts as a payment, so the card balance may update the next business day.

Pay into a pension policy

sb1 transfer pension --from Brukskonto --policy-number <polisenummer> --amount 500

Non-interactive use

Only when the user has clearly authorized the specific transfer, you may add -y to skip the prompt. Always echo back exactly what you ran (from / to / amount) afterwards, and report the returned paymentId and any warnings.