load_ai_docs · disler — Claude Code command: fetch docs into your project
load_ai_docs — a command that downloads documentation from AI platforms and saves it as markdown files for agents to reference locally. Use it when you want your sub-agents to have current docs without needing web access.
no license ★ 1,573 updated 2026-02-08
.claude/commands/load_ai_docs.mdWhat load_ai_docs does
load_ai_docs reads a list of URLs from ai_docs/README.md, fetches the docs, and stores them as markdown files in your project. It checks whether cached versions exist and skips anything fresher than 24 hours; older files get replaced. Downloads run in parallel through the agent-docs-scraper sub-agent, which uses WebFetch and Firecrawl to handle different page types.
Once done, you get a report showing success or failure for each file. This matters when docs update often but you want agents to work with context they can access without going online.
What it helps with
- collect documentation from multiple AI platforms into one project
- keep local reference docs current without constant web calls
- give sub-agents access to platform docs offline
- track which documentation files are already cached and current
Example prompts for the agent
- Run load_ai_docs to refresh all docs listed in ai_docs/README.md
- Use /load_ai_docs and show me which files updated
- Fetch the latest AI platform docs using load_ai_docs
How to install load_ai_docs
Manually: put the files in place
.claude/commands/load_ai_docs.mdCall it with /load_ai_docs. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/load_ai_docs.mdCall it with /prompts:load_ai_docs. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/load_ai_docs.prompt.mdManually: put the files in place
.gemini/commands/load_ai_docs.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about load_ai_docs
How do I install load_ai_docs in Claude Code?
Create .claude/commands/load_ai_docs.md at your project root and add the command definition with doc URLs. Claude Code picks it up automatically from that folder.
What does load_ai_docs do?
It downloads documentation from AI platform websites into local markdown files. Files younger than 24 hours are skipped; older ones are replaced. You get a report showing success or failure for each URL.
Which tools does the scraper use?
WebFetch for basic fetches and Firecrawl for complex pages. The agent-docs-scraper sub-agent runs in parallel for each URL in ai_docs/README.md.
Similar slash commands
All slash commands for Agent setup: memory, context, orchestration →load_ai_docs by other authors comes first.