cli
Open-source access layer for coding agents. Scoped secrets, APIs, tools, files, and dependencies for Claude Code, Codex, Cursor, and more
What XERJ indexed
Snapshot
Only docker/agent-sandbox, docs, src/cmd, src/handlers/agent, src/handlers/run at commit ca76d6a9f7 (2026-10-09). master is 143 commits ahead.
Selected work

“refresh agent CLIs on docker build --force and flag stal…”. 5 files, 322 lines in src/handlers, docker, src/cmd.
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-09. 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
agent-securityagent-security-toolsclaude-codecodexcodex-clicoding-agentssecrets-managementdocker-container
Example questions
- How does cli implement agent-security?
- What does src/handlers do in cli?
- Show the agent-security-tools code in cli.
Inside the indexed corpus
- Languages by size: Rust 99.3%, Shell 0.5%, Dockerfile 0.2%.
- On GitHub since 2023-10-06, last push 2026-10-31, 3,108 commits on master.
- The pin is 143 commits 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 stashbase/cli on 2026-10-31, and the LICENSE file at commit ca76d6a9f7 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Radim Höfer (@radim10) has 1 selected repository on the hub.
Using XERJ with cli
- A local search tool for Codex and Cursor cli 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 stashbase/cli at the pinned commit and indexes it on your machine.
Search the GitHub repository stashbase/cli with XERJ (https://hub.xerj.org/corpus/stashbase--cli). 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/stashbase/cli cli && git -C cli checkout ca76d6a9f783b8b95eba9e3713c4459f5a90372e 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./cli --url http://127.0.0.1:9200 --prefix cli --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
Radim HöferAI, prompts and agents corporar2r-mcpadmission-comparer2r-enforceajhcs/Codex-Co-EngineerDayifour/nexusmagicsih/chda
Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.