Retrieve up-to-date documentation for software libraries, frameworks, and components via the Context7 API. This skill should be used when looking up documentation for any programming library or framework, finding code examples for specific APIs or features, verifying correct usage of library functions, or obtaining current information about library APIs that may have changed since training.
Fetches live, version-specific documentation for external libraries and frameworks using the Context7 API. Ensures you always get current API patterns instead of potentially outdated training data.
Golden Rule: Always fetch live docs for external libraries—training data may be outdated.
The ExternalScout subagent is the recommended way to fetch external documentation. It handles:
Invocation:
Use ExternalScout to fetch documentation for [Library Name]: [your specific question]
Example:
Use ExternalScout to fetch documentation for Drizzle ORM: How do I set up modular schemas with PostgreSQL?
You can also invoke the Context7 skill directly via bash:
# Step 1: Search for library
curl -s "https://context7.com/api/v2/libs/search?libraryName=LIBRARY&query=TOPIC" | jq '.results[0]'
# Step 2: Fetch documentation
curl -s "https://context7.com/api/v2/context?libraryId=LIBRARY_ID&query=OPTIMIZED_QUERY&type=txt"
See SKILL.md for detailed API documentation.
See library-registry.md for the complete list of supported libraries including:
User Query
↓
ContextScout (searches internal context)
↓
No internal context found
↓
ContextScout recommends ExternalScout
↓
ExternalScout invoked
├─ Reads library-registry.md
├─ Detects library
├─ Loads query patterns
├─ Fetches from Context7 API
├─ Filters & sorts results
└─ Returns formatted documentation
↓
User receives current, actionable docs
SKILL.md - Context7 API documentation and usagelibrary-registry.md - Supported libraries, aliases, and query patternsREADME.md - This file (overview and quick start)To add a new library to the registry:
library-registry.md#### Library Name
- **Aliases**: `alias1`, `alias2`, `package-name`
- **Docs**: https://example.com/docs
- **Context7**: `use context7 for library-name`
- **Common topics**: topic1, topic2, topic3
.opencode/agent/subagents/core/externalscout.md.opencode/agent/subagents/core/contextscout.mdSearch for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer