version — Claude Code command: what it does, how to install
The /version command prints a summary of the Claude Code Ultimate Guide repo: guide version, tracked Claude Code release and recent changes.
CC-BY-SA-4.0 ★ 6,529 updated 2026-10-22
.claude/commands/version.mdWhat version does
/version prints a status report for the Claude Code Ultimate Guide repository. It reads the guide version from the VERSION file, the Claude Code release the guide tracks (with its date) from machine-readable/claude-code-releases.yaml, and tells you whether the landing page is in sync.
The command is a single markdown file with instructions for the agent. The agent pulls the three latest guide updates out of CHANGELOG.md, plus the three latest Claude Code releases with two or three highlights each. Counts come from the shell: find over examples/ for templates, jq over questions.json for quiz questions, wc -l on guide/ultimate-guide.md for guide length. The sync check is ./scripts/check-landing-sync.sh.
It only makes sense inside that repo. Elsewhere there is no VERSION or questions.json to read, and without jq the quiz count fails.
What it helps with
- Check which guide version the repo is on
- See which Claude Code release the guide tracks
- List the last three Claude Code releases with highlights
- Recount templates and quiz questions
- Find out whether the landing page matches the guide
Example prompts for the agent
- Run
/versionand show me the guide status. - Which Claude Code release does the guide track right now? Use
/version. - Run
/versionand tell me if the landing page is synced.
How to install version
Manually: put the files in place
.claude/commands/version.mdCall it with /version. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/version.mdCall it with /prompts:version. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/version.prompt.mdManually: put the files in place
.gemini/commands/version.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about version
How do I install version in Claude Code?
Save the command file as .claude/commands/version.md in your project, then call /version. For Codex the path is ~/.codex/prompts/version.md.
What does version do?
It reports the guide version, the tracked Claude Code version and date, counts of templates, quiz questions and guide lines, and the landing sync status. It also lists the three latest guide updates and Claude Code releases.
What does the version command need to run?
The files VERSION, machine-readable/claude-code-releases.yaml, CHANGELOG.md, questions.json and guide/ultimate-guide.md, the examples/ directory, and the script ./scripts/check-landing-sync.sh. It also calls jq.