codebase-cli

codebase/codebase-cli (TypeScript)

A new way for AI to search for data
View on GitHub
2GitHub stars

TypeScript

What XERJ indexed

Snapshot

Whole repository

Only src/agent, src/commands/builtins, src/glue, src/headless, src/ui-pi at commit 4ff070d2c1 (2026-10-06).

Selected work

halfaipg
@halfaipg

“display confirmed Codebase inference receipts”. 11 files, 538 lines in src/agent, src/commands, src/ui-pi.

Licence

The repository

MIT

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

MIT, with credit

The author agreed by email on 2026-11-02. 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

Example questions

The prompt

Paste it into your AI agent. It clones codebase/codebase-cli at the pinned commit and indexes it on your machine.

Search the GitHub repository codebase/codebase-cli with XERJ (https://hub.xerj.org/corpus/codebase--codebase-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/codebase/codebase-cli codebase-cli && git -C codebase-cli checkout 4ff070d2c19188d3a3b08a12de55ab5847beb92b
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./codebase-cli --url http://127.0.0.1:9200 --prefix codebase-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: MIT. Keep the copyright notice and credit the authors.

Related

Selected work and consent: the XERJ registry.