bump

bump is a command for Claude Code from xiaolai/claudepot-app. It costs 71 tokens per session (3,998 once invoked), scanned A, original, ISC.

A command for updating an app's version number across all of its release files. It also prepares a changelog section and checks quality before making the edits.

In plain words
What is it for?
For preparing a Claudepot release by updating Rust, frontend, desktop configuration, README, installation-page, changelog, and lock files.
Why use it?
A version mismatch can make the app, installer, README, and website show different releases. This keeps the version in sync while leaving the changes ready for review rather than committing them.

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/xiaolai/claudepot-app/bump
Clone the repo
git clone --depth 1 https://github.com/xiaolai/claudepot-app

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 bump

README.md
[![agentmods](https://agentmods.dev/badge/commands/xiaolai/claudepot-app/bump.svg)](https://agentmods.dev/commands/xiaolai/claudepot-app/bump)
Your own site
<a href="https://agentmods.dev/commands/xiaolai/claudepot-app/bump"><img src="https://agentmods.dev/badge/commands/xiaolai/claudepot-app/bump.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,998 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.00071 $0.03998
Opus 5 $0.00036 $0.01999
Sonnet 5 $0.00014 $0.00800
Haiku 4.5 $0.00007 $0.00400

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

Security

Grade A, and why

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.

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/bump.md · 349 lines

How it starts

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

Bump version

Bump Claudepot's version in every file that holds one. Version lives in five sources of truth:

File Line Notes
Cargo.toml top-level [workspace.package] version = "X.Y.Z" Feeds every Rust crate via version.workspace = true
package.json "version": "X.Y.Z" Frontend build stamp
src-tauri/tauri.conf.json "version": "X.Y.Z" Shown to the OS (menu bar "About", bundle metadata)
README.md > **Status: {stage}** (\X.Y.Z`).` line Public-facing status banner — the first thing visitors see in the repo
web/src/app/(reader)/app/install/page.mdx > **Status: {stage} (\X.Y.Z`).**` line Public-facing status banner on claudepot.com/app/install — same shape, different file (mind the dot placement)

All five MUST match byte-for-byte. A mismatch produces a release with a wrong "About" dialog, bundles that refuse to install over previous versions, a README that lies about the current stage, or a website that quotes a version 10 releases old.

Two more files ride along in the same commit:

File Why
CHANGELOG.md Stubbed in Step 4
Cargo.lock Derived, but committed. It stamps each workspace crate's own version, so a bump changes it (8 lines at v0.3.2 — four crates × two fields). Nothing edits it by hand; cargo check regenerates it. It is still part of the release commit — verify with git show --stat v0.3.2.

Seven files total. Leaving Cargo.lock out is the easy miss: the bump appears complete, then the next cargo command rewrites it and leaves main dirty for whoever pulls next.

Inputs

$ARGUMENTS must be one of:

  • patch — bump the last segment (0.0.20.0.3)
  • minor — bump the middle segment, zero the last (0.0.20.1.0)
  • major — bump the first segment, zero the rest (0.1.01.0.0)
  • An explicit X.Y.Z string — used verbatim
  • beta — start or advance a prerelease cycle (see "Beta path" below)
  • An explicit X.Y.Z-beta.N string — used verbatim (the beta path)

Read the full file on GitHub · 349 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. 5d ago First seen · 349 lines · 71 tokens per session scan A 91085ea8bf0e

Subscribe to this mod's changes

bump is a command published in the GitHub repository xiaolai/claudepot-app (118 stars, last pushed today), licensed ISC. It adds 71 tokens to every session and 3,998 once invoked, about $0.0004 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-30.