Skip to main content
skill CX Codex

0-finance-cli — Claude Code skill: CLI workflow

Keep 0 Finance CLI commands aligned with product features, and update the related docs when the CLI changes.

MIT 1 installs ★ 256 updated 2026-04-03

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add different-ai/agent-bank --skill 0-finance-cli -a claude-code
Open on GitHub

What 0-finance-cli does

Use this skill when editing the CLI in packages/cli or adding commands, flags, or authentication flows. It guides the work from identifying the product capability to changing packages/cli/src/index.ts, updating the CLI docs, and checking that output examples reflect actual responses.

Command and option changes call for edits to packages/docs/cli/reference.mdx; changes to installation or authentication belong in packages/docs/cli/installation.mdx. The quick start in packages/docs/index.mdx should track the CLI too. One concrete snag: pnpm --filter agent-bank dev -- ... passes a literal -- to Commander, which ends option parsing. The skill points to pnpm --filter agent-bank exec tsx src/index.ts ... or Bun for running commands.

What it helps with

  • add a CLI command for a product capability
  • revise the reference after changing a command or option
  • bring installation and authentication docs up to date
  • check CLI examples against actual command responses

Example prompts for the agent

  • Add a CLI command for this product feature and update the related docs.
  • Check which docs need edits after adding a CLI flag.
  • Compare the CLI response examples with the command's actual output.

How to install 0-finance-cli

1Skills CLI (Vercel)

npx skills add different-ai/agent-bank --skill 0-finance-cli -a claude-code

2Manually: put the files in place

~/.claude/skills/0-finance-cli/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/0-finance-cli/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about 0-finance-cli

How do I install 0-finance-cli in Claude Code?

Run npx skills add different-ai/agent-bank --skill 0-finance-cli -a claude-code. The skill file is at ~/.claude/skills/0-finance-cli/SKILL.md.

What does 0-finance-cli do?

It helps keep 0 Finance CLI capabilities in step with the product by guiding command changes, documentation updates, and checks of output examples.

How can I run the CLI with pnpm without Commander treating -- as the end of options?

Use pnpm --filter agent-bank exec tsx src/index.ts <command args>. The pnpm --filter agent-bank dev -- ... form passes a literal -- to Commander.

Source text

SKILL.md · MIT
---
name: 0-finance-cli
description: Keep the 0 Finance CLI aligned with product capabilities.
compatibility: opencode
---

## 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.

© different-ai · MIT · different-ai/agent-bank

Similar skills

All skills for Finance and business →

From the same set5

Project sponsors

Companies that keep this analytics open