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.
npx agentmods add commands/guess/claude_code/bump-versiongit clone --depth 1 https://github.com/guess/claude_codeWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00006 | $0.00677 |
| Opus 5 | $0.00003 | $0.00338 |
| Sonnet 5 | $0.00001 | $0.00135 |
| Haiku 4.5 | $0.00001 | $0.00068 |
Grade A, and why
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 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.
How it starts
The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Update version to the specified X.Y.Z value.
CRITICAL: You MUST Read each file BEFORE attempting to Edit it. The Edit tool will fail if you have not read the file first. Do not skip this step for any file.
Steps
-
Read
mix.exsand get current version. -
Search for both version patterns (replace X.Y with actual current major.minor):
grep -rn "X\.Y" --include="*.md" --include="*.ex" --include="*.exs" . | grep -v deps/ | grep -v _build/ | grep -v CHANGELOG | grep -v '.official/' -
For each file that needs updating: Read the file first, then Edit it (preserve existing format):
- Full versions
"X.Y.Z"→ new full version - Dependency specs
"~> X.Y"→ new major.minor
- Full versions
-
Read then update
CHANGELOG.md:- Get the bundled CLI version from
@default_cli_versioninlib/claude_code/adapter/port/installer.ex - Convert Unreleased to
[X.Y.Z] - YYYY-MM-DD | CC A.B.Cwhere A.B.C is the CLI version - Example:
## [0.18.0] - 2026-02-08 | CC 2.1.37
- Get the bundled CLI version from
-
Verify no old versions remain (except CHANGELOG history)
-
Tag and release:
- Create git tag:
git tag -a vX.Y.Z -m "vX.Y.Z" - Push tag:
git push origin vX.Y.Z - Extract the release section from
CHANGELOG.md(everything between the new version header and the previous version header, excluding the headers themselves) - Create GitHub release with CC version in title and changelog as body:
gh release create vX.Y.Z --title "vX.Y.Z | CC A.B.C" --notes "<changelog section content>"
- Create git tag:
Reference
Files that contain version numbers (6 files + CHANGELOG):
mix.exs—@version "X.Y.Z"lib/claude_code.ex— version stringREADME.md—{:claude_code, "~> X.Y"}docs/guides/custom-tools.md—{:claude_code, "~> X.Y"}docs/reference/troubleshooting.md—{:claude_code, "~> X.Y"}lib/claude_code/mcp.ex—{:claude_code, "~> X.Y"}
Creating retroactive releases (if needed for missed versions):
- Find version bump commits:
git log --oneline --all --grep='version' -- mix.exs - Create annotated tags:
git tag -a vX.Y.Z <commit> -m "vX.Y.Z" - Push all tags:
git push origin --tags - Create releases oldest-to-newest, extracting changelog sections as body
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.
- 2d ago First seen · 53 lines · 6 tokens per session scan A c55caf3e087c
bump-version is a command published in the GitHub repository guess/claude_code (96 stars, last pushed 2mo ago), licensed MIT. It adds 6 tokens to every session and 677 once invoked, about $0.0000 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.
Other commands, from other repositories
setup
Interactive setup for Elixir LSP development environment.
fix
Auto-fix linting, formatting, and common issues.
build
Build the project using the standard task runner.
test
Run the project test suite and report results.
OPSX: Explore
Enter explore mode - think through ideas, investigate problems, clarify requirements.
OPSX: Propose
Propose a new change - create it and generate all artifacts in one step.