release-automation

release-automation is a skill for Claude Code from sbom-tool/gh-guard. It costs 19 tokens per session (1,497 once invoked), scanned C, original, MIT.

A release process for Rust crates that uses a pull request before publishing. It supports signed version tags, branch protection rules, local checks, and waiting for GitHub Actions checks.

In plain words
What is it for?
Use it to run release checks, create a version branch, update Cargo.toml, open and monitor a pull request, merge it, and publish after CI succeeds.
Why use it?
It makes releases go through the same review and automated checks as other code changes. This reduces mistakes when changing versions and publishing packages.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the gh-guard plugin — 14 skills, 5 commands shipped together

Good fit Use it to run release checks, create a version branch, update Cargo.toml, open and monitor a pull request, merge it, and publish after CI succeeds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sbom-tool/gh-guard/release-automation
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.

Any agent
npx skills add sbom-tool/gh-guard --skill release-automation
Clone the repo
git clone --depth 1 https://github.com/sbom-tool/gh-guard

Made for: Claude Code.

Or install gh-guard, the plugin that ships this one along with the rest of its 14 skills, 5 commands.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/sbom-tool/gh-guard/release-automation/github.svg)](https://agentmods.dev/skills/sbom-tool/gh-guard/release-automation)
Your own site
<a href="https://agentmods.dev/skills/sbom-tool/gh-guard/release-automation"><img src="https://agentmods.dev/badge/skills/sbom-tool/gh-guard/release-automation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for release-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/sbom-tool/gh-guard/release-automation"><img src="https://agentmods.dev/badge/skills/sbom-tool/gh-guard/release-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,497 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00019 $0.01497
Opus 5 $0.00010 $0.00749
Sonnet 5 $0.00004 $0.00299
Haiku 4.5 $0.00002 $0.00150

Measured 9d ago against content hash 116884352336, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

release-automation scanned grade C with 1 finding 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 9d 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

git config --global user.signingkey ~/.ssh/id_ed25519.pub
skills/release-automation/SKILL.md · 171 lines

How it starts

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

Release Automation for Rust Crates

This skill covers a PR-based release flow that works with branch protection rules, signed tags, and CI-triggered publishing.

Release Flow

Developer                    GitHub                         crates.io
   │                           │                               │
   ├─ scripts/release.sh 0.2.0 │                               │
   │                           │                               │
   ├─ Local checks (deny,      │                               │
   │   test, clippy, dry-run)  │                               │
   │                           │                               │
   ├─ Create release/v0.2.0 ──→│                               │
   ├─ Bump Cargo.toml ────────→│                               │
   ├─ Push branch ────────────→│                               │
   ├─ gh pr create ───────────→│── CI runs on PR               │
   │                           │                               │
   ├─ Poll for checks start    │                               │
   ├─ gh pr checks --watch ───→│── Waits for CI                │
   │                           │                               │
   ├─ gh pr merge ────────────→│── Squash merge                │
   ├─ git pull origin main     │                               │
   ├─ git tag -s v0.2.0 ──────→│                               │
   ├─ git push origin v0.2.0 ─→│── Tag push triggers:          │
   │                           │   1. publish (crates.io) ────→│
   │                           │   2. provenance (SLSA L3)     │
   │                           │   3. release (GitHub)         │
   │                           │                               │

Pre-flight Checks

The release script verifies before doing anything:

  1. Version format — Must be valid semver X.Y.Z
  2. Signing keygit config user.signingkey must be set
  3. Clean working tree — No uncommitted changes
  4. On main branch — Must be on main
  5. Up to date — Local HEAD matches origin/main
  6. Version not already setCargo.toml version differs from target
  7. Tag doesn't existv${VERSION} tag not already present

Read the full file on GitHub · 171 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. 9d ago First seen · 171 lines · 19 tokens per session scan C 116884352336

Subscribe to this mod's changes

release-automation is a skill published in the GitHub repository sbom-tool/gh-guard (15 stars, last pushed 5mo ago), licensed MIT. It adds 19 tokens to every session and 1,497 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

github-release-management

Comprehensive GitHub release orchestration with AI swarm coordination for automated versioning, testing, deployment, and rollback management.

ruvnet/RuView · 27 tokens

releasepr

Adopt, configure, run, or troubleshoot compozy/releasepr in a consuming repository, including Actions, beta/stable/legacy plans, notes, dry-runs, and publication. Excludes pr-release internals and general versioning advice.

compozy/compozy · 53 tokens

gitlab-devops

GitLab DevOps operations — issues, merge requests, CI/CD pipelines, repository browsing, labels, milestones, releases, and wiki management. Use when querying GitLab project status, monitoring pipeline executions, browsing repository files, creating issues for network findings, opening merge requests for config…

automateyournetwork/netclaw · 67 tokens

seed-snapshot-release

An automated workflow for creating and tracking a snapshot release of the pull request on the current branch. A snapshot release is a temporary package build used for testing a branch before a normal release.

daangn/seed-design · 19 tokens

release-engineering

Plan and verify software releases with versioning, changelogs, release branches, feature flags, canaries, migration gates, rollback, deployment checks, and release readiness. Use when preparing a release, shipping a risky PR, coordinating app/backend/database rollout, recovering from a bad deploy, or defining release…

majiayu000/spellbook · 69 tokens

cmux-release

Prefer the /release command. It determines the new version (minor by default), gathers commits since the last tag, updates CHANGELOG.md, runs ./scripts/bump-version.sh, commits, runs ./scripts/release-pretag-guard.sh, then tags and pushes.

manaflow-ai/cmux · 39 tokens