skills/external-context/SKILL.md
Invoke parallel document-specialist agents for external web searches and documentation lookup
npx skillsauth add Thomashighbaugh/opencode external-contextInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Fetch external documentation, references, and context for a query. Decomposes into 2-5 facets and spawns parallel document-specialist OpenCode agents.
/external-context <topic or question>
/external-context What are the best practices for JWT token rotation in Node.js?
/external-context Compare Prisma vs Drizzle ORM for PostgreSQL
/external-context Latest React Server Components patterns and conventions
Given a query, decompose into 2-5 independent search facets:
## Search Decomposition
**Query:** <original query>
### Facet 1: <facet-name>
- **Search focus:** What to search for
- **Sources:** Official docs, GitHub, blogs, etc.
### Facet 2: <facet-name>
...
Fire independent facets in parallel via Task tool:
call_omo_agent(subagent_type="document-specialist", model="sonnet", prompt="Search for: <facet 1 description>. Use WebSearch and WebFetch to find official documentation and examples. Cite all sources with URLs.")
call_omo_agent(subagent_type="document-specialist", model="sonnet", prompt="Search for: <facet 2 description>. Use WebSearch and WebFetch to find official documentation and examples. Cite all sources with URLs.")
Maximum 5 parallel document-specialist agents.
Present synthesized results in this format:
## External Context: <query>
### Key Findings
1. **<finding>** - Source: [title](url)
2. **<finding>** - Source: [title](url)
### Detailed Results
#### Facet 1: <name>
<aggregated findings with citations>
#### Facet 2: <name>
<aggregated findings with citations>
### Sources
- [Source 1](url)
- [Source 2](url)
tools
Analyze a codebase and auto-generate project-specific agents, skills, tools, and rules into .opencode/. Project wrappers inject deep project context into subagents for dramatically more effective AI assistance.
development
Synchronize opencode.jsonc with the latest OpenCode config schema from Context7. Checks schema, detects drift, and updates config to remain compliant.
development
Enforce the <Agent_Prompt> XML wrapper convention across all agent definition files. Scan, validate, and auto-fix non-compliant agents.
development
Auto-maintained vector DB for semantic search over .opencode/context/ — zero manual triggers needed