opencode-claude-code-plugin
Use claude code in opencode officially
What XERJ indexed
Snapshot
The whole repository at commit edea7a9078 (2026-10-08). master is 162 commits ahead.
Selected work

“Add a Subagents section to the TUI sidebar”. 9 files, 1,828 lines in src, test, the project root.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-22. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
ai-sdkanthropicclaudeclaude-codellm-provideropencodeopencode-plugintypescript
Example questions
- How does opencode-claude-code-plugin implement ai-sdk?
- Where does opencode-claude-code-plugin handle “Add a Subagents section to the TUI sidebar”?
- Show the anthropic code in opencode-claude-code-plugin.
Inside the indexed corpus
- 285 files, 5.0 MB in total, about 18.1 KB per file.
- The selected commit changed 9 of those files (3.2%).
- Languages by size: TypeScript 95.8%, Astro 2.4%, JavaScript 0.7%, CSS 0.7%, MDX 0.4%.
- On GitHub since 2026-03-31, last push 2026-10-31, 779 commits on master.
- The pin is 162 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for khalilgharbaoui/opencode-claude-code-plugin on 2026-10-31, and the LICENSE file at commit edea7a9078 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Khalil Gharbaoui (@khalilgharbaoui) has 1 selected repository on the hub.
Using XERJ with opencode-claude-code-plugin
- A local search tool for Codex and Cursor opencode-claude-code-plugin is tagged claude-code on GitHub.
- Local code search MCP that uses fewer tokens than grep
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones khalilgharbaoui/opencode-claude-code-plugin at the pinned commit and indexes it on your machine.
Search the GitHub repository khalilgharbaoui/opencode-claude-code-plugin with XERJ (https://hub.xerj.org/corpus/khalilgharbaoui--opencode-claude-code-plugin). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/khalilgharbaoui/opencode-claude-code-plugin opencode-claude-code-plugin && git -C opencode-claude-code-plugin checkout edea7a9078313c46d10109bff223581e01afa103 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./opencode-claude-code-plugin --url http://127.0.0.1:9200 --prefix opencode-claude-code-plu --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
Khalil GharbaouiAI, prompts and agents corporagriptapexobotyi--cc-foundry-the-coderxobotyi--cc-foundry-the-blueprintfelipesotero/opencode-hard-limitjuampymdd/claude-code-model-pickerGerardoFC8/claude-subagent-statusline
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.