opencode-intellisearch
v0.5.1
Published
[](https://opencode.ai) [](https://www.npmjs.com/package/opencode-intellisearch) [ — Just ask your agent naturally. The skill auto-loads when research is needed.
- Manual Command — Use
/search-intelligentlyfor explicit control.
Command vs Skill
| Feature | Command | IntelliSearch Skill | |---------|--------------------------------|---------------------| | Trigger | Explicit manual | Automatic on research queries | | Control | Direct | Agent decides | | Use case | Precise control | Most workflows |
TL;DR: Just talk to your agent normally. The skill handles the rest.
How It Works
IntelliSearch gives your agent a three-tier search brain that adapts to available tools:
Intelligent Tool Selection
- GitHub CLI (preferred) — Direct API access with topics, language filters, and instant results
- Web Search — Falls back to
site:github.comsearch if gh CLI unavailable - Fetch Tool — URI-based search cycling through Brave → DuckDuckGo → Google
Agent Workflow
When you ask your agent to research something, IntelliSearch:
- Detects the best available search tool (no configuration needed)
- Finds relevant GitHub repositories automatically
- Queries DeepWiki for authoritative answers from real code
- Synthesizes multiple repo insights into actionable recommendations
Result: Your agent delivers research-grade answers autonomously—no manual web searches, no browser tabs, no follow-up questions.
flowchart TD
A[Agent Query] --> B{Detect Best Tool}
B -->|gh CLI| C[GitHub API]
B -->|Search Tool| D[Web Search]
B -->|Fetch Tool| E[URI Search]
C --> F[Find Repos]
D --> G[Extract Repos]
E --> G
G --> F
F --> H[Query DeepWiki]
H --> I[Agent Gets Answer]
style A fill:#e1f5ff
style I fill:#d4edda
style H fill:#f8d7daRequirements
Runtime
- Bun - Download from bun.sh
Optional
- GitHub CLI (
gh) - Direct GitHub repository search (preferred when available)- Install from cli.github.com
- Run
gh auth loginto authenticate
MCP Servers
- deepwiki - Repository Q&A (docs)
The installer automatically configures the deepwiki MCP server. For manual setup:
{
"mcpServers": {
"deepwiki": {
"url": "https://mcp.deepwiki.com/mcp"
}
}
}Documentation
- Installation Guide — Full installation options and troubleshooting
- Contributing — Development setup and testing
- Changelog — Version history
Troubleshooting
"deepWiki unavailable"
- Verify deepWiki MCP server is configured in opencode.json
- Check MCP server status with
/mcp status
"Plugin not loading"
- Check OpenCode logs:
~/.local/share/opencode/log/ - Verify plugin is in
opencode.jsonplugins array - Ensure Bun is installed and in PATH
Development
# Install dependencies
bun install
# Type check
bun run check
# Run unit tests
bun test
# Run E2E tests
bun test:e2eLicense
MIT License - see LICENSE
