Publish the 0 Finance CLI (agent-bank) to npm and keep the CLI version in sync.
Prerequisites
npm account with publish rights for agent-bank
packages/cli builds successfully
Workflow
Bump packages/cli/package.json version.
Update packages/cli/src/index.ts.version() to match.
Build: pnpm --filter ./packages/cli build.
Publish from packages/cli: npm publish --tag latest.
Verify: npm view agent-bank version.
Sanity check install: bun add -g agent-bank@latest then finance --version.
Optional Script
packages/cli/package.json includes publish:cli for step 3–4.
Common Issues
Version prints old number: .version() not updated in src/index.ts.
npm rejects publish: bump package.json version.
bun shows older version: clear cache or reinstall globally.
Completion Criteria
npm view agent-bank version shows the new version.
finance --version matches the published version.
1---2name: publish-cli3description: publish-cli4---5# publish-cli67## What I Do89Publish the 0 Finance CLI (`agent-bank`) to npm and keep the CLI version in sync.1011## Prerequisites1213- npm account with publish rights for `agent-bank`14- `packages/cli` builds successfully1516## Workflow17181. Bump `packages/cli/package.json` version.192. Update `packages/cli/src/index.ts` `.version()` to match.203. Build: `pnpm --filter ./packages/cli build`.214. Publish from `packages/cli`: `npm publish --tag latest`.225. Verify: `npm view agent-bank version`.236. Sanity check install: `bun add -g agent-bank@latest` then `finance --version`.2425## Optional Script2627- `packages/cli/package.json` includes `publish:cli` for step 3–4.2829## Common Issues3031- Version prints old number: `.version()` not updated in `src/index.ts`.32- npm rejects publish: bump package.json version.33- bun shows older version: clear cache or reinstall globally.3435## Completion Criteria3637- `npm view agent-bank version` shows the new version.38- `finance --version` matches the published version.
Run npx skillmds@latest add different-ai/publish-cli in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
publish-cli It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
different-ai (@different-ai) published this skill. Their other Agent Skills are listed on their SkillMD profile.