Quickstart¶
Board up. Search available. Under five minutes.
Using Claude Code? One command is all you need.
Full details in the Claude Code install guide.1. Install the plugin (OpenCode)¶
Add the package to opencode.json:
OpenCode installs npm plugins automatically at startup.
2. Enable optional web search¶
The web source uses SearXNG, so web search needs a SearXNG instance with format=json enabled.
See SearXNG setup for the exact instance requirements.
3. Use it when the task is broad¶
Reach for opensearch when you need to search, compare evidence, gather official docs, or combine local context with public references.
Good prompts:
- "Search how this repo handles plugin loading and compare it with official docs"
- "Look into rate limiting patterns for SearXNG and grep.app"
- "Gather evidence for how source adapters should be extended"
4. Narrow the search when needed¶
The tool accepts:
querysources?: ("session" | "web" | "code")[](OpenCode: all three; Claude Code:"web"and"code"only)depth?: "quick" | "thorough"
Examples:
{
"query": "semantic-release trusted publishing github actions",
"sources": ["web"],
"depth": "thorough"
}
5. Read the result status first¶
The response always includes an explicit status.
okmeans synthesis succeeded (OpenCode only)rawmeans raw results were returnedraw_fallbackmeans source collection worked but synthesis failed (OpenCode only)no_sourcesmeans nothing eligible could runno_resultsmeans searches ran but returned no usable evidence
See Result contract for the full shape.