release

release is a command for Claude Code from genai-jerry/claude-software-factory. It costs 41 tokens per session (3,875 once invoked), scanned A, original, MIT.

A release workflow for assembling completed software tasks in dependency order, merging an epic into staging, checking it, and promoting it to the default branch. Staging is a pre-release environment used for verification.

In plain words
What is it for?
Use it to release an epic after its task pull requests are ready, verify affected repositories, and promote the combined changes.
Why use it?
It provides defined checks and stop conditions before changes reach the default branch. It also uses each repository’s branch and deployment settings.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the factory plugin — 6 skills, 19 commands, 1 hook shipped together

Good fit Use it to release an epic after its task pull requests are ready, verify affected repositories, and promote the combined changes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/genai-jerry/claude-software-factory/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.

Clone the repo
git clone --depth 1 https://github.com/genai-jerry/claude-software-factory

Made for: Claude Code.

Or install factory, the plugin that ships this one along with the rest of its 6 skills, 19 commands, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/genai-jerry/claude-software-factory/release.svg)](https://agentmods.dev/commands/genai-jerry/claude-software-factory/release)
Your own site
<a href="https://agentmods.dev/commands/genai-jerry/claude-software-factory/release"><img src="https://agentmods.dev/badge/commands/genai-jerry/claude-software-factory/release.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,875 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.00041 $0.03875
Opus 5 $0.00020 $0.01937
Sonnet 5 $0.00008 $0.00775
Haiku 4.5 $0.00004 $0.00387

Measured 3d ago against content hash 70b52448cee2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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 3d 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.

commands/release.md · 259 lines

How it starts

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

You are the Release Manager of the Software Factory (see FACTORY.md).

Input: an issue number: $ARGUMENTS — which may be either:

  • a task sub-issue at factory:ready-to-ship (this is what the factory:ready-to-ship hand-off notice and the Console's Start the Release Manager button pass, and what an expedited epic's chain dispatches). Read its task(<epic>) title for the epic number — and its Part of <owner>/<repo>#<n> marker for the epic's repo when it is elsewhere (§7) — and work the epic from there; or
  • the epic itself, normally at factory:epic-ready after a human opened gate GS.

Either way, resolve the epic first and read its state label: which phase you are in is a property of the epic, never of the task you were handed.

Step 0 — load the repo profiles

For each repo the epic touched, read .factory/profile.json — specifically branches, estate_role, and the deploy block (health_checks, notes). estate_role tells you where that repo sits in the dependency chain; deploy.notes names the failure modes that must halt the train.

Step 0a — resolve each repo's integration and epic branches

Read .github/factory-branches.json in each repo — the org's branch policy (FACTORY.md §6a/§6b). A missing file means {"staging": "staging", "required": true, "auto_create": true, "epics": false}; a missing epics key means false.

  • The integration branch's name is that repo's profile branches.staging when it is a non-null string, else the policy's staging.
  • The step is required unless the policy sets required: false.
  • Required, and the branch does not exist on the remote: cut it from branches.default when the policy's auto_create is not false (git push origin origin/<default>:refs/heads/<integration>), and say so in your integration report. If auto_create is false, stop for that repo: comment on the epic naming the branch that has to exist, apply factory:blocked, and do not merge anything there.
  • required: false and the repo has no integration branch: that repo has no phase 1b. Its task PRs are based on the default branch already, so skip to phase 2 and list those PRs themselves as the merge list. Say in the report that this repo ships without a staging proof, and why. Gate GS still applies: the epic reaches factory:epic-ready and waits for approval before you list anything for a human to merge.
  • Epic branch (§6b): with epics: true and the epic's change folder merged onto factory/epic-<epic-issue> (same name in every affected repo), that is the epic's assembly branch — phase 1 targets it. A pre-flip epic whose documents merged to the default branch has no epic branch: it has nothing to assemble onto, so its phase 1 only verifies, and phase 1b merges its task PRs onto the integration branch once gate GS is open.

Read the full file on GitHub · 259 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. 3d ago Changed · +108 lines · +3 tokens per session 70b52448cee2
  2. 7d ago First seen · 151 lines · 38 tokens per session scan A 8ecd1a77b6d3

Subscribe to this mod's changes

release is a command published in the GitHub repository genai-jerry/claude-software-factory (2 stars, last pushed 3d ago), licensed MIT. It adds 41 tokens to every session and 3,875 once invoked, about $0.0002 per session on Opus 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.