A local, auto-updating mirror of the Claude Code docs, exposed to Claude as a /docs slash command. No more fetching from the web — docs sync from GitHub every 3 hours and Claude reads them straight off disk.
Windows only — this is a fork of claude-code-docs by @EricBuess, rebuilt specifically for Windows/Git Bash. macOS/Linux support from the original has been removed; use the upstream repo on those platforms.
Last assessed: 2026-07-10 | Overall: 3.12 — Good
Build A · Quality C? · Architecture A · Tests F · Dead Code A · API B~ · Security A · Docs A
Full report: reports/health-audit-2026-07-10.md
- Fast — reads local files instead of hitting the web
- Fresh — GitHub Actions syncs docs every 3 hours
- Searchable — ask natural-language questions across all docs
- Changelog access —
/docs changelogpulls official release notes
Requires Windows with Git for Windows (provides Git Bash, git, and curl). jq is downloaded automatically — no manual setup needed.
Run this command in Git Bash (not PowerShell or Command Prompt):
curl -fsSL https://raw.githubusercontent.com/bartvanhoey/claude-code-docs/main/install.sh | bashThis installs to ~/.claude-code-docs, adds the /docs command, and sets up a hook that pulls the latest docs automatically when you use it. Restart Claude Code afterward.
Run the same command any time to update or migrate an existing install.
/docs hooks # read hooks documentation
/docs mcp # read MCP documentation
/docs -t # check sync status with GitHub
/docs what's new # see recent doc changes
/docs changelog # read official Claude Code release notes
/docs uninstall # remove everythingNatural-language queries work too:
/docs what environment variables exist and how do I use them?
/docs find all mentions of authenticationWant a different command name? Rename ~/.claude/commands/docs.md to whatever you like — the filename is the command.
/docs uninstallor
~/.claude-code-docs/uninstall.shSee UNINSTALL.md for manual steps.
-
The install hook only runs
git pull, scoped to the docs directory — nothing else, nothing external. -
The
curl | bashinstaller has no checksum/signature verification (standard tradeoff for one-liner installs). For a safer path, clone manually and reviewinstall.shbefore running it:git clone https://github.com/bartvanhoey/claude-code-docs.git ~/.claude-code-docs cd ~/.claude-code-docs bash install.sh
Bug reports and ideas welcome — open an issue.
Documentation content belongs to Anthropic. This mirror tool is open source.