fetch-docs-sonnet45 — Claude Code subagent: use and install
The fetch-docs-sonnet45 subagent retrieves documentation from a URL and writes it to a chosen file. Use it for documentation retrieval benchmarks.
no license ★ 1,573 updated 2026-02-08
.claude/agents/fetch-docs-sonnet45.mdWhat fetch-docs-sonnet45 does
fetch-docs-sonnet45 takes a documentation URL and saves the retrieved material to the output path you provide. Its task is to keep the page content intact, including code blocks, examples, and formatting, rather than turning it into a summary.
The subagent has access to Write, Bash, Read, WebFetch, and mcp__firecrawl-mcp__firecrawl_scrape. Its frontmatter selects the sonnet model and describes the agent as using Sonnet 4.5. It gives priority to mcp__firecrawl-mcp__firecrawl_scrape, so that MCP tool is the main retrieval route; WebFetch is the alternative listed beside it.
What it helps with
- retrieve documentation from a URL
- save a page as a Markdown file
- keep code examples in the saved content
- benchmark documentation retrieval
- report the output file path
Example prompts for the agent
- Run
fetch-docs-sonnet45on this URL and save the retrieved documentation to the specified file. - Use
mcp__firecrawl-mcp__firecrawl_scrapeto fetch the page, then write the result to the requested Markdown path. - Retrieve the documentation without summarizing it and report where the file was saved.
How to install fetch-docs-sonnet45
Manually: put the files in place
.claude/agents/fetch-docs-sonnet45.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/fetch-docs-sonnet45.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/fetch-docs-sonnet45.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about fetch-docs-sonnet45
How do I install fetch-docs-sonnet45 in Claude Code?
Place the file at .claude/agents/fetch-docs-sonnet45.md.
What does fetch-docs-sonnet45 do?
It retrieves documentation from a URL and writes it to a specified file while keeping the returned content, code, examples, and formatting.
Which tools does fetch-docs-sonnet45 use?
The subagent lists Write, Bash, Read, WebFetch, and mcp__firecrawl-mcp__firecrawl_scrape. The MCP scraper has priority over WebFetch.