version-bump

A command for changing a plugin's version number consistently across its manifest, README badge, marketplace entry, and changelog. It checks that the new version uses the common three-part format such as 1.2.3.

In plain words
What is it for?
Use it when releasing a plugin update and changing its version in plugin.json, README.md, marketplace.json, and CHANGELOG.md.
Why use it?
It prevents different files from showing different versions after a release. It also notes when an expected file is missing instead of assuming it exists.

Command for Claude Code

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 commands/reggiechan74/cc-plugins/version-bump
Clone the repo
git clone --depth 1 https://github.com/reggiechan74/cc-plugins

Made for: Claude Code.

Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 751 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.00019 $0.00751
Opus 5 $0.00010 $0.00376
Sonnet 5 $0.00004 $0.00150
Haiku 4.5 $0.00002 $0.00075

Measured 2d ago against content hash 83028993a99e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

.claude/commands/version-bump.md · 93 lines

How it starts

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

Version Bump

Bump a plugin's version consistently across all files that reference it.

Arguments received: $ARGUMENTS

Instructions

Step 1: Parse Arguments

Extract <plugin-name> and <new-version> from the arguments.

  • If no arguments provided, ask: "Which plugin and what version? (e.g., math-paper-creator 0.5.0)"
  • If only plugin name provided, read current version from its plugin.json and suggest the next minor bump. Ask user to confirm or specify a different version.
  • Validate the version follows semver (X.Y.Z).

Step 2: Locate Files

Find all files that need updating for the given plugin:

  1. Plugin manifest: <plugin-dir>/.claude-plugin/plugin.json — the "version" field
  2. README badge: <plugin-dir>/README.md — the shields.io version badge between <!-- badges-start --> and <!-- badges-end -->
  3. Marketplace registry: .claude-plugin/marketplace.json — the "version" field for this plugin's entry
  4. Changelog: <plugin-dir>/CHANGELOG.md — add a new ## [X.Y.Z] - YYYY-MM-DD section

If any file doesn't exist, note it and skip (e.g., some plugins may not have a CHANGELOG).

Step 3: Read Current State

Read each file and verify the current version. Report:

Current version: X.Y.Z
New version: A.B.C

Files to update:
  - <plugin-dir>/.claude-plugin/plugin.json
  - <plugin-dir>/README.md (badge)
  - .claude-plugin/marketplace.json
  - <plugin-dir>/CHANGELOG.md

Step 4: Update Versions

Update each file:

  1. plugin.json: Change "version": "X.Y.Z" to "version": "A.B.C"
  2. README.md: Change version-X.Y.Z-blue to version-A.B.C-blue in the badge URL
  3. marketplace.json: Change the version for this plugin's entry only (match by plugin name)
  4. CHANGELOG.md: If it exists, insert a new section at the top (after the header):
    ## [A.B.C] - YYYY-MM-DD
    
    ### Added
    -
    
    ### Changed
    -
    
    Leave the entries as placeholders for the user to fill in. If the user provided changelog notes in the arguments or conversation, populate them.

Read the full file on GitHub · 93 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. 2d ago First seen · 93 lines · 19 tokens per session scan A 83028993a99e

Subscribe to this mod's changes

version-bump is a command published in the GitHub repository reggiechan74/cc-plugins (6 stars, last pushed 3mo ago), licensed MIT. It adds 19 tokens to every session and 751 once invoked, about $0.0001 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.