release-tag

release-tag is a command for Claude Code from existential-birds/amelia. It costs 11 tokens per session (690 once invoked), scanned A, a copy of release-tag, Apache-2.0.

A command for creating and pushing a version tag after a software release pull request has been merged. A version tag marks a specific release in Git.

In plain words
What is it for?
Use it after a merged release pull request to verify the main branch, check version files and the changelog, and publish the tag.
Why use it?
It checks that the repository is ready, that version numbers and release notes agree, and that required release steps are complete before tagging.

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/existential-birds/amelia/release-tag
Clone the repo
git clone --depth 1 https://github.com/existential-birds/amelia

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-tag

README.md
[![agentmods](https://agentmods.dev/badge/commands/existential-birds/amelia/release-tag.svg)](https://agentmods.dev/commands/existential-birds/amelia/release-tag)
Your own site
<a href="https://agentmods.dev/commands/existential-birds/amelia/release-tag"><img src="https://agentmods.dev/badge/commands/existential-birds/amelia/release-tag.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 690 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 88% 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 $0.00011 $0.00690
Opus 5 $0.00005 $0.00345
Sonnet 5 $0.00002 $0.00138
Haiku 4.5 $0.00001 $0.00069

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

Security

Grade A, and why

release-tag 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.

Origin

This is a copy

88% identical to release-tag — 45 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-tag.md · 106 lines

How it starts

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

Release Tag

Create and push a version tag after a release PR has been merged.

Input: Version number (e.g., 0.2.1) - the v prefix is optional

$ARGUMENTS

Prerequisites

Verify the release PR is merged and we're ready to tag:

# Ensure we're on main with latest changes
git checkout main
git pull

# Extract version from input (strip 'v' prefix if present)
VERSION="${ARGUMENTS#v}"

# Verify all version files match (exit on first mismatch)
echo "Checking version consistency..."
grep -q "^version = \"${VERSION}\"" pyproject.toml || { echo "ERROR: pyproject.toml version mismatch"; exit 1; }
grep -q "__version__ = \"${VERSION}\"" amelia/__init__.py || { echo "ERROR: amelia/__init__.py version mismatch"; exit 1; }
grep -q "\"version\": \"${VERSION}\"" dashboard/package.json || { echo "ERROR: dashboard/package.json version mismatch"; exit 1; }
echo "All versions match: ${VERSION}"

If any version doesn't match, the script aborts with an error. All version files must be in sync before tagging.

Step 1: Verify CHANGELOG Entry

Confirm the version has a changelog entry:

grep "## \[${VERSION}\]" CHANGELOG.md

If no entry exists, abort - the release PR may not have been merged.

Step 2: Check Tag Doesn't Exist

git tag -l "v${VERSION}"

If the tag already exists, inform the user and ask if they want to view the release instead.

Step 3: Create Annotated Tag

Generate a brief summary from the CHANGELOG for the tag message:

# Extract the first category and its first item from this version's section
SUMMARY=$(sed -n "/## \[${VERSION}\]/,/## \[/p" CHANGELOG.md | grep "^- " | head -1 | sed 's/^- //')

Create the tag:

git tag -a "v${VERSION}" -m "Release v${VERSION} - ${SUMMARY}"

Step 4: Push Tag

git push origin "v${VERSION}"

Step 5: Confirm Release

After pushing, the GitHub Action will create the release. Provide the release URL:

# Get repo URL
REPO_URL=$(gh repo view --json url --jq '.url')
echo "Release will be available at: ${REPO_URL}/releases/tag/v${VERSION}"

Read the full file on GitHub · 106 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 · 106 lines · 11 tokens per session scan A f4d28d327d4f

Subscribe to this mod's changes

release-tag is a command published in the GitHub repository existential-birds/amelia (21 stars, last pushed 24d ago), licensed Apache-2.0. It adds 11 tokens to every session and 690 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to release-tag, differing in 45 lines, and is treated as a copy.