Skip to main content
subagent CX Codex

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/fetch-docs-sonnet45.md
Open on GitHub

What 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-sonnet45 on this URL and save the retrieved documentation to the specified file.
  • Use mcp__firecrawl-mcp__firecrawl_scrape to 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.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

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.

Similar subagents

All subagents for Agent setup: memory, context, orchestration →

From the same set20

The whole set →
build build is a command that reads a plan file and applies its changes to a codebase. It asks for the file path if none is provided. CX Codex +1 ★ 1,573repo stars convert_paths_absolute convert_paths_absolute — a slash command that rewrites relative paths in .claude/settings.json as absolute ones. It helps when command scripts break because they run from the wrong directory. CX Codex +1 ★ 1,573repo stars fetch-docs-haiku45 fetch-docs-haiku45 retrieves online documentation using the Haiku model and saves it as markdown without cuts. CX Codex ★ 1,573repo stars load_ai_docs 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. CX Codex +1 ★ 1,573repo stars find_and_summarize find_and_summarize locates source files across target directories and creates concise two-sentence summaries in a YAML file. Useful for documenting modules without subagents. CX Codex +1 ★ 1,573repo stars create-worktree-subagent The create-worktree-subagent subagent creates isolated git worktrees for parallel development. Use it when the request explicitly delegates worktree creation to a subagent. CX Codex ★ 1,573repo stars docs-scraper docs-scraper — a subagent that fetches a documentation page by URL and saves it as a markdown file in ai_docs/. Handy when your agent needs a local copy of the docs. CX Codex ★ 1,573repo stars quick-plan quick-plan turns requirements into structured implementation blueprints stored in the specs/ folder. Useful before starting complex refactoring or new feature work. CX Codex +1 ★ 1,573repo stars

Project sponsors

Companies that keep this analytics open