release-rust

release-rust is a skill for Claude Code, Codex from d-oit/rust-2026-template. It costs 68 tokens per session (1,591 once invoked), scanned C, original, MIT.

A release workflow for Rust projects, the programming language, that checks the code, updates its version, creates a Git tag, and publishes a GitHub Release through CI.

In plain words
What is it for?
Use it to release a Rust project, publish a package to crates.io (Rust’s package registry), bump the version, update release notes, and tag the code.
Why use it?
It keeps the steps for preparing a new version in one repeatable process and checks common release requirements before publishing. CI means automated checks run by the project service.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/bump-version.sh # dry-run: print planned changes.

Good fit Use it to release a Rust project, publish a package to crates.io (Rust’s package registry), bump the version, update release notes, and tag the code.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/d-oit/rust-2026-template
agentmods
npx agentmods add skills/d-oit/rust-2026-template/release-rust

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/d-oit/rust-2026-template/release-rust/github.svg)](https://agentmods.dev/skills/d-oit/rust-2026-template/release-rust)
Your own site
<a href="https://agentmods.dev/skills/d-oit/rust-2026-template/release-rust"><img src="https://agentmods.dev/badge/skills/d-oit/rust-2026-template/release-rust/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-rust

Your own site · 80×15
<a href="https://agentmods.dev/skills/d-oit/rust-2026-template/release-rust"><img src="https://agentmods.dev/badge/skills/d-oit/rust-2026-template/release-rust.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,591 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. 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.00068 $0.01591
Opus 5.5 $0.00027 $0.00636
Sonnet 5.5 $0.00014 $0.00318
Haiku 4.5 $0.00007 $0.00159

Measured 16d ago against content hash 48359a72577e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

release-rust scanned grade C with 2 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 16d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s https://crates.io/api/v1/crates/<your-crate-name> | python3 -m json.tool | grep '"name"'

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s https://crates.io/api/v1/crates/<your-crate-name> | python3 -m json.tool | grep '"name"'
.agents/skills/release-rust/SKILL.md · 179 lines

How it starts

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

Skill: release-rust

Purpose

Create and publish a new release of the Rust project.

Prerequisites

  • All CI checks pass on main
  • CHANGELOG.md updated
  • cargo-dist installed

Steps

0. Verify crate name availability on crates.io (FIRST TIME PUBLISH ONLY)

Before the very first publish, confirm the crate name is not already taken:

# Check via cargo search
cargo search <your-crate-name>

# Or via API (404 = available, 200 = taken)
curl -s https://crates.io/api/v1/crates/<your-crate-name> | python3 -m json.tool | grep '"name"'

# Or open in browser: https://crates.io/crates/<your-crate-name>

See .agents/skills/crates-io-name-check/SKILL.md for full naming guidance and best practices.

Do not proceed with publishing if the name is taken — choose a unique name first.

1. Pre-release checks

cargo fmt --all -- --check
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo nextest run --all-features
cargo audit && cargo deny check

2. Bump the workspace version

./scripts/bump-version.sh            # dry-run: print planned changes
./scripts/bump-version.sh --execute  # update VERSION, manifests, README, CHANGELOG

3. Commit and tag

git add Cargo.toml Cargo.lock CHANGELOG.md
git commit -m "chore: release vX.Y.Z"
git tag -a vX.Y.Z -m "Release vX.Y.Z"
git push origin main --tags

4. GitHub Release via CI

Pushing a tag triggers .github/workflows/release.yml:

  • Release Preflight: Verifies that the tag matches v$(cat VERSION), checks that the release does not already exist, and asserts manifest consistency.
  • Release Gates: Runs release-tier quality checks.
  • Changelog: Generated using git-cliff as the canonical source of truth for release notes.
  • Dist Build: Builds binaries for all targets via cargo-dist with CycloneDX SBOM and cargo-auditable.
  • Attestations: Generates signed GitHub build provenance attestations for all release artifacts.
  • Creates GitHub Release: Publishes the release with assets.
  • Publishes crates.io packages: Runs only for the explicit allowlist in config/trusted-publishing.json, using rust-lang/crates-io-auth-action under the release environment. See Trusted Publishing.

Read the full file on GitHub · 179 lines

Files

What ships with it

1 file 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. 16d ago Changed · +41 lines 48359a72577e
  2. 2mo ago Changed · -3 lines 55868d15d541
  3. 2mo ago Changed · +10 lines e291b99043b4
  4. 2mo ago Changed · +2 lines 03949596dde2
  5. 3mo ago First seen · 129 lines · 68 tokens per session scan C 4a3c1bb16877

Subscribe to this mod's changes

release-rust is a skill published in the GitHub repository d-oit/rust-2026-template (15 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 1,591 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

release-rust compared with skills from other repositories

release-rust next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
release-rustd-oit/rust-2026-templateSkill15yesterdayMITC68Claude Code, Codex
update-v8-versionopeninterpreter/openinterpreterSkill69k2d agoApache-2.0A86Codex
releaseyologdev/yoyo-evolveSkill1.9ktodayMITA9Claude Code, Codex
setup-rust-pre-commitrewrite-rs/skillsSkill339d agoBSD-3-ClauseA35Claude Code, Codex
vigilante-issue-implementation-on-rustaliengiraffe/vigilanteSkill4213d agoApache-2.0A41Codex
cargo-publishSocketDev/sauceSkill325d agoMITA59Claude Code
cargo-releasebobmatnyc/claude-mpm-skillsSkill794mo agoMITA45Claude Code