release

A command for preparing a software release by changing the version, updating release content, rebuilding the project, committing the changes, and opening a version-bump pull request.

In plain words
What is it for?
Use it when starting a release after choosing a version and describing the new capability.
Why use it?
It handles the agent’s preparation work while keeping tagging, signing, and publishing with the human operator.

Command

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 commands/coo1white/cool-workflow/release
Clone the repo
git clone --depth 1 https://github.com/coo1white/cool-workflow
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 406 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.00027 $0.00406
Opus 5 $0.00014 $0.00203
Sonnet 5 $0.00005 $0.00081
Haiku 4.5 $0.00003 $0.00041

Measured 2d ago against content hash a38f8e6b9e59, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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.

plugins/cool-workflow/commands/release.md · 37 lines

What it actually says

A release is TWO steps (see AGENTS.md's "Shipping a release" section). This command does ONLY step 1, the agent-prep half. Step 2 — running the gate, the independent reviewer, signing the verdict, creating the tag, and publishing — is the OPERATOR's own command, npm run release -- X.Y.Z, run in their own terminal where CW_RELEASE_VERDICT_PRIVKEY is set. Never run release-oneclick.js or release-flow.js --cut, and never create a tag by hand — those steps need the signing key, which an agent must never read or hold.

Both npm run commands below run with cwd plugins/cool-workflow/ (no root package.json).

Steps, in order — stop at the first failure:

  1. Ask the user (if not already given) for the target version X.Y.Z and a one-sentence description of the capability this release adds.

  2. Run npm run bump:version -- X.Y.Z --content to stamp every version surface and auto-fill content placeholders (docs, README).

  3. Run npm run sync:project-index -- --repo-only to regenerate the project index.

  4. Run a full clean rebuild (npm run build) and confirm it is clean.

  5. Commit the changes and open the version-bump PR onto main (branch name should describe the release, e.g. release/X.Y.Z).

Report: the PR link, the version, and the capability sentence. Then tell the user the PR needs to merge before they run npm run release -- X.Y.Z themselves to cut, sign, and publish the release — do not attempt that step in this session.

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 · 37 lines · 27 tokens per session scan A a38f8e6b9e59

Subscribe to this mod's changes

release is a command published in the GitHub repository coo1white/cool-workflow (2 stars, last pushed 6d ago), licensed BSD-2-Clause. It adds 27 tokens to every session and 406 once invoked, about $0.0001 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.