name: external-scout description: Fetch external library and framework documentation. Use when you need current API patterns for npm packages, Python libraries, or other external dependencies. Invokes the external-scout subagent to fetch and cache documentation from Context7 and other sources. context: fork
Purpose: Fetch current documentation for external libraries and frameworks. This skill invokes the
external-scoutsubagent to retrieve and cache up-to-date API patterns from Context7 and other documentation sources.
Invoke /external-scout when you need to:
Rule of thumb: If you're using ANY external package (npm, pip, etc.), fetch current docs FIRST.
Training data is outdated. Libraries change their APIs, deprecate features, and introduce new patterns. Using ExternalScout ensures you're implementing with current, correct patterns.
Examples of what can go wrong without current docs:
This skill runs in the external-scout subagent (isolated context) and:
.tmp/external-context/{package}/{topic}.md/external-scout <package> <topic>
Examples:
/external-scout drizzle schemas
/external-scout react hooks
/external-scout express middleware
/external-scout zod validation
/external-scout prisma queries
Provide additional context to focus the documentation search:
/external-scout drizzle schemas - Building user authentication with PostgreSQL
/external-scout react hooks - Building a form with validation
/external-scout express middleware - Adding JWT authentication
The external-scout subagent returns JSON with cached file paths:
{
"status": "success",
"package": "drizzle",
"topic": "schemas",
"cached": true,
"files": [
".tmp/external-context/drizzle/schemas.md"
],
"metadata": {
"cachedAt": "2026-02-16T10:30:00Z",
"source": "context7",
"age": "fresh"
},
"message": "Documentation cached successfully. Load files to access current API patterns."
}
{
"status": "cache_hit",
"package": "react",
"topic": "hooks",
"cached": true,
"files": [
".tmp/external-context/react/hooks.md"
],
"metadata": {
"cachedAt": "2026-02-14T15:00:00Z",
"source": "context7",
"age": "2 days"
},
"message": "Using cached documentation (2 days old). Load files to access API patterns."
}
Read the files returned by ExternalScout:
Read: .tmp/external-context/drizzle/schemas.md
This file contains current API patterns, examples, and best practices.
Use the loaded documentation to:
Now that you have current docs, implement following the verified patterns.
This skill is part of the 6-stage OAC workflow:
/context-discovery for internal context/external-scout for external library docsYou: "I need to implement database schemas with Drizzle"
Action:
/external-scout drizzle schemas
Result: ExternalScout fetches current Drizzle schema API patterns
Next Steps:
.tmp/external-context/drizzle/schemas.mdYou: "I'm building a form with React hooks"
Action:
/external-scout react hooks - Building a form with validation
Result: ExternalScout fetches current React hooks documentation
Next Steps:
.tmp/external-context/react/hooks.mdYou: "I need to add JWT authentication middleware to Express"
Action:
/external-scout express middleware - JWT authentication
Result: ExternalScout fetches current Express middleware patterns
Next Steps:
.tmp/external-context/express/middleware.md.tmp/external-context/
├── drizzle/
│ ├── .metadata.json
│ ├── schemas.md
│ └── queries.md
├── react/
│ ├── .metadata.json
│ └── hooks.md
└── express/
├── .metadata.json
└── middleware.md
Cache files are managed by the cleanup script:
ExternalScout behavior can be configured via .oac config file:
# External scout settings
external_scout.enabled: true
external_scout.cache_enabled: true
external_scout.sources: context7
Settings:
external_scout.enabled - Enable/disable external documentation fetchingexternal_scout.cache_enabled - Enable/disable caching (always fetch if false)external_scout.sources - Documentation sources to use (context7, web, etc.)Cause: Context7 API unavailable or network issue
Solution:
Cause: Cached documentation is > 7 days old
Solution: This is normal behavior. ExternalScout will automatically fetch fresh docs.
Cause: Package may not be indexed in Context7 yet
Solution:
Fetch external documentation for: $ARGUMENTS
Check cache first, fetch if needed, and return file paths for loading.