agent-bank: Skill for OpenCode

.opencode/skill/0-finance-cli/SKILL.md

0-finance-cli is a skill for OpenCode from different-ai/agent-bank. It costs 16 tokens per session (427 once invoked), scanned A, original, MIT.

Development instructions for keeping the 0 Finance command-line tool in step with the product. A command-line tool is a program developers use by typing commands in a terminal.

In plain words
What is it for?
Use it when adding or changing CLI commands in the repository, updating their documentation, and checking that example output matches the real program.
Why use it?
It helps prevent product features and the command-line interface from drifting apart. It also covers the documentation and checks needed when commands, options, or login flows change.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions OpenCode.

This is different-ai/agent-bank's own configuration. It tells OpenCode how to work on agent-bank itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-bank configures →

Reuse

Borrowing it

Nothing to install: this file belongs to different-ai/agent-bank. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/different-ai/agent-bank/main/.opencode/skill/0-finance-cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/different-ai/agent-bank

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 0-finance-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/different-ai/agent-bank/0-finance-cli/github.svg)](https://agentmods.dev/skills/different-ai/agent-bank/0-finance-cli)
Your own site
<a href="https://agentmods.dev/skills/different-ai/agent-bank/0-finance-cli"><img src="https://agentmods.dev/badge/skills/different-ai/agent-bank/0-finance-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for 0-finance-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/different-ai/agent-bank/0-finance-cli"><img src="https://agentmods.dev/badge/skills/different-ai/agent-bank/0-finance-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 427 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00427
Opus 5.5 $0.00006 $0.00171
Sonnet 5.5 $0.00003 $0.00085
Haiku 4.5 $0.00002 $0.00043

Measured 1mo ago against content hash d1a519d440ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

0-finance-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/skill/0-finance-cli/SKILL.md · 52 lines

What it actually says

Purpose

Keep the 0 Finance CLI agent-native: every user-facing capability in 0 Finance should be mirrored in the CLI. If a feature is added to the product, add the corresponding CLI command and update docs.

When to Use

Use this skill whenever modifying the CLI in packages/cli (the agent-bank package) or adding new commands, flags, or authentication flows.

Workflow

  1. Identify the product capability being exposed.
  2. Add or update the matching CLI command in packages/cli/src/index.ts.
  3. Update CLI docs in packages/docs/cli/ (installation + reference).
  4. Update product docs or landing pages if the CLI entrypoint changes.
  5. Verify the CLI output examples match actual responses.

Testing

Run commands from packages/cli using either Bun or pnpm:

  • bun --cwd packages/cli run dev -- <command args>
  • pnpm --filter agent-bank exec tsx src/index.ts <command args>

Common Issues

  • pnpm --filter agent-bank dev -- ... injects a literal -- argument, which Commander treats as end-of-options; use pnpm --filter agent-bank exec tsx src/index.ts ... instead.
  • pnpm exec prints an extra undefined line on non-zero exits; this is a pnpm quirk. Use finance or Bun for cleaner stderr if needed.

Documentation Requirements

  • Update packages/docs/cli/reference.mdx when a command or option changes.
  • Update packages/docs/cli/installation.mdx when auth or install steps change.
  • Keep packages/docs/index.mdx quick start in sync with the CLI.

Completion Criteria

  • CLI functionality matches the product capability.
  • Docs reflect the latest CLI behavior.
  • If the CLI is user-facing, update the landing quick-start copy.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 52 lines · 16 tokens per session scan A d1a519d440ca

Subscribe to this mod's changes

0-finance-cli is a skill published in the GitHub repository different-ai/agent-bank (255 stars, last pushed 6mo ago), licensed MIT. It adds 16 tokens to every session and 427 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

twitter-reader

Read Twitter/X for financial research through opencli: the user's home timeline, tweet search, trending topics, bookmarks, a user's recent tweets, threads, articles, profiles, followers and following, and notifications. Use this skill whenever the user wants to know what people are saying on Twitter/X or fintwit about…

himself65/finance-skills · 110 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

energy-procurement

Codified expertise for electricity and gas procurement, tariff optimization, demand charge management, renewable PPA evaluation, and multi-facility energy cost management. Informed by energy procurement managers with 15+ years experience at large commercial and industrial consumers. Includes market structure analysis…

hashgraph-online/awesome-codex-plugins · 93 tokens

airdrop-hunting-guide

Guide to finding and qualifying for crypto airdrops — eligibility criteria, farming strategies, on-chain activity requirements, Sybil detection avoidance, and tracking tools. Use when helping users understand airdrops, check eligibility, or plan participation strategies.

nirholas/three.ws · 54 tokens

recipe-daily-pnl-report

Generate a daily profit and loss summary from trades and balances.

krakenfx/kraken-cli · 19 tokens