Problem
Claude Code's documentation currently exists only on the website and must be accessed via WebFetch. This is slow and inconvenient for the agent when it needs to reference its own docs frequently.
Proposed Solution
Publish the documentation as a Git repository (markdown files) that can be:
- Cloned locally by users
- Read directly using file tools (fast, no web requests)
- Referenced in
.claude/CLAUDE.md as a local context path
- Kept in sync with the website
Benefits
- Faster access: Direct file reads vs web fetches
- Offline usage: Works without internet connection
- Better context: Can reference multiple doc pages efficiently
- Self-documentation: Claude Code can maintain its own docs more easily
Example Usage
git clone https://github.com/anthropics/claude-code-docs ~/.claude/docs
# Reference in CLAUDE.md or access directly
This would enable Claude Code to work with its own documentation as efficiently as it works with user code.
Problem
Claude Code's documentation currently exists only on the website and must be accessed via
WebFetch. This is slow and inconvenient for the agent when it needs to reference its own docs frequently.Proposed Solution
Publish the documentation as a Git repository (markdown files) that can be:
.claude/CLAUDE.mdas a local context pathBenefits
Example Usage
This would enable Claude Code to work with its own documentation as efficiently as it works with user code.