publish-release

publish-release is a skill for Claude Code, Codex from JimmyPaolini/codebase. It costs 48 tokens per session (466 once invoked), scanned A, original, MIT.

A set of guidelines for building, packaging, and publishing JavaScript or TypeScript projects as installable packages.

In plain words
What is it for?
Use it when changing package.json entry points, publish settings, build output, or plugin imports. It also guides checking the package archive produced by pnpm pack.
Why use it?
It helps prevent published packages from missing build files or type declarations, and helps diagnose package-resolution failures before release.

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 Use it when changing package.json entry points, publish settings, build output, or plugin imports. It also guides checking the package archive produced by pnpm pack.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jimmypaolini/codebase/publish-release
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 JimmyPaolini/codebase --skill publish-release
Clone the repo
git clone --depth 1 https://github.com/JimmyPaolini/codebase

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 publish-release

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jimmypaolini/codebase/publish-release"><img src="https://agentmods.dev/badge/skills/jimmypaolini/codebase/publish-release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 466 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.00048 $0.00466
Opus 5.5 $0.00019 $0.00186
Sonnet 5.5 $0.00010 $0.00093
Haiku 4.5 $0.00005 $0.00047

Measured 26d ago against content hash 9dfeb7a38bb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

publish-release 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 26d 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.

.agents/skills/publish-release/SKILL.md · 34 lines

What it actually says

Publish and Release

Build Output and Publishing

  • Every build writes into its own project's dist/ — packages/logger/dist, applications/caelundas/dist — never a top-level one. dist is already gitignored and in the folder-structure rule's ignorePatterns.
  • configuration/tsconfig.json sets declaration: true, so every build emits .d.ts beside its .js. Turning it off silently removes the types a published package ships.
  • A package's main, types, and exports point at TypeScript sources, and publishConfig carries the emitted dist/ paths beside them — pnpm applies those at publish time, so one manifest serves the workspace and a published consumer. Verify a change here by packing, not by reading: pnpm pack in the package, then inspect the tarball's package.json.
  • files must name dist. Without it, packing falls back to the ignore files and the tarball ships no build output at all.
  • A plugin entry's resolvePluginService must stay a static import. A dynamic import() escapes the @swc-node/register require hook into Node's own ESM resolver, and nx g then fails with Cannot find module './modules/plugin/plugin-context.utilities'.

Why the manifest fields stay on sources, which publishConfig fields pnpm actually applies, and why shrinking the Nx plugin closure buys nothing is ADR 0009. Do not point main or exports at dist/ — it deadlocks the plugin graph load and breaks fallow-dead-code and vitest.

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. 26d ago First seen · 34 lines · 48 tokens per session scan A 9dfeb7a38bb9

Subscribe to this mod's changes

publish-release is a skill published in the GitHub repository JimmyPaolini/codebase (0 stars, last pushed 19d ago), licensed MIT. It adds 48 tokens to every session and 466 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-09-20.