increment-plugin-version

increment-plugin-version is a command for Claude Code from stellarshenson/claude-code-plugins. It costs 0 tokens per session (494 once invoked), scanned A, original, MIT.

A command that increases the patch version number for every plugin in a marketplace. A patch version normally marks a small update that should not change the main feature set.

In plain words
What is it for?
Use it for a plugin-only version bump outside a full release; it does not change the library's PyPI version.
Why use it?
It keeps plugin version numbers consistent without manually editing each marketplace and plugin manifest.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions .claude-plugin.

Good fit Use it for a plugin-only version bump outside a full release; it does not change the library's PyPI version.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/stellarshenson/claude-code-plugins/increment-plugin-version
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.

Clone the repo
git clone --depth 1 https://github.com/stellarshenson/claude-code-plugins

Made for: Claude Code.

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 increment-plugin-version

README.md
[![agentmods](https://agentmods.dev/badge/commands/stellarshenson/claude-code-plugins/increment-plugin-version/github.svg)](https://agentmods.dev/commands/stellarshenson/claude-code-plugins/increment-plugin-version)
Your own site
<a href="https://agentmods.dev/commands/stellarshenson/claude-code-plugins/increment-plugin-version"><img src="https://agentmods.dev/badge/commands/stellarshenson/claude-code-plugins/increment-plugin-version/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 increment-plugin-version

Your own site · 80×15
<a href="https://agentmods.dev/commands/stellarshenson/claude-code-plugins/increment-plugin-version"><img src="https://agentmods.dev/badge/commands/stellarshenson/claude-code-plugins/increment-plugin-version.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 494 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00000 $0.00494
Opus 5.5 $0.00000 $0.00198
Sonnet 5.5 $0.00000 $0.00099
Haiku 4.5 $0.00000 $0.00049

Measured 1mo ago against content hash 5cfec9a7c5bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

increment-plugin-version 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 1mo 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/increment-plugin-version.md · 37 lines

What it actually says

Increment Plugin Versions

Bump the patch version of every plugin in this marketplace. Does NOT touch pyproject.toml - the PyPI version is managed by make publish, and a release syncs the plugins to it. Use this only for a plugin-only bump outside a release; /release does its own sync.

What to update

22 version strings across 15 files, all set to the same number:

  • plugins/*/.claude-plugin/plugin.json - one "version" per plugin
  • plugins/*/kimi.plugin.json - one "version" per plugin, the Kimi manifests
  • .claude-plugin/marketplace.json - metadata.version plus the "version" in each plugin entry

Do not hand-count. Derive the set from the tree, so a plugin added later is picked up on its own:

PREV=<current version>; NEW=<PREV with PATCH incremented>
grep -rl "\"$PREV\"" --include=*.json . | grep -v node_modules | xargs sed -i "s/\"$PREV\"/\"$NEW\"/g"
grep -rn "\"$NEW\"" --include=*.json . | grep -v node_modules | wc -l   # expect 22
grep -rn "\"$PREV\"" --include=*.json . | grep -v node_modules | wc -l  # expect 0

Never bump kimi-marketplace.json's top-level "version": "2" - that is the Kimi marketplace SCHEMA version, not a plugin version. Matching on $PREV rather than on every "version" key is what keeps the sweep off it.

Steps

  1. Read the current version from .claude-plugin/marketplace.json metadata.version
  2. Parse as semver and increment PATCH
  3. Run the sweep above; confirm the two counts, 22 new and 0 stale
  4. Report: Plugin versions bumped: X.Y.Z -> X.Y.(Z+1)

Rules

  • All plugin versions stay in sync - one number across every file
  • Only bump PATCH unless the user explicitly asks for MINOR or MAJOR
  • Do NOT touch pyproject.toml - make publish owns the library version
  • Do NOT commit - update the files and report
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. 1mo ago First seen · 37 lines · 0 tokens per session scan A 5cfec9a7c5bd

Subscribe to this mod's changes

increment-plugin-version is a command published in the GitHub repository stellarshenson/claude-code-plugins (4 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 494 tokens. 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.