release

release is a command for Claude Code from bybren-llc/a-safe-pulse. It costs 22 tokens per session (1,850 once invoked), scanned A, a copy of release, MIT.

A release command that carries out a software version release, including merging pull requests, updating the version, creating a Git tag and GitHub Release, syncing branches, and cleaning up.

In plain words
What is it for?
Use it to validate the repository, check open pull requests and CI results, and publish a new version from the required branch.
Why use it?
It replaces a long sequence of release steps that can otherwise be missed or performed in the wrong order.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

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/bybren-llc/a-safe-pulse/release
Clone the repo
git clone --depth 1 https://github.com/bybren-llc/a-safe-pulse

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/bybren-llc/a-safe-pulse/release.svg)](https://agentmods.dev/commands/bybren-llc/a-safe-pulse/release)
Your own site
<a href="https://agentmods.dev/commands/bybren-llc/a-safe-pulse/release"><img src="https://agentmods.dev/badge/commands/bybren-llc/a-safe-pulse/release.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,850 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 86% copy Near-identical to another mod 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.00022 $0.01850
Opus 5 $0.00011 $0.00925
Sonnet 5 $0.00004 $0.00370
Haiku 4.5 $0.00002 $0.00185

Measured yesterday against content hash 9c9b1834edc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 yesterday.

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.

Origin

This is a copy

86% identical to release — 40 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/release.md · 277 lines

How it starts

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

📋 TEMPLATE: This command uses dev, ASP, and bybren-llc/{{GITHUB_REPO}} placeholders. Replace with your project values.

You are executing a full version release. Follow each phase in order. Do not skip phases. Report status after each.

Input

The user provides a version number (e.g., v2.7.0). If not provided, determine the next version by:

git tag -l 'v*' | sort -V | tail -1

Then bump the minor version (or ask the user for major/minor/patch).


Phase 1: Pre-Release Validation

1.1 Verify Clean State

git status                    # Must be clean
git branch --show-current     # Must be on dev
git fetch origin
git log --oneline origin/dev..HEAD  # Must be empty (in sync)

BLOCKER: Working tree must be clean and branch must be current with remote.

1.2 Check Open PRs

gh pr list --state open

Decision point: If there are open PRs intended for this release, merge them first (Phase 2). If none, skip to Phase 3.

1.3 Verify CI Status

For each open PR to merge:

gh pr view <NUMBER> --json mergeStateStatus,statusCheckRollup \
  --jq '{state: .mergeStateStatus, checks: [.statusCheckRollup[] | "\(.name): \(.conclusion // .status)"]}'

BLOCKER: All checks must pass. Do not merge PRs with failing required checks.


Phase 2: Merge Open PRs (if any)

2.1 Merge in Dependency Order

For each PR (merge in order — base dependencies first):

# Squash merge with proper commit message
gh pr merge <NUMBER> --squash --subject "type(scope): description [ASP-XXX]"

2.2 Rebase Dependent PRs

After each merge, rebase any remaining PRs that target the same base:

git fetch origin
git checkout <dependent-branch>
git rebase origin/dev
git push --force-with-lease origin <dependent-branch>

Wait for CI to re-run before merging the next PR.

2.3 Sync Local After All Merges

git checkout dev
git pull origin dev

Phase 3: Version Bump

Read the full file on GitHub · 277 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. yesterday First seen · 277 lines · 22 tokens per session scan A 9c9b1834edc9

Subscribe to this mod's changes

release is a command published in the GitHub repository bybren-llc/a-safe-pulse (9 stars, last pushed 5mo ago), licensed MIT. It adds 22 tokens to every session and 1,850 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to release, differing in 40 lines, and is treated as a copy.