version-bump

version-bump is a skill for Claude Code, Codex from agentculture/agenda. It costs 76 tokens per session (668 once invoked), scanned A, a copy of version-bump, MIT.

A release script that updates a Python project's version in pyproject.toml and adds an entry to CHANGELOG.md. A changelog is a record of notable additions, changes, and fixes.

In plain words
What is it for?
Use it before a release or pull request to make a major, minor, or patch version bump, add release notes, or display the current version without changing files.
Why use it?
It keeps the version number and release notes aligned, including projects whose merge checks require a version update.

Skill for Claude CodeCodex

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/agentculture/agenda/version-bump
Any agent
npx skills add agentculture/agenda --skill version-bump
Clone the repo
git clone --depth 1 https://github.com/agentculture/agenda

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 version-bump

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentculture/agenda/version-bump.svg)](https://agentmods.dev/skills/agentculture/agenda/version-bump)
Your own site
<a href="https://agentmods.dev/skills/agentculture/agenda/version-bump"><img src="https://agentmods.dev/badge/skills/agentculture/agenda/version-bump.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 668 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% 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.1 $0.00076 $0.00668
Opus 5 $0.00038 $0.00334
Sonnet 5 $0.00015 $0.00134
Haiku 4.5 $0.00008 $0.00067

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

Security

Grade A, and why

version-bump 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/bump.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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

100% identical to version-bump — 0 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/skills/version-bump/SKILL.md · 68 lines

How it starts

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

Version Bump

Bump the semver version in pyproject.toml and prepend a new entry to CHANGELOG.md. Mirrors the AgentCulture workflow used by culture, afi-cli, cfafi, and other org repos; vendored here so the repo is self-contained.

Usage

Run from the repo root.

# With changelog content (pipe JSON via stdin):
echo '{"added":["New X"],"changed":["Refactored Y"],"fixed":["Bug in Z"]}' \
  | python3 .claude/skills/version-bump/scripts/bump.py minor

# Without changelog content (inserts empty ### Added/Changed/Fixed stubs):
python3 .claude/skills/version-bump/scripts/bump.py patch

# Check current version without bumping:
python3 .claude/skills/version-bump/scripts/bump.py show

Bump Types

Type Example When to use
major 0.1.0 → 1.0.0 Breaking changes, namespace restructures, CLI surface breaks
minor 0.1.0 → 0.2.0 New features, new commands, new modules
patch 0.1.0 → 0.1.1 Bug fixes, doc updates, dependency bumps, CI-only changes
show prints 0.1.0 Read-only — no files changed

Changelog JSON Format

Pass via stdin. All fields are optional — only non-empty sections are rendered.

{
  "added":   ["List of new features"],
  "changed": ["List of changes to existing functionality"],
  "fixed":   ["List of bug fixes"]
}

What it touches

  • pyproject.toml — the version = "x.y.z" field (single source of truth; steward/__init__.py reads it via importlib.metadata, so there's no separate __version__ literal to keep in sync).
  • CHANGELOG.md — inserts a new ## [x.y.z] - YYYY-MM-DD entry at the top.

The script does the rest. Pick a bump type from the diff (patch for fixes, minor for new features, major for breaking changes), summarize the diff into added / changed / fixed lists, pipe as JSON, and commit the resulting pyproject.toml + CHANGELOG.md alongside the code change so the version-check CI job sees a consistent bump.

Read the full file on GitHub · 68 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. 5d ago First seen · 68 lines · 76 tokens per session scan A 7a5af91e2626

Subscribe to this mod's changes

version-bump is a skill published in the GitHub repository agentculture/agenda (2 stars, last pushed 1mo ago), licensed MIT. It adds 76 tokens to every session and 668 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to version-bump, differing in 0 lines, and is treated as a copy.