publicar-no-npm

publicar-no-npm is a skill for Claude Code, Codex from Josuebmota/Marvin. It costs 50 tokens per session (732 once invoked), scanned A, original, MIT.

A release procedure for publishing the marvin-kb package to npm, the registry used to distribute JavaScript packages.

In plain words
What is it for?
It checks registry versions, tests and packages the release, verifies Git tags and release notes, and publishes the package.
Why use it?
It prevents false conclusions about whether a version was published and catches missing release tags, unwanted files, and expired login details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It checks registry versions, tests and packages the release, verifies Git tags and release notes, and publishes the package.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/josuebmota/marvin/publicar-no-npm
Install

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.

Any agent
npx skills add Josuebmota/Marvin --skill publicar-no-npm
Clone the repo
git clone --depth 1 https://github.com/Josuebmota/Marvin

Made for: Claude Code, Codex.

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 publicar-no-npm

README.md
[![agentmods](https://agentmods.dev/badge/skills/josuebmota/marvin/publicar-no-npm/github.svg)](https://agentmods.dev/skills/josuebmota/marvin/publicar-no-npm)
Your own site
<a href="https://agentmods.dev/skills/josuebmota/marvin/publicar-no-npm"><img src="https://agentmods.dev/badge/skills/josuebmota/marvin/publicar-no-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.

agentmods 80×15 button for publicar-no-npm

Your own site · 80×15
<a href="https://agentmods.dev/skills/josuebmota/marvin/publicar-no-npm"><img src="https://agentmods.dev/badge/skills/josuebmota/marvin/publicar-no-npm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 732 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.00050 $0.00732
Opus 5.5 $0.00020 $0.00293
Sonnet 5.5 $0.00010 $0.00146
Haiku 4.5 $0.00005 $0.00073

Measured yesterday against content hash 89faab4768ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

publicar-no-npm 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 yesterday.

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.

.agents/skills/publicar-no-npm/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Publicar no npm

O pacote é marvin-kb; o comando é marvin. npx marvin roda o pacote de outra pessoa.

Antes de tudo — o que já está lá

npm view marvin-kb versions time --json --prefer-online

Sempre com --prefer-online: sem ele o npm view responde do cache e a versão que acabou de subir não aparece (aconteceu em 15/09/2026 — confirmação falsa de "não publicou"). Confira time também: em 10/09 a nota dizia "1.1.1 não publicado" e o registry dizia que sim, publicado horas depois da nota.

Conferir o que vai subir

node teste.mjs
npm pack --dry-run

O tarball tem que ter só script + documentação (7 arquivos, ~95 kB). .marvin/ e .claude/ não vão — é o files do package.json que manda.

Tag e Releases antes do push

git tag -l "v$(node -p "require('./package.json').version")"

Vazio = falta a tag. Crie no commit que subiu a versão (git tag -a v<versao> <commit> -m "Marvin <versao>") — o --follow-tags abaixo só leva tag que existe. A 2.1.0 e a 2.2.0 foram publicadas sem tag e só ganharam v2.1.0/v2.2.0 em 10/10/2026. Confira também se .marvin/Releases/<versao>.md lista toda US com estado: concluida que ainda está na nota: a US-20 ficou de fora da 2.2.0 e o hook seguiu acusando.

Push antes do publish

pwd && git remote -v && git log --oneline -1
git push --follow-tags

O pwd é obrigatório: em 03/08 um push saiu de dentro de outro repositório.

Login e publish — quem roda é o humano

npm whoami com 401 = token expirado. O publish responde 404, não 401 — o npm usa 404 para não revelar se o pacote existe. Não é "pacote sumiu".

npm login

Abre o navegador; entra com a security key, sem --otp. Agente não faz login: é credencial.

npm whoami && npm publish

Sucesso é a linha + marvin-kb@<versao>. Se ela não apareceu, não publicou — em 15/09 o primeiro publish foi dado como feito e o registry não tinha a versão — e na 1.6.0, no mesmo dia, de novo: o humano rodou duas vezes, só a segunda subiu. Depois:

Read the full file on GitHub · 75 lines

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. yesterday First seen · 75 lines · 50 tokens per session scan A 89faab4768ed

Subscribe to this mod's changes

publicar-no-npm is a skill published in the GitHub repository Josuebmota/Marvin (5 stars, last pushed 28d ago), licensed MIT. It adds 50 tokens to every session and 732 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-12-05.

Related

publicar-no-npm compared with skills from other repositories

publicar-no-npm next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
publicar-no-npmJosuebmota/MarvinSkill528d agoMITA50Claude Code, Codex
package-releasejessepinkman9900/claude-second-brainSkill1912d agoMITA88Claude Code
releasejessepinkman9900/claude-second-brainSkill1912d agoMITA75Claude Code
pack-testjessepinkman9900/claude-second-brainSkill1912d agoMITD87Claude Code
git-workflow-and-versioningaddyosmani/agent-skillsSkill123k2d agoMITA131Claude Code
finishing-a-development-branchjnMetaCode/superpowers-zhSkill8.7k4d agoMITA25Claude Code
macos-releasefcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A51Claude Code