release

release is a command for Claude Code from nirelbaz/promptpit. It costs 0 tokens per session (245 once invoked), scanned A, original, MIT.

A workflow for publishing a new software version from the main Git branch. It creates a version tag, which is a named marker for a specific state of the code, and pushes it to the remote repository.

In plain words
What is it for?
Use it after merging a version bump to verify the branch and project, create the matching Git tag, and push that tag so release automation can run.
Why use it?
It prevents publishing when the branch, working tree, changelog, version, or required checks are not ready.

Command for Claude Code

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/nirelbaz/promptpit/release
Clone the repo
git clone --depth 1 https://github.com/nirelbaz/promptpit

Made for: Claude Code.

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/nirelbaz/promptpit/release.svg)](https://agentmods.dev/commands/nirelbaz/promptpit/release)
Your own site
<a href="https://agentmods.dev/commands/nirelbaz/promptpit/release"><img src="https://agentmods.dev/badge/commands/nirelbaz/promptpit/release.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 245 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.00000 $0.00245
Opus 5 $0.00000 $0.00122
Sonnet 5 $0.00000 $0.00049
Haiku 4.5 $0.00000 $0.00024

Measured 3d ago against content hash 02b0d295b54b, 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 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.

.claude/commands/release.md · 24 lines

What it actually says

Tag and publish the current main branch. Run this on main after merging a PR that includes a version bump.

Steps

  1. Ensure we're on main. If not, stop and tell the user to switch to main first.

  2. Ensure the working tree is clean. If there are uncommitted changes, stop.

  3. Read the current version from package.json.

  4. Check the tag doesn't already exist. Run git tag -l vX.Y.Z. If it exists, stop and tell the user this version is already released.

  5. Verify CHANGELOG has an entry for this version. If not, stop and tell the user to run /version on their branch first.

  6. Run all checks. Run npm test && npm run lint && npm run build. If anything fails, stop.

  7. Tag and push the tag:

    git tag vX.Y.Z
    git push origin vX.Y.Z
    
  8. Confirm. Tell the user the tag is pushed and CI will now publish to npm and create a GitHub Release. Link to the Actions tab.

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 First seen · 24 lines · 0 tokens per session scan A 02b0d295b54b

Subscribe to this mod's changes

release is a command published in the GitHub repository nirelbaz/promptpit (6 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 245 tokens. 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.