release-process

release-process is a skill for Claude Code, Codex from github/gh-aw. It costs 16 tokens per session (2,606 once invoked), scanned C, original, MIT.

A release runbook for validating, publishing, and verifying npm packages. npm is the package registry and command-line tool commonly used for JavaScript and TypeScript projects.

In plain words
What is it for?
Running pre-release checks, publishing the specified packages, handling CI failures, and confirming that a release appeared correctly afterward.
Why use it?
It reduces the risk of broken package releases and gives fallback steps when automated release workflows fail. It also clarifies who may trigger publishing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

About the project

GitHub Agentic Workflows is a GitHub CLI extension that lets developers define AI-assisted repository automation in Markdown and run it through GitHub Actions. It is intended for tasks requiring interpretation or reasoning, such as issue triage, pull-request review, CI investigation, documentation maintenance, and dependency analysis. The catalogue entries provide skills and agents for working with these workflows.

github/gh-aw · 5,108 stars · on GitHub · gh.io

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.

agentmods
npx agentmods add skills/github/gh-aw/release-process
Any agent
npx skills add github/gh-aw --skill release-process
Clone the repo
git clone --depth 1 https://github.com/github/gh-aw

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/github/gh-aw/release-process.svg)](https://agentmods.dev/skills/github/gh-aw/release-process)
Your own site
<a href="https://agentmods.dev/skills/github/gh-aw/release-process"><img src="https://agentmods.dev/badge/skills/github/gh-aw/release-process.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,606 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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.00016 $0.02606
Opus 5 $0.00008 $0.01303
Sonnet 5 $0.00003 $0.00521
Haiku 4.5 $0.00002 $0.00261

Measured 2d ago against content hash 38134fe27547, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

release-process scanned grade C 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 2d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules packages/*/node_modules
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.squad/templates/skills/release-process/SKILL.md · 218 lines

How it starts

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

Release Process

Earned knowledge from the v0.9.0→v0.9.1 and v0.9.4 incidents. Every agent involved in releases MUST read this before starting release work. See also: .github/skills/release-process/SKILL.md for the Copilot-facing runbook.

SCOPE

✅ THIS SKILL PRODUCES:

  • Pre-release validation checks that prevent broken publishes
  • Correct npm publish commands (never workspace-scoped)
  • Fallback procedures when CI workflows fail
  • Post-publish verification steps

❌ THIS SKILL DOES NOT PRODUCE:

  • Feature implementation or test code
  • Architecture decisions
  • Documentation content

Confidence: high

Established through the v0.9.1 incident (8-hour recovery) and reinforced by the v0.9.4 release delay (PRs #1042, #1043, #1044). Every rule below is battle-tested.

Context

Squad publishes two npm packages: @bradygaster/squad-sdk and @bradygaster/squad-cli. The release pipeline flows: dev → preview → main → GitHub Release → npm publish. Brady (project owner) triggers releases — the coordinator does NOT.

Rules (Non-Negotiable)

1. Coordinator Does NOT Publish

The coordinator routes work and manages agents. It does NOT run npm publish, trigger release workflows, or make release decisions. Brady owns the release trigger. If an agent or the coordinator is asked to publish, escalate to Brady.

2. Pre-Publish Dependency Validation

Before ANY release is tagged, scan every packages/*/package.json for:

  • file: references (workspace leak — the v0.9.0 root cause)
  • link: references
  • Absolute paths in dependency values
  • Non-semver version strings

Command:

grep -r '"file:\|"link:\|"/' packages/*/package.json

If anything matches, STOP. Do not proceed. Fix the reference first.

3. Never Use npm -w for Publishing

npm -w packages/squad-sdk publish hangs silently when 2FA is enabled. Always cd into the package directory:

cd packages/squad-sdk && npm publish --access public
cd packages/squad-cli && npm publish --access public

Read the full file on GitHub · 218 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. 2d ago First seen · 218 lines · 16 tokens per session scan C 38134fe27547

Subscribe to this mod's changes

release-process is a skill published in the GitHub repository github/gh-aw (5,108 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 2,606 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ESLint for Test Quality

Enforce test quality with ESLint - eslint-plugin-jest, eslint-plugin-playwright, and eslint-plugin-testing-library rules in flat config, blocking focused tests, missing assertions, and flaky waits via a CI lint gate.

PramodDutta/qaskills · 50 tokens

ts-review

TypeScript monorepo 审查:XSS、SQL 注入、密钥、any、console.log.

liuyanghejerry/Clausura · 26 tokens

package-release-engineering

Use when preparing, validating, or documenting the release workflow for a TypeScript library published to npm, including semver, changelog, tagging, and publish safety.

sampleXbro/agentsmesh · 38 tokens

watch-tag

Watch a GitHub repository for new tags using the gh-watch extension. Use when the user wants to be notified when a tag is created, when a release is cut, or when a tag that includes a specific commit appears (e.g. "tell me when my merge ships in a release").

justincampbell/gh-watch · 62 tokens

publish-npm

This skill should be used when the user asks to "publish to npm", "npm publish", "/publish-npm", "/publishnpm", or "submit to the MCP registry"; or when the session hits EOTP, E403, ENEEDAUTH, 2FA, "bypass 2fa", "cannot publish over the previously published versions", redacted auth/cli/, "+ package@version" that still…

eternal-roman/ledger · 122 tokens

publish-beta-types

Publish a beta version of a @blockscout/-types npm package and pin it here. Use when a needed response type isn't in any published package version yet.

blockscout/frontend · 40 tokens