cpv-bump-version

cpv-bump-version is a skill for Claude Code, Codex from Emasoft/claude-plugins-validation. It costs 67 tokens per session (979 once invoked), scanned A, original, MIT.

A release workflow that increases a plugin’s version and publishes it. It updates the version and release documentation, runs quality gates, then commits, tags, pushes, and creates a GitHub release.

In plain words
What is it for?
Use it for a patch, minor, or major plugin release after previewing the changes with a dry run and confirming the working tree and GitHub access are ready.
Why use it?
Publishing involves several version files and release records, and missing one can leave the repository inconsistent. This workflow keeps those updates together and prevents publishing when a required gate fails.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the claude-plugins-validation plugin — 52 skills, 14 commands, 14 agents, 10 plugins shipped together

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/emasoft/claude-plugins-validation/cpv-bump-version
Any agent
npx skills add Emasoft/claude-plugins-validation --skill cpv-bump-version
Clone the repo
git clone --depth 1 https://github.com/Emasoft/claude-plugins-validation

Made for: Claude Code, Codex.

Or install claude-plugins-validation, the plugin that ships this one along with the rest of its 52 skills, 14 commands, 14 agents, 10 plugins.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/emasoft/claude-plugins-validation/cpv-bump-version.svg)](https://agentmods.dev/skills/emasoft/claude-plugins-validation/cpv-bump-version)
Your own site
<a href="https://agentmods.dev/skills/emasoft/claude-plugins-validation/cpv-bump-version"><img src="https://agentmods.dev/badge/skills/emasoft/claude-plugins-validation/cpv-bump-version.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 979 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.00067 $0.00979
Opus 5 $0.00034 $0.00490
Sonnet 5 $0.00013 $0.00196
Haiku 4.5 $0.00007 $0.00098

Measured yesterday against content hash 428e79250000, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cpv-bump-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 yesterday.

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.

skills/cpv-bump-version/SKILL.md · 89 lines

How it starts

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

cpv-bump-version

Overview

Bumps the plugin version AND runs the full publish pipeline (TRDD-bbff5bc5 — single entry point). publish.py is the canonical entry point — it bumps the version in plugin.json + pyproject.toml + __version__ vars, refreshes the README badge, regenerates the CHANGELOG, refreshes .plugin-self-hashes.json (if present), commits + tags + pushes, then creates the GitHub release. Every gate must pass before any push — no CLI skip flags exist; the few sanctioned env toggles (e.g. PLUGIN_SKIP_GITHUB_INTEGRITY) are listed in publish.py --help and are test-pinned. Loaded dynamically via cpv-the-skills-menu, reached via the Manage → Bump version menu branch.

Prerequisites

  • uv on PATH
  • Clean git working tree (no uncommitted changes)
  • gh CLI authenticated for GitHub release creation
  • Network access for git push / GitHub API
  • PLUGIN_SKIP_GITHUB_INTEGRITY=1 NOT set unless intentionally skipping integrity gate

Instructions

  1. Confirm the working tree is clean (git status).
  2. Choose a bump level: --patch, --minor, or --major.
  3. Always preview first with --dry-run to confirm the new version, CHANGELOG entry, and gate-pass list.
  4. Run the real invocation; publish.py enforces every quality gate before push.
  5. If any gate fails, fix the underlying issue and re-run — publish.py is idempotent (interrupted runs resume cleanly).
  6. After publish, confirm the GitHub release URL was printed.

Copy this checklist and track your progress:

  • Working tree clean
  • Bump level chosen
  • --dry-run reviewed
  • Real publish.py invocation executed
  • All gates passed
  • GitHub release URL captured

Output

  • Updated plugin.json::version, pyproject.toml::version, __version__ vars
  • Refreshed README version badge
  • Regenerated CHANGELOG.md entry
  • Git commit + tag + push
  • GitHub release published

Error Handling

Error Resolution
Gate failure (lint/test/validate) Fix the underlying issue, re-run (publish.py resumes idempotently)
Dirty working tree git stash or commit changes before bumping
gh auth not set up Run gh auth login first
Network timeout on push Re-run; publish.py picks up where it left off
Version conflict on push Pull first, resolve, re-run

Read the full file on GitHub · 89 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. yesterday Changed 428e79250000
  2. 5d ago First seen · 89 lines · 67 tokens per session scan A e80332c35513

Subscribe to this mod's changes

cpv-bump-version is a skill published in the GitHub repository Emasoft/claude-plugins-validation (4 stars, last pushed yesterday), licensed MIT. It adds 67 tokens to every session and 979 once invoked, about $0.0003 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.