From agent-skills
Fetches current library documentation via Context7 REST API for npm/PyPI packages. Use when the user needs official APIs, code examples, or migration guidance.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-skills:context7 [library] [topic][library] [topic]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use `scripts/context7.py` to fetch current library documentation without MCP tool-schema overhead.
Use scripts/context7.py to fetch current library documentation without MCP tool-schema overhead.
This is an execution skill. Decide whether to search or fetch directly, run the script, then use the returned docs to answer. Keep the main flow lean and load REFERENCES.md only when you need example commands, common library IDs, or troubleshooting details.
Activate when the user asks for:
If you already know the library ID, skip search and call:
python3 scripts/context7.py docs <library-id> [topic] [mode]
If the library ID is unclear, search first:
python3 scripts/context7.py search "<query>"
Pick the best matching library ID, then fetch docs.
Use the returned docs to answer with version-aware guidance and cite the source URL when the script provides one.
code mode (default) for API references, function signatures, and implementation examples.info mode for conceptual guides, architecture, and migration-heavy questions./vercel/next.js/14) or include the version in the topic.If syntax is unclear, run:
python3 scripts/context7.py --help
| Issue | Action |
|---|---|
| Library ID is unclear | Re-run search with an alternate name, org name, or broader query. |
| Results are empty or irrelevant | Broaden the topic, then retry with the other mode (code vs info). |
| User needs a specific version | Add the version to the library ID or mention it in the topic, then verify the returned docs match. |
| Rate limited | Tell the user about CONTEXT7_API_KEY, then use best-effort fallback guidance if needed. |
| Script usage is unclear | Run python3 scripts/context7.py --help. |
| Script or network failure | Say live docs lookup failed and continue with clearly-labeled fallback knowledge. |
License: MIT See also: REFERENCES.md
npx claudepluginhub arvindand/agent-skills --plugin agent-skillsFetches current library documentation via Context7 API. Use when working with external libraries to get up-to-date APIs, patterns, and best practices.
Fetches current documentation, setup steps, API references, and code examples from Context7 when users ask about libraries, frameworks, or SDKs.
Retrieves up-to-date documentation for libraries and frameworks using Context7. Activates when user asks about setup, API references, or code generation.