From oh-my-claudecode
Invoke Gemini MCP (preferred) or parallel document-specialist agents for external web searches and documentation lookup
How this skill is triggered — by the user, by Claude, or both
Slash command
/oh-my-claudecode:external-context <search query or topic><search query or topic>The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Fetch external documentation, references, and context for a query. Uses Gemini MCP as the preferred path (single call, 1M context window); falls back to parallel document-specialist Claude agents when MCP is unavailable.
Fetch external documentation, references, and context for a query. Uses Gemini MCP as the preferred path (single call, 1M context window); falls back to parallel document-specialist Claude agents when MCP is unavailable.
ask_gemini call with agent_role="document-specialist" handles multi-facet synthesis in one shot/oh-my-claudecode:external-context <topic or question>
/oh-my-claudecode:external-context What are the best practices for JWT token rotation in Node.js?
/oh-my-claudecode:external-context Compare Prisma vs Drizzle ORM for PostgreSQL
/oh-my-claudecode:external-context Latest React Server Components patterns and conventions
Before first MCP use, call ToolSearch("mcp") to discover deferred MCP tools. If results include ask_gemini, use the Preferred path. If no MCP tools are found, use the Fallback path.
When: ToolSearch("mcp") returns ask_gemini.
.omc/prompts/ext-context-{timestamp}.md
Prompt file contents:
Search the web for external documentation, examples, and references on the following query:
**Query:** <original query>
Cover all relevant facets (up to 5). For each facet:
- Cite all sources with URLs
- Summarize key findings
- Note any version/date caveats
Output format:
## External Context: <query>
### Key Findings
1. **<finding>** - Source: [title](url)
### Detailed Results
#### Facet 1: <name>
<aggregated findings with citations>
### Sources
- [Source 1](url)
ask_gemini with background execution:ask_gemini(
agent_role="document-specialist",
prompt_file=".omc/prompts/ext-context-{timestamp}.md",
output_file=".omc/prompts/ext-context-{timestamp}-output.md",
background=True
)
wait_for_job(job_id=<returned job id>)
When: ToolSearch("mcp") returns no MCP tools (Gemini unavailable).
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:
Task(subagent_type="oh-my-claudecode: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.")
Task(subagent_type="oh-my-claudecode: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.
Regardless of path used, present 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)
npx claudepluginhub spayyavula/oh-my-claudecodeCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.