core-brain
Why should context be limited? Build smarter memory for your AI agents
What XERJ indexed
Snapshot
Only docs, global/codex/adapters/context-inject, global/codex/helpers, global/codex/rules, global/codex/skills/a-new-brain-storm, scripts, tests at commit af77bf29e1 (2026-10-22). main is 13 commits ahead.
Selected work
“improves”. 6 files, 222 lines in global, tests, scripts.
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-23. 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
- Where does core-brain handle “improves”?
- What does global do in core-brain?
Inside the indexed corpus
- 185 files, 2.6 MB in total, about 14.6 KB per file.
- The selected commit changed 6 of those files (3.2%).
- Languages by size: Python 56.2%, TypeScript 25.5%, JavaScript 16%, Shell 2.3%.
- On GitHub since 2026-09-02, last push 2026-10-31, 49 commits on main.
- The pin is 13 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for open-eletric-sheep-count/core-brain on 2026-10-31, and the LICENSE file at commit af77bf29e1 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Edson Vicente Carli Junior (@gandb) has 1 selected repository on the hub.
Using XERJ with core-brain
- 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
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
The prompt
Paste it into your AI agent. It clones open-eletric-sheep-count/core-brain at the pinned commit and indexes it on your machine.
Search the GitHub repository open-eletric-sheep-count/core-brain with XERJ (https://hub.xerj.org/corpus/open-eletric-sheep-count--core-brain). 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/open-eletric-sheep-count/core-brain core-brain && git -C core-brain checkout af77bf29e18c153039b1467884b9b6836d6e3c43 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./core-brain --url http://127.0.0.1:9200 --prefix core-brain --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
Edson Vicente Carli JuniorAI, prompts and agents corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.
