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.
curl -O https://raw.githubusercontent.com/different-ai/agent-bank/main/.opencode/skill/npm-publish/SKILL.mdgit clone --depth 1 https://github.com/different-ai/agent-bankWrote 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.
[](https://agentmods.dev/skills/different-ai/agent-bank/npm-publish)<a href="https://agentmods.dev/skills/different-ai/agent-bank/npm-publish"><img src="https://agentmods.dev/badge/skills/different-ai/agent-bank/npm-publish/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.
<a href="https://agentmods.dev/skills/different-ai/agent-bank/npm-publish"><img src="https://agentmods.dev/badge/skills/different-ai/agent-bank/npm-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00322 |
| Opus 5.5 | $0.00000 | $0.00129 |
| Sonnet 5.5 | $0.00000 | $0.00064 |
| Haiku 4.5 | $0.00000 | $0.00032 |
Grade A, and why
npm-publish 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.
What it actually says
npm-publish
What I Do
Publish the 0 Finance CLI to npm with the correct 2FA requirements.
Prerequisites
- npm account with publish rights to publish
agent-bank - A granular token that bypasses 2FA, stored in
.env.skill - Built CLI artifacts in
packages/cli/dist
Credentials
This skill reads credentials from .env.skill in the same directory.
Expected keys:
NPM_TOKEN— npm granular token with publish access and 2FA bypass enabledNPM_SCOPE— optional npm scope (leave empty for unscoped)
Workflow
- Load
.env.skilland exportNPM_TOKEN - Run
npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN - Run
npm whoamito confirm auth - Build the CLI:
pnpm --filter agent-bank build - Publish from
packages/cli:npm publish --access public --workspaces=false - Verify publish:
npm view agent-bank version
Common Issues
- 403 with 2FA: token lacks 2FA bypass — regenerate a granular token with bypass enabled
- 404 scope not found: scope permissions missing — ensure the token has publish access
- Interactive login: avoid
npm loginin automation, use token instead
Completion Criteria
npm view agent-bank versionreturns the new version- CLI install works with
bun add -g agent-bank
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.
- 1mo ago First seen · 41 lines · 0 tokens per session scan A 117bceb3b3ce
npm-publish 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 322 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.
Other skills, from other repositories
release-announcement
Write a release announcement — changelog, blog post, in-app note, or social post — that leads with user impact, names the audience, and includes upgrade/migration steps without filler.
release
Fully automate a release with version-bump and childhood.
release-notes
Generate user-facing release notes from tickets, PRDs, or changelogs. Creates clear, engaging summaries organized by category (new features, improvements, fixes). Use when writing release notes, creating changelogs, announcing product updates, or summarizing what shipped.
multi-agent-release-manager
Cleans up the workspace, formats code, runs presubmit checks, and uploads CLs to Gerrit.
pack-submit
Package one of this agent's own skills as a standalone community pack and submit it to the aeon registry as a PR.
release-helper
Ensures configuration and code changes are released correctly. Use PROACTIVELY whenever you edit config.json, change any setting, or fix a configuration bug in this project, so the change reaches production.