From rune
Finds official docs, changelogs, and migration guides for APIs, libraries, and error messages using Context7 MCP, llms.txt, and web search. Useful for debugging errors, verifying API usage, and reviews.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rune:docs-seekerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Documentation lookup utility. Receives a library name, API reference, or error message, resolves the correct documentation, and returns API signatures, usage examples, and known issues. Stateless — no memory between calls.
Documentation lookup utility. Receives a library name, API reference, or error message, resolves the correct documentation, and returns API signatures, usage examples, and known issues. Stateless — no memory between calls.
None — pure L3 utility using WebSearch, WebFetch, and Context7 MCP tools directly.
debug (L2): lookup API docs for unclear errorsfix (L2): check correct API usage before applying changesreview (L2): verify API usage is current and correctadversary (L2): verify framework/API assumptions in plan are correcttarget: string — library name, API endpoint, or error message
version: string — (optional) specific version to look up
query: string — specific question about the target (e.g., "how to configure retry")
Parse the input to extract:
Attempt Context7 MCP lookup first (faster, higher quality):
mcp__plugin_context7_context7__resolve-library-id with the library name and querymcp__plugin_context7_context7__query-docs with the resolved library ID and the specific queryIf Context7 MCP is unavailable or insufficient, try llms.txt (AI-optimized documentation):
For GitHub repos — pattern: https://context7.com/{org}/{repo}/llms.txt
github.com/vercel/next.js → context7.com/vercel/next.js/llms.txt
github.com/shadcn-ui/ui → context7.com/shadcn-ui/ui/llms.txt
For doc sites — pattern: https://context7.com/websites/{normalized-domain}/llms.txt
docs.imgix.com → context7.com/websites/imgix/llms.txt
ffmpeg.org/doxygen/8.0 → context7.com/websites/ffmpeg_doxygen_8_0/llms.txt
Topic-specific — append ?topic={query} for focused results:
context7.com/shadcn-ui/ui/llms.txt?topic=date-picker
context7.com/vercel/next.js/llms.txt?topic=cache
Traditional llms.txt fallback: WebSearch "[library] llms.txt" → common paths: docs.[lib].com/llms.txt, [lib].dev/llms.txt
Use WebFetch on the resolved llms.txt URL. If it contains multiple section URLs (3+), launch parallel Explorer agents (one per section, max 5).
If neither Context7 nor llms.txt available:
WebSearch with queries:
WebFetch on the top 1-3 official sourcesRepository analysis fallback (when docs are sparse but code is available):
npx repomix --output /tmp/repomix-output.xml # in the cloned repo
Read the repomix output to extract API patterns, usage examples, and internal documentation.
From Context7, llms.txt, or fetched pages, extract:
Return structured documentation in the output format below.
?topic= parameter on llms.txt URLs for targeted results## Documentation: [Library/API]
- **Version**: [detected or "latest"]
- **Source**: [official docs URL or "Context7"]
### API Reference
- **Signature**: `functionName(param1: Type, param2: Type): ReturnType`
- **Parameters**:
- `param1` — description
- `param2` — description
- **Returns**: description
### Usage Example
```[lang]
[minimal working code snippet from official docs]
## Sharp Edges
Known failure modes for this skill. Check these before declaring done.
| Failure Mode | Severity | Mitigation |
|---|---|---|
| Returning deprecated API without flagging it | HIGH | Must explicitly state "deprecated in X.Y, use Z instead" with replacement link |
| Wrong version docs returned when version specified | HIGH | Verify version match — if version-specific docs unavailable, state that explicitly |
| Skipping Context7 and going directly to web search | MEDIUM | Constraint: Context7 MCP → llms.txt → WebSearch — follow the priority chain |
| Not using ?topic= on llms.txt for focused queries | LOW | Topic parameter dramatically reduces noise — always append when query is specific |
| Returning docs without source URL | MEDIUM | Constraint: always include source URL so callers can verify |
## Done When
- Context7 attempted first (resolve-library-id + query-docs)
- If Context7 insufficient: top 1-3 official doc URLs fetched via WebFetch
- API signature extracted with parameter types and return type
- Minimal working code example included
- Deprecation/version notes included if applicable
- Source URL provided
- Documentation emitted in output format
## Returns
| Artifact | Format | Location |
|----------|--------|----------|
| API reference (signature + params) | Markdown | inline |
| Minimal working code example | Code block | inline |
| Deprecation / version notes | Markdown | inline |
| Source URL | Plain text | inline |
## Cost Profile
~300-600 tokens input, ~200-400 tokens output. Haiku. Fast lookup.
**Scope guardrail:** docs-seeker looks up documentation only — it does not apply changes, write code, or interpret whether the API fits the caller's use case.
npx claudepluginhub rune-kit/rune --plugin @rune/analyticsFetches up-to-date library and framework documentation via Context7 MCP for setup questions, API references, and code examples.
Fetches up-to-date library/framework docs via Context7 MCP (resolve-library-id, query-docs) for setup questions, API references, code examples.
Fetches current library documentation via Context7 REST API for npm/PyPI packages. Use when the user needs official APIs, code examples, or migration guidance.