prepare-release

prepare-release is a skill for Claude Code, Codex, Cursor from numikel/kprun. It costs 41 tokens per session (1,112 once invoked), scanned A, original, MIT.

A release-preparation workflow for kprun, including changelog writing, Cargo version updates, and a commit.

In plain words
What is it for?
Use it to prepare a specified semantic-version release, review recent commits, group changes into a Keep a Changelog format, update Rust package versions, and commit the result.
Why use it?
It organizes the checks and file changes needed to prepare a software release from the commits since the previous version tag.

Skill for Claude CodeCodexCursor

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/numikel/kprun/prepare-release
Any agent
npx skills add numikel/kprun --skill prepare-release
Clone the repo
git clone --depth 1 https://github.com/numikel/kprun

Made for: Claude Code, Codex, Cursor.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/numikel/kprun/prepare-release.svg)](https://agentmods.dev/skills/numikel/kprun/prepare-release)
Your own site
<a href="https://agentmods.dev/skills/numikel/kprun/prepare-release"><img src="https://agentmods.dev/badge/skills/numikel/kprun/prepare-release.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,112 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.00041 $0.01112
Opus 5 $0.00020 $0.00556
Sonnet 5 $0.00008 $0.00222
Haiku 4.5 $0.00004 $0.00111

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

Security

Grade A, and why

prepare-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.

.cursor/skills/prepare-release/SKILL.md · 125 lines

How it starts

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

Prepare release

Prepare a kprun release locally. No LLM calls in CI — all changelog writing happens here in the IDE.

Invocation

User runs /prepare-release X.Y.Z where X.Y.Z is semver without the v prefix (e.g. 0.2.0).

Mandatory checklist (follow in order)

1. Resolve commit range

git fetch --tags
PREV=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
if [ -z "$PREV" ]; then
  RANGE="first commit..HEAD"
else
  RANGE="${PREV}..HEAD"
fi
git log $RANGE --oneline
git log $RANGE --format="%s"

If range is empty (no commits since last tag), stop and ask the user to confirm before writing an empty changelog.

2. Classify commits

Group git log subjects by Conventional Commits type:

Type Keep a Changelog section
feat Added
fix Fixed
perf Changed
refactor Changed
docs Changed (or omit if internal-only)
ci, build, chore omit unless user-facing
feat!, fix!, footer BREAKING CHANGE: Changed + breaking note

Write user-facing bullets in English. No raw SHAs in bullet text. Optional <details> footer with full commit list.

3. Write per-version file

Create docs/changelogs/vX.Y.Z.md:

  • Format: Keep a Changelog 1.1.0
  • Title/header includes version and date (UTC: YYYY-MM-DD from date -u +%Y-%m-%d)
  • Sections (omit empty): Added, Changed, Deprecated, Removed, Fixed, Security
  • Reference prior file docs/changelogs/v0.1.0.md for tone and structure

4. Update root CHANGELOG.md

Prepend a new section at the top (after the intro paragraphs):

## [X.Y.Z] - YYYY-MM-DD

See [docs/changelogs/vX.Y.Z.md](docs/changelogs/vX.Y.Z.md) for details.

### Added
- (short summary bullets)

Keep root entries as summaries; full detail stays in per-version file.

5. Version bump

Update all three locations to X.Y.Z:

  1. [workspace.package].version in root Cargo.toml
  2. crates/kprun/Cargo.toml — uses version.workspace = true (verify, do not duplicate)
  3. crates/kprun-core/Cargo.toml — uses version.workspace = true (verify)

Read the full file on GitHub · 125 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 · 125 lines · 41 tokens per session scan A 0f2bec9967a6

Subscribe to this mod's changes

prepare-release is a skill published in the GitHub repository numikel/kprun (9 stars, last pushed 4d ago), licensed MIT. It adds 41 tokens to every session and 1,112 once invoked, about $0.0002 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

lade

Use Lade safely with coding agents. Use when a project has lade.yml, commands need secrets or temporary network access, or the user mentions Lade, LADE, phonetic spellings like AD/AID/LAID, hooks, lade inject, preToolUse, or agent secret handling.

zifeo/lade · 60 tokens

lade-release

Prepare a Lade release: update CHANGELOG.md and bump crate versions with cargo set-version. Use when cutting a release, tagging vX.Y.Z, publishing to GitHub Releases, or finalizing the changelog before a version bump.

zifeo/lade · 50 tokens

configuration-management

Manage application configuration across environments with layered config loading, environment variables, secrets management, and validation. Covers 12-factor app patterns and config file formats. Triggers on configuration management, environment variables, or settings architecture requests.

organvm-iv-taxis/a-i--skills · 47 tokens

full

A demonstration of the structcli library with beautiful CLI features. Use when you need to: display logs for a service, optionally streaming with --follow, demonstrate that flagpreset aliases are syntactic sugar and still flow through transform and validate, start the server with the specified configuration, print…

leodido/structcli · 73 tokens

release

Release a new version of structcli. Use when asked to release, cut a release, bump the version, or prepare a new tag. Triggers on "release", "cut a release", "new version", "tag and release", "prepare release".

leodido/structcli · 54 tokens

envskill

Use when a command needs API keys or environment secrets. Inject only named variables through envskill without reading or printing values.

buhaistrikalo/envskill · 27 tokens