Borrowing it
Nothing to install: this file belongs to jnerytech/specd. 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/jnerytech/specd/main/.claude/skills/publish-npm/SKILL.mdgit clone --depth 1 https://github.com/jnerytech/specdWrote 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/jnerytech/specd/publish-npm)<a href="https://agentmods.dev/skills/jnerytech/specd/publish-npm"><img src="https://agentmods.dev/badge/skills/jnerytech/specd/publish-npm/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/jnerytech/specd/publish-npm"><img src="https://agentmods.dev/badge/skills/jnerytech/specd/publish-npm.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.00110 | $0.04290 |
| Opus 5.5 | $0.00044 | $0.01716 |
| Sonnet 5.5 | $0.00022 | $0.00858 |
| Haiku 4.5 | $0.00011 | $0.00429 |
Grade A, and why
publish-npm scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s https://registry.npmjs.org/<pacote com / escapado como %2F> \ How it starts
The opening of the file, as written. The whole thing — 305 lines — stays where its author put it; the contents beside it link to each section on GitHub.
publish-npm
Publica specd no registry npm. O procedimento existe porque publicação é a
operação mais irreversível que este repositório executa: nome mais versão
publicados nunca voltam a ficar livres. npm unpublish só vale nas primeiras
72 horas, e mesmo assim queima o par para sempre.
Daí a skill seguir costly-ops-are-not-silent e absence-is-not-compliance do
CLAUDE.md ao pé da letra: para e nomeia a escolha antes de pagar o custo, e
trata a resposta de sucesso do npm como promessa, não como prova.
Regras que não se negociam
A credencial nunca aparece. O token mora em NODE_AUTH_TOKEN no .env, que
é gitignored. Nunca cat .env, nunca echo do valor, nunca token em argv
(fica visível em ps para qualquer processo da máquina). Ele entra por um
.npmrc temporário fora do repositório, apagado por trap mesmo se o comando
falhar.
As outras quatro são pré-condições, cada uma detalhada no passo que a executa:
- Sem confirmação nesta conversa, não publica — versão e dist-tag exatas, depois do dry-run (passo 5). Autorização de sessão anterior não vale.
- Sem gate verde e árvore limpa, não publica (passos 2 e 6).
- De commit que só existe nesta máquina, não publica (passo 6).
- Sucesso do npm não é prova — quem fecha é a releitura (passo 8).
Procedimento
1. Estado antes de qualquer coisa
git status --porcelain && git rev-parse --short HEAD
node -p "const p=require('./package.json'); p.name+'@'+p.version"
npm view "$(node -p "require('./package.json').name")" versions --json 2>&1
npm view "$(node -p "const p=require('./package.json'); p.name+'@'+p.version")" version 2>&1
Árvore suja → pare e mostre o que está pendente. A lista de versões sai inteira,
sem tail: o começo da série é onde mora 0.0.0, a versão quebrada que os
passos 4 e 8 usam como referência.
Terceira linha, o nome. E404 significa que este nome nunca foi
publicado — normal numa primeira publicação, alarme em qualquer outra. Nome
diferente é pacote diferente, não versão nova do mesmo: houve um intervalo em que
@jnerytech/specd estava no ar e o package.json dizia "name": "specd", e
publicar dali teria reservado um segundo nome, com quem instalou o primeiro
continuando nele. Se divergirem, pare e traga a escolha ao autor — renomear
pacote publicado quebra quem instalou. (REQ-CLI-007 amarra o nome citado na
documentação ao manifesto; a checagem fica porque é barata e falha em silêncio.)
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 · 305 lines · 110 tokens per session scan A d4e240a77c00
publish-npm is a skill published in the GitHub repository jnerytech/specd (0 stars, last pushed 4mo ago), licensed MIT. It adds 110 tokens to every session and 4,290 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.
publish-npm compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| publish-npmjnerytech/specd | Skill | 0 | 4mo ago | MIT | A | 110 | Claude Code |
| gsd-complete-milestoneopen-gsd/gsd-core | Skill | 12k | yesterday | MIT | A | 16 | Claude Code |
| comet-archiverpamis/comet | Skill | 3.3k | yesterday | MIT | A | 34 | Codex |
| comet-releaserpamis/comet | Skill | 3.3k | yesterday | MIT | A | 65 | Claude Code, Codex |
| comet-safe-deliveryrpamis/comet | Skill | 3.3k | yesterday | MIT | A | 78 | Claude Code, Codex |
| codex-issue-coordinatorowainlewis/blueprint | Skill | 444 | 5d ago | MIT | A | 59 | Claude Code, Codex |
| release-archivistMageByte-Zero/spec-superflow | Skill | 899 | 29d ago | MIT | A | 42 | Claude Code |