Skip to content

bartvanhoey/claude-code-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

155 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Code Documentation Mirror

Last Update Platform Documentation Update Dependabot Updates

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.

Health Audit

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

Why

  • 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 changelog pulls official release notes

Install

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 | bash

This 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.

Usage

/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 everything

Natural-language queries work too:

/docs what environment variables exist and how do I use them?
/docs find all mentions of authentication

Want a different command name? Rename ~/.claude/commands/docs.md to whatever you like — the filename is the command.

Uninstall

/docs uninstall

or

~/.claude-code-docs/uninstall.sh

See UNINSTALL.md for manual steps.

Security notes

  • The install hook only runs git pull, scoped to the docs directory — nothing else, nothing external.

  • The curl | bash installer has no checksum/signature verification (standard tradeoff for one-liner installs). For a safer path, clone manually and review install.sh before running it:

    git clone https://github.com/bartvanhoey/claude-code-docs.git ~/.claude-code-docs
    cd ~/.claude-code-docs
    bash install.sh

Contributing

Bug reports and ideas welcome — open an issue.

License

Documentation content belongs to Anthropic. This mirror tool is open source.

About

A local, auto-updating mirror of the Claude Code docs, exposed to Claude as a /docs slash command.

Topics

Resources

License

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Contributors