roc
roc is a rust cli that runs opencode codex claude code or goose in an isolated container
What XERJ indexed
Snapshot
The whole repository at commit 344089b8e9 (2026-10-22). master is 1 commit ahead.
Selected work

“Added Toktail Agent Integration”. 13 files, 308 lines in src, tests, schema.
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-25. 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
aiai-agentsclaude-codecodexcontainerdockergooseopencode
Example questions
- How does roc implement ai?
- Where does roc handle “Added Toktail Agent Integration”?
- What does schema do in roc?
Inside the indexed corpus
- 42 files, 630.9 KB in total, about 15.0 KB per file.
- The selected commit changed 13 of those files (31.0%).
- Languages by size: Rust 97.7%, Makefile 1.2%, Dockerfile 1%, Shell 0.2%.
- On GitHub since 2026-10-07, last push 2026-10-27, 20 commits on master.
- The pin is 1 commit behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for andreimerlescu/roc on 2026-10-29, and the LICENSE file at commit 344089b8e9 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Andrei Merlescu (@andreimerlescu) has 1 selected repository on the hub.
Using XERJ with roc
- A local search tool for Codex and Cursor roc 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.
- Ask questions about a GitHub repo without cloning it
The prompt
Paste it into your AI agent. It clones andreimerlescu/roc at the pinned commit and indexes it on your machine.
Search the GitHub repository andreimerlescu/roc with XERJ (https://hub.xerj.org/corpus/andreimerlescu--roc). 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/andreimerlescu/roc roc && git -C roc checkout 344089b8e91279a94115f6ccd8d90b478b4cab58 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./roc --url http://127.0.0.1:9200 --prefix roc --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: Apache-2.0. Keep the copyright notice and credit the authors.
Related
Andrei MerlescuAI, prompts and agents corporachromaharborxerj-columnarhsuanshao/AgentMemorysamzong/Recallfarion1231/cc-switch
Stats: GitHub API, fetched 2026-10-29. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.