Skip to content
Back to skills

Docs Fetcher

ASecurity

Fetch up-to-date library documentation directly into context to prevent hallucinated APIs and outdated code examples. Use when user says "use docs", "fetch docs for [library]", "check [library] docs", or asks about a library's API, methods, or usage patterns and current documentation would be helpful. Also use proactively when generating code for libraries where version-specific accuracy matters.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
documentationgofastapiapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill docs-fetcher --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docs Fetcher?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Docs Fetcher
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-docs-fetcher/badge)](https://www.skillsdirectory.com/skills/majiayu000-docs-fetcher)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: docs-fetcher
description: Fetch up-to-date library documentation directly into context to prevent hallucinated APIs and outdated code examples. Use when user says "use docs", "fetch docs for [library]", "check [library] docs", or asks about a library's API, methods, or usage patterns and current documentation would be helpful. Also use proactively when generating code for libraries where version-specific accuracy matters.
---

# 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](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](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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.