πŸ€–πŸ“š FR: Local Docs Bundle - Stop Making Me Download 2MB to Learn What `/agents` Does πŸŒπŸ’Έ

Status Fixed / completed
Maintainer reply βœ“ Yes β€” catherinewu
Activity 9 comments Β· opened Jul 25, 2025 Β· closed Nov 29, 2025
πŸ’‘ Likely answer: A maintainer (catherinewu, contributor) responded on this thread β€” see the highlighted reply below.

Summary

Currently, Claude Code fetches documentation from the web every time I ask about features, resulting in slow 2MB requests to load a doc homepaeg that don't even contain the specific information I need. This is inefficient, expensive, and frankly embarrassing for an AI coding tool.

Problem

  • Asked about the new /agents command
  • Claude Code made a 2MB web request to the docs homepage
  • Still couldn't find the actual /agents documentation
  • Wasted time, tokens, and bandwidth for zero useful information

Proposed Solution

Bundle local documentation with Claude Code updates

  • Ship docs as local files that update with each Claude Code version
  • Instant access to accurate, version-matched documentation
  • No more web requests for basic feature documentation
  • No more "I can't find that in the 2MB homepage I just downloaded"

Benefits

  • ⚑ Instant access - No network latency
  • πŸ’° Cost efficient - No repeated web requests
  • 🎯 Always accurate - Docs match your Claude Code version
  • πŸ”’ Works offline - No internet dependency for docs
  • 🧠 Better UX - Claude actually knows what features exist

Current Workaround

Manually reading web docs while Claude Code pretends it can help with documentation queries.

Expected Behavior

user: how does /agents work?
claude: *instantly accesses local docs* The /agents command allows you to...

Not:

user: how does /agents work?  
claude: *downloads entire internet* I fetched 2MB but still don't know πŸ€·β€β™‚οΈ

---
This feels like a no-brainer feature that should have shipped with v1. Please make Claude Code actually know what Claude Code does. Sincerely, a developer who asked a simple question and somehow triggered a bandwidth apocalypse. πŸ€–πŸ’”

View original on GitHub β†—

9 Comments

j-greig Β· 1 year ago

PS. FR written by Claude not me

jc4396-claude Β· 1 year ago

This can be attained using a hook to maintain a version of the doc in a given location and by for example:

  • check the last time doc was downloaded
  • compare if this is older than the release of CC in use
  • if it newer, do nothing
  • if it is older, re-download the doc
  • tell to Claude in its CLAUDE.md or similar to look for documentation in the given location
j-greig Β· 1 year ago

Is that workable if new pages are being added to the docs?

jc4396-claude Β· 1 year ago

I guess so, by recursively downloading the whole doc?

PaulRBerg Β· 12 months ago

There's a project created by @ericbuess that does this - it creates a /docs command a hook that auto-fetches the Claude Code docs.

But I agree, this should be baked into Claude Code itself, natively.

https://github.com/ericbuess/claude-code-docs

j-greig Β· 11 months ago
There's a project created by @ericlbuess that does this

Although it doesn't work on macos currently... exactly why this needs to be native.

As another example, it seems insane to be that Claude Code doesn't know how to use itself. I shouldn't be having to teach it syntax... it should just know.... surely....

<img width="737" height="217" alt="Image" src="https://github.com/user-attachments/assets/657bdae1-a414-4c9b-a1fe-0dd6be7d1329" />

catherinewu contributor Β· 9 months ago

Hi, we now have a claude-code-guide subagent pre-installed in claude code that is able to look up docs and tell you accurate information about how to use claude code and claude agent sdk. thanks for reporting!

j-greig Β· 9 months ago

<img width="552" height="502" alt="Image" src="https://github.com/user-attachments/assets/b3648d24-5563-4611-98b6-d0c4a8935271" />

love it! thank you πŸ™‡

github-actions[bot] Β· 8 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.