# refresh-docs

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

- command · `type=command` · Claude Code, Codex, GitHub Copilot, Gemini CLI · ★ 6529 repo stars
- Author: FlorianBruniaux
- License: CC-BY-SA-4.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/FlorianBruniaux/claude-code-ultimate-guide/tree/HEAD/.claude/commands/ccguide/refresh-docs.md
- Updated: 2026-10-22
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/commands/refresh-docs

## What it 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`.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/commands/refresh-docs.md` — Call it with /refresh-docs. For all projects use ~/.claude/commands/

### Codex

**Manually: put the files in place**
- File: `~/.codex/prompts/refresh-docs.md` — Call it with /prompts:refresh-docs. Codex marks this format deprecated in favour of skills

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/prompts/refresh-docs.prompt.md`

### Gemini CLI

**Manually: put the files in place**
- File: `.gemini/commands/refresh-docs.toml` — Gemini stores commands as TOML: the prompt text goes into the prompt field

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/FlorianBruniaux/claude-code-ultimate-guide/tree/HEAD/.claude/commands/ccguide/refresh-docs.md

## When to use it
- refresh the current Claude Code docs snapshot
- compare new documentation with the saved baseline
- view a brief change summary after a refresh

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

## Similar
- [kb-refresh-stinger](https://affpapa.org/en/nevibecode/skills/kb-refresh-stinger.md) — skill · ★ 96 repo stars
- [ce-compound-refresh](https://affpapa.org/en/nevibecode/skills/ce-compound-refresh.md) — skill · 3500 installs
- [update-docs](https://affpapa.org/en/nevibecode/commands/update-docs.md) — command · 3861 installs
- [tailwind-4-docs](https://affpapa.org/en/nevibecode/skills/tailwind-4-docs.md) — skill · 19300 installs
- [developer-troubleshooting-docs](https://affpapa.org/en/nevibecode/skills/developer-troubleshooting-docs.md) — skill · 13400 installs
- [coding-agent-docs-optimization](https://affpapa.org/en/nevibecode/skills/coding-agent-docs-optimization.md) — skill · 13400 installs

From the same set: [florianbruniaux/claude-code-ultimate-guide](https://affpapa.org/en/nevibecode/by/florianbruniaux/claude-code-ultimate-guide.md) — 45 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
