Detailed installation instructions for intellisearch extension for OpenCode.
- GitHub CLI (
gh) - For direct GitHub repository search- Run
gh auth loginto authenticate - To opt out: deny
ghtool permission in OpenCode
- Run
- deepwiki - Repository Q&A (docs)
The easiest way—runs the installer which handles everything:
# Interactive installer (asks for preferences)
bunx opencode-intellisearch install
# Non-interactive, global (all projects)
bunx opencode-intellisearch install --scope global
# Non-interactive, local (current project only)
bunx opencode-intellisearch install --scope local
# Skip confirmation prompts
bunx opencode-intellisearch install --scope global --forceThe installer will:
- Copy skill and command files to
.opencode/ - Configure skill permission (
permission.skill.intellisearch: "allow") - Add MCP server configuration (deepwiki)
- Add plugin to opencode.json
Install globally or locally, then configure manually:
# Global install
bun add -g opencode-intellisearch
# Local install (project only)
bun add -d opencode-intellisearchThen add to your opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"plugins": ["opencode-intellisearch"],
"mcpServers": {
"deepwiki": {
"url": "https://mcp.deepwiki.com/mcp"
}
}
}For development and testing:
# Clone repository
git clone https://github.com/expert-vision-software/opencode-intellisearch.git
cd opencode-intellisearch
# Install dependencies
bun install
# Link globally
bun link
# Use in test project
cd /path/to/test-project
bun link opencode-intellisearch --cwd ~/.cache/opencode/node_modules/Or use path-based plugin loading in opencode.json:
{
"plugins": ["C:/dev/projects/github/opencode-intellisearch"]
}Configure in ~/.config/opencode/opencode.json or project opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mcpServers": {
"deepwiki": {
"url": "https://mcp.deepwiki.com/mcp"
}
}
}Bash:
# Global installation
ls ~/.cache/opencode/node_modules/opencode-intellisearch/
# Local installation
ls node_modules/opencode-intellisearch/PowerShell:
# Global installation
Get-ChildItem $env:USERPROFILE\.cache\opencode\node_modules\opencode-intellisearch
# Local installation
Get-ChildItem node_modules\opencode-intellisearch- Start or restart OpenCode
- Run a test query:
/search-intelligently How does React useEffect work?In OpenCode TUI:
/mcp statusVerify deepwiki server is running.
Remove from opencode.json:
{
"plugins": []
}Or for local installs:
bun remove opencode-intellisearchInstall Bun from bun.sh:
# Linux/macOS
curl -fsSL https://bun.sh/install | bash
# Windows
powershell -c "irm bun.sh/install.ps1 | iex"- Check OpenCode logs:
~/.local/share/opencode/log/ - Verify plugin is in
opencode.jsonplugins array - Ensure Bun is installed and in PATH
- Verify deepWiki MCP server is configured in opencode.json
- Check MCP server status with
/mcp status - Restart OpenCode
- Rephrase your query
- Check internet connectivity
- Verify MCP server status
- Check GitHub Issues
- Review OpenCode Documentation