Skip to main content
command CX Codex

refresh-docs — Claude Code command: update docs

refresh-docs fetches Anthropic’s official Claude Code docs and replaces the current snapshot. Use it to check changes against the saved baseline.

CC-BY-SA-4.0 ★ 6,529 updated 2026-10-22

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/refresh-docs.md
Open on GitHub

What refresh-docs does

The command calls the MCP tool refresh_official_docs to retrieve the official documentation. It updates the current snapshot while leaving the baseline intact, then displays a brief comparison with that baseline.

For the full comparison, run /ccguide:diff-docs. The refresh depends on the refresh_official_docs MCP tool being available. In Claude Code, install the command at .claude/commands/refresh-docs.md.

What it helps with

  • refresh the current Claude Code docs snapshot
  • compare new documentation with the saved baseline
  • view a brief change summary after a refresh

Example prompts for the agent

  • Refresh the current snapshot of the official Claude Code documentation.
  • Fetch the latest docs and show a brief comparison with the saved baseline.

How to install refresh-docs

Manually: put the files in place

.claude/commands/refresh-docs.md

Call it with /refresh-docs. For all projects use ~/.claude/commands/

Questions about refresh-docs

How do I install refresh-docs in Claude Code?

Place the command file at .claude/commands/refresh-docs.md.

What does refresh-docs do?

It retrieves official Claude Code documentation through refresh_official_docs and updates the current snapshot without changing the baseline.

How can I see the full documentation diff?

After the brief comparison, run /ccguide:diff-docs for the detailed diff.

Similar slash commands

All slash commands for Writing and docs →

From the same set45

The whole set →
search-docs search-docs searches official Anthropic Claude Code documentation by keywords via a local MCP tool. CX Codex +1 ★ 6,529repo stars init-docs init-docs pulls the official Anthropic documentation into a local cache and marks that copy as the baseline snapshot for later diffs. CX Codex +1 ★ 6,529repo stars diff-docs diff-docs compares local snapshots of official Anthropic documentation against a baseline without network requests. CX Codex +1 ★ 6,529repo stars source-command-ccguide-refresh-docs source-command-ccguide-refresh-docs refreshes the current snapshot of official Anthropic Codex docs and previews changes against the baseline. Use it when the docs snapshot needs an update. CX Codex +1 ★ 6,529repo stars source-command-ccguide-init-docs The source-command-ccguide-init-docs skill calls the init_official_docs MCP tool to pull Anthropic's official documentation down and keep a baseline copy in a local cache. CX Codex +1 ★ 6,529repo stars source-command-ccguide-diff-docs source-command-ccguide-diff-docs — a skill for Claude Code and Codex that compares a baseline Anthropic docs snapshot against the current one. Reads local index files only, so no network call is made. CX Codex +1 ★ 6,529repo stars daily A daily digest of Anthropic docs diffs and Claude Code CLI releases. CX Codex +1 ★ 6,529repo stars whitepaper-coherence whitepaper-coherence is a Claude Code subagent that checks a whitepaper for logical consistency. It runs on requests to audit a file or inspect its reasoning. CX Codex ★ 6,529repo stars

Project sponsors

Companies that keep this analytics open