cut-release

cut-release is a skill for Claude Code, Codex from lukasrepublic/agentic-foundry. It costs 165 tokens per session (6,063 once invoked), scanned A, original, MIT.

A guarded release-cutting procedure: a repeatable checklist and loop for preparing a software release. It checks required version and changelog conditions and produces a publish plan for an operator to execute.

In plain words
What is it for?
Use it to verify release prerequisites and acceptance results before publishing, without creating Git tags or pushing changes itself.
Why use it?
It reduces mistakes in a release process where recurring manual steps and missed conditions can prevent a correct release.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the foundry plugin — 80 skills, 8 agents, 8 hooks, 1 MCP server shipped together

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/lukasrepublic/agentic-foundry/cut-release
Any agent
npx skills add lukasrepublic/agentic-foundry --skill cut-release
Clone the repo
git clone --depth 1 https://github.com/lukasrepublic/agentic-foundry

Made for: Claude Code, Codex.

Or install foundry, the plugin that ships this one along with the rest of its 80 skills, 8 agents, 8 hooks, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/lukasrepublic/agentic-foundry/cut-release.svg)](https://agentmods.dev/skills/lukasrepublic/agentic-foundry/cut-release)
Your own site
<a href="https://agentmods.dev/skills/lukasrepublic/agentic-foundry/cut-release"><img src="https://agentmods.dev/badge/skills/lukasrepublic/agentic-foundry/cut-release.svg" alt="Measured on agentmods" height="20"></a>
Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,063 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 $0.00165 $0.06063
Opus 5 $0.00082 $0.03031
Sonnet 5 $0.00033 $0.01213
Haiku 4.5 $0.00016 $0.00606

Measured 4d ago against content hash cfae82902e1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cut-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 4d 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.

skills/cut-release/SKILL.md · 318 lines

How it starts

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

/foundry:cut-release — the cut-release playbook

The FIRST foundry playbook (a guarded, looping skill — task-triggered, loop held by an EXIT GATE, floors orthogonal; see docs/TERMINOLOGY.md). It turns the release-cut procedure — which lived only as memory-prose and was hand-run ~6× (every recurring gotcha was that procedure failing) — into a self-contained, gated loop driven by scripts/foundry-cut-release.py.

Its EXIT GATE is the EXISTING acceptance verdict (foundry-release-acceptance.run_acceptance) — the only gate this script invokes; it reimplements no gate logic. The closure derivation (foundry_release.py) is upstream prep the operator runs before the cut, not invoked here. It adds no new floor and never runs git tag / git push — it emits the publish plan as data and the operator executes it.

Retired: the wiring-pin migrate. This loop once named a foundry-wiring-hash.py wiring-pin migrate step, re-checked transitively via DOCTOR-GREEN. That mechanism — scripts/foundry-wiring-hash.py, the .foundry/wiring-hash.pin file, and the doctor's wiring-hash check — was retired; the current foundry-doctor.py (a thin 5-check probe, skills/doctor/SKILL.md) carries no wiring-hash check to re-check. What carries the load today is the foundry-release-acceptance gate (run_acceptance) this loop's EXIT GATE already calls. See skills/release/SKILL.md's "Gate-wiring pin & manifest" tombstone for the fuller history.

The playbook shape (the standard template — see docs/TERMINOLOGY.md §6)

  • TRIGGER — the operator is cutting/shipping a release (description-matched; no global pointer).
  • ENGINEdeterministic-seam-drive: ordered prep-check → machine gate → emit plan.
  • EXIT GATEfoundry-release-acceptance.py run_acceptance(tree) == pass (the artifact-sha-bound verdict). The loop is NOT "done" until the gate is green; nothing reaches tag/push before that.
  • FLOORS TOUCHEDnone new. The orthogonal floors (front-authorization, the per-atom merge floor, the acceptance HARD-STOP) already fired upstream; cut-release only sequences and refuses-until-green. It never folds a floor into a step.

Read the full file on GitHub · 318 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. 4d ago First seen · 318 lines · 165 tokens per session scan A cfae82902e1a

Subscribe to this mod's changes

cut-release is a skill published in the GitHub repository lukasrepublic/agentic-foundry (1 stars, last pushed 3d ago), licensed MIT. It adds 165 tokens to every session and 6,063 once invoked, about $0.0008 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.