git-release

git-release is a skill for Claude Code, Codex from mgiovani/cc-arsenal. It costs 134 tokens per session (3,270 once invoked), scanned A, original, MIT.

A release workflow that creates semantic-version releases from actual Git commits, updates version files, generates a changelog, adds a Git tag, and can publish a GitHub release. Semantic versioning uses version changes to signal the size of an update.

In plain words
What is it for?
Use it to prepare releases for projects using files such as package.json, pyproject.toml, or Cargo.toml, then review and approve the release before publishing.
Why use it?
It reduces release mistakes by checking the repository state, matching the version change to the work, and ensuring changelog entries come from real commits.

Skill for Claude CodeCodex

Part of the cc-arsenal plugin — 53 skills 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/mgiovani/cc-arsenal/git-release
Any agent
npx skills add mgiovani/cc-arsenal --skill git-release
Clone the repo
git clone --depth 1 https://github.com/mgiovani/cc-arsenal

Made for: Claude Code, Codex.

Or install cc-arsenal, the plugin that ships this one along with the rest of its 53 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mgiovani/cc-arsenal/git-release.svg)](https://agentmods.dev/skills/mgiovani/cc-arsenal/git-release)
Your own site
<a href="https://agentmods.dev/skills/mgiovani/cc-arsenal/git-release"><img src="https://agentmods.dev/badge/skills/mgiovani/cc-arsenal/git-release.svg" alt="Measured on agentmods" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,270 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.00134 $0.03270
Opus 5 $0.00067 $0.01635
Sonnet 5 $0.00027 $0.00654
Haiku 4.5 $0.00013 $0.00327

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

Security

Grade A, and why

git-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/git-release/SKILL.md · 311 lines

How it starts

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

Release Manager

Create semantic version releases with automated changelog generation from conventional commits, version file updates, and GitHub release publishing.

Quality Guidelines

Release operations are high-consequence and irreversible once pushed:

  1. Verify every change: analyze actual commits, not assumptions
  2. Confirm version bump: the detected semver bump must match the change scope
  3. Validate changelog: every entry must correspond to a real commit
  4. User approval required: confirm before executing anything in Phase 5

Workflow

Phase 1: Collect Commits Since Last Tag

  1. Find the latest tag:
git describe --tags --abbrev=0 2>/dev/null || echo "none"
  • If no tags exist, collect all commits on the current branch
  • If a tag exists, collect commits since that tag
  1. Collect commits:
# With existing tag
git log <last-tag>..HEAD --format="%H %s" --no-merges

# Without existing tag (first release)
git log --format="%H %s" --no-merges
  1. Validate preconditions:
  • Working tree is clean: git status --porcelain
  • On the expected branch (main/master or release branch)
  • Remote is up to date: git fetch origin && git log HEAD..origin/$(git branch --show-current) --oneline
  • If there are no commits since the last tag, abort with a clear message

Phase 2: Auto-Detect Version Bump

  1. Parse each commit using conventional commit format:
  • Extract type: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
  • Extract scope (optional): text in parentheses after type
  • Detect breaking changes: ! after type/scope OR BREAKING CHANGE: in commit body
  • For non-conventional commits, classify as other

This is plain regex/string parsing over commit subjects, do it inline regardless of commit count, no agent needed.

  1. Determine version bump: load references/semver-guide.md for the full commit-type → bump mapping and pre-1.0 rules. The highest-priority bump wins (major > minor > patch).

Read the full file on GitHub · 311 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 311 lines · 134 tokens per session scan A 914a841bc097

Subscribe to this mod's changes

git-release is a skill published in the GitHub repository mgiovani/cc-arsenal (7 stars, last pushed 4d ago), licensed MIT. It adds 134 tokens to every session and 3,270 once invoked, about $0.0007 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.

Related

Other skills, from other repositories