agent-bank: Skill for OpenCode

.opencode/skill/publish-cli/SKILL.md

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

A release procedure for publishing the 0 Finance command-line tool, called agent-bank, as an npm package. npm is the package registry used to distribute JavaScript and TypeScript software.

In plain words
What is it for?
Increasing the CLI version, building it, publishing it to npm, checking the published version, and confirming that the installed finance command reports the same version.
Why use it?
It keeps the version shown by the source code, published package, and installed command in agreement.

Skill for OpenCode

Written for OpenCode: installed under .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/publish-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 publish-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/different-ai/agent-bank/publish-cli/github.svg)](https://agentmods.dev/skills/different-ai/agent-bank/publish-cli)
Your own site
<a href="https://agentmods.dev/skills/different-ai/agent-bank/publish-cli"><img src="https://agentmods.dev/badge/skills/different-ai/agent-bank/publish-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 publish-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/different-ai/agent-bank/publish-cli"><img src="https://agentmods.dev/badge/skills/different-ai/agent-bank/publish-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 248 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.00000 $0.00248
Opus 5.5 $0.00000 $0.00099
Sonnet 5.5 $0.00000 $0.00050
Haiku 4.5 $0.00000 $0.00025

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

Security

Grade A, and why

publish-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/publish-cli/SKILL.md · 35 lines

What it actually says

publish-cli

What I Do

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

  1. Bump packages/cli/package.json version.
  2. Update packages/cli/src/index.ts .version() to match.
  3. Build: pnpm --filter ./packages/cli build.
  4. Publish from packages/cli: npm publish --tag latest.
  5. Verify: npm view agent-bank version.
  6. 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.
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 · 35 lines · 0 tokens per session scan A 63df69eadcd0

Subscribe to this mod's changes

publish-cli is a skill published in the GitHub repository different-ai/agent-bank (255 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 248 tokens. 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.