Skip to content
Agentguiden.no
Submit

Have Claude Code build a bank CLI

A developer at Capra Consulting gave Claude Code an OpenAPI setup for SpareBank 1 and browser control through Playwright. After about 30 minutes of setup and one and a half to two hours of work, the CLI tool sb1 was ready and published as a Rust package on crates.io, with account overviews, transactions and internal transfers. The developer wrote none of the code by hand, but only tested the solution against their own account.

Done with Claude CodeModerate

What was done

A developer at Capra Consulting gave Claude Code an OpenAPI setup for SpareBank 1 and browser control through Playwright. After about 30 minutes of setup and one and a half to two hours of work, the CLI tool sb1 was ready and published as a Rust package on crates.io, with account overviews, transactions and internal transfers. The developer wrote none of the code by hand, but only tested the solution against their own account.

How to do it

  1. Paste the prompt into the tool, and replace the text in brackets with your own.
  2. Read the answer through. Do not send, delete or publish anything until you have seen it yourself.
  3. Check the original before you trust a figure, a name or a date.

Try it with Claude Code

Build a command line tool that connects to SpareBank 1's API using the attached OpenAPI specification, and use browser control for login. Add commands for account overview, transactions and internal transfers, and write tests along the way. Show me which transfers are about to be sent before anything is sent from the account. You are done when the tool is tested against my own account and ready to be published as a package.
Read the original

Magnus Rødseth, reader contribution in kode24 ·

Five agents a day

A short email each morning with five concrete examples of what people use AI agents for. Each example links to its source. You can unsubscribe at any time.

You will first get an email to confirm the address.