Skip to content

[FEATURE] Provide documentation as a repository instead of web-only #11877

Description

@maxim-uvarov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions