docs-fetcher

docs-fetcher is a skill for Claude Code, Codex from mvilrokx/claude-skills. It costs 79 tokens per session (441 once invoked), scanned A, original, MIT.

A guide for fetching current library documentation directly into the agent's working context.

In plain words
What is it for?
Looking up official documentation for a named library and using it when writing or checking version-sensitive code.
Why use it?
It reduces the chance of using outdated APIs or inventing code examples for libraries whose interfaces change over time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Looking up official documentation for a named library and using it when writing or checking version-sensitive code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mvilrokx/claude-skills/docs-fetcher
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mvilrokx/claude-skills --skill docs-fetcher
Clone the repo
git clone --depth 1 https://github.com/mvilrokx/claude-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docs-fetcher

README.md
[![agentmods](https://agentmods.dev/badge/skills/mvilrokx/claude-skills/docs-fetcher/github.svg)](https://agentmods.dev/skills/mvilrokx/claude-skills/docs-fetcher)
Your own site
<a href="https://agentmods.dev/skills/mvilrokx/claude-skills/docs-fetcher"><img src="https://agentmods.dev/badge/skills/mvilrokx/claude-skills/docs-fetcher/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docs-fetcher

Your own site · 80×15
<a href="https://agentmods.dev/skills/mvilrokx/claude-skills/docs-fetcher"><img src="https://agentmods.dev/badge/skills/mvilrokx/claude-skills/docs-fetcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 441 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.00441
Opus 5.5 $0.00032 $0.00176
Sonnet 5.5 $0.00016 $0.00088
Haiku 4.5 $0.00008 $0.00044

Measured 2mo ago against content hash 7f80a47fded0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docs-fetcher scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs-fetcher/SKILL.md · 60 lines

What it actually says

Docs Fetcher

Fetch current documentation for libraries to ensure accurate, up-to-date code generation.

Workflow

Trigger Detection

Activate this skill when:

  • User explicitly requests: "use docs", "fetch docs for X", "check X documentation"
  • User asks about specific API methods, parameters, or patterns for a supported library
  • Generating code where version-specific accuracy is critical

Execution Steps

  1. Identify the library from user request or code context
  2. Look up documentation URLs in references/libraries.md
  3. Fetch relevant pages using fetch_webpage tool with appropriate URLs
  4. Use fetched content to inform code generation or answer

Fetching Strategy

For comprehensive coverage, fetch multiple pages:

fetch_webpage(urls: [
  "https://fastapi.tiangolo.com/tutorial/dependencies/",
  "https://fastapi.tiangolo.com/advanced/advanced-dependencies/"
])

For quick lookups, fetch the most relevant single page.

Adding Libraries

To add a new library, edit references/libraries.md:

  1. Find the official documentation URL
  2. Identify key pages: quickstart, API reference, common patterns
  3. Add entry following the existing format

Limitations

  • Fetches only explicitly listed URLs (no recursive crawling)
  • Some documentation sites may block or limit fetches
  • Very large pages may be truncated
  • No version pinning — fetches current docs

When NOT to Use

  • General programming questions not library-specific
  • Libraries not in the mapping (inform user, suggest they provide URLs)
  • Simple questions where training knowledge is sufficient
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 60 lines · 79 tokens per session scan A 7f80a47fded0

Subscribe to this mod's changes

docs-fetcher is a skill published in the GitHub repository mvilrokx/claude-skills (2 stars, last pushed 8mo ago), licensed MIT. It adds 79 tokens to every session and 441 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

docs-fetcher compared with skills from other repositories

docs-fetcher next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-fetchermvilrokx/claude-skillsSkill28mo agoMITA79Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79ktodayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill99ktodayApache-2.0A19Claude Code
systematic-debuggingobra/superpowersSkill314k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill195ktodayMITA53Claude Code, Codex