Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add LandonSchropp/agent-toolkit --skill npm-publishgit clone --depth 1 https://github.com/LandonSchropp/agent-toolkitWrote 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/landonschropp/agent-toolkit/npm-publish)<a href="https://agentmods.dev/skills/landonschropp/agent-toolkit/npm-publish"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/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/landonschropp/agent-toolkit/npm-publish"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/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.00053 | $0.00792 |
| Opus 5.5 | $0.00021 | $0.00317 |
| Sonnet 5.5 | $0.00011 | $0.00158 |
| Haiku 4.5 | $0.00005 | $0.00079 |
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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pre-flight checks
Do these before bumping the version — fail before creating a commit and tag, not after.
- Authenticated. Run
npm whoami. A401means you're not logged in, so stop and resolve it before anything else.npm loginis interactive (browser-based), so you cannot run it for the user — ask them to (in Claude Code,! npm login), then re-checknpm whoami. Don't bump or commit until this passes. - Clean working tree. Run
git status. Commit or stash changes first. - Tests and lint pass. Run the project's test and lint scripts. Publish only when both pass.
- Right branch, up to date. Releases normally happen from
main.
Package manager
Detect from the lockfile (first match wins) and use that row's commands:
| Lockfile | Bump | Publish |
|---|---|---|
yarn.lock |
yarn version --<bump> |
yarn publish |
pnpm-lock.yaml |
pnpm version <bump> |
pnpm publish |
bun.lock / bunfig.toml |
npm version <bump> |
bun publish |
package-lock.json (or none) |
npm version <bump> |
npm publish |
Both steps only touch package.json and the registry, so npm version / npm publish are safe fallbacks when a manager's syntax differs (e.g. Yarn Berry publishes with yarn npm publish).
Bump, push, and publish
- Bump. Pick the level — major (breaking), minor (new backward-compatible feature), or patch (fix/internal only); ask if unsure. Run the bump command for your manager. It edits
package.json, commits, and creates av<version>tag. - Push the commit and tag:
git push --follow-tags. Without--follow-tags, the tag stays on your machine. - Publish with your manager's command plus
--access public, which scoped packages (@scope/name) need: without it npm publishes privately and rejects a free account. - Verify:
npm view <package-name> version.
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.
- 11d ago Changed dd9e1de630ab
- 3mo ago First seen · 41 lines · 53 tokens per session scan A ef49fb953477
npm-publish is a skill published in the GitHub repository LandonSchropp/agent-toolkit (3 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 792 once invoked, about $0.0002 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-31.
npm-publish compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| npm-publishLandonSchropp/agent-toolkit | Skill | 3 | today | MIT | A | 53 | Claude Code |
| zb-release-pipelineAdamBien/airails | Skill | 76 | yesterday | MIT | A | 148 | Claude Code, Codex |
| apply-semantic-versioningpjt222/agent-almanac | Skill | 46 | yesterday | MIT | A | 94 | Claude Code |
| create-github-releasepjt222/agent-almanac | Skill | 46 | yesterday | MIT | A | 73 | Claude Code |
| capgo-release-managementCap-go/capgo-skills | Skill | 79 | 19d ago | MIT | A | 162 | Claude Code |
| npm-publishmetarhia/metaskills | Skill | 61 | 1mo ago | MIT | A | 59 | Claude Code |
| release-notesjcottam/agent-resources | Skill | 21 | 11d ago | MIT | A | 87 | Claude Code |