cato-plugin

CATO: Claude Adaptive Token Optimizer - Cuts Claude Code token & prompt-cache cost with context guard, auto-compaction, output compression, BM25 sandbox and TF-IDF RepoMap

A new way for AI to search for data
View on GitHub
1GitHub stars
25commits on main
0forks
v1.4.0latest release, 2026-10-29

TypeScript 99.6%, Shell 0.4% · created 2026-10-28 · last push 2026-10-30

What XERJ indexed

Snapshot

Whole repository

The whole repository at commit 3f63e9fa8c. main is 2 commits ahead.

Selected work

Marcus Maciel
@marcusaguiarmaciel-cmd

Licence

The repository

NOASSERTION

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

The XERJ corpus

NOASSERTION, with credit

The owner added it on hub.xerj.org after signing in with GitHub, on 2026-10-29. 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

claudeclaude-codeanthropiccontext-engineeringmcpprompt-cachingtoken-optimizationai-agents

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub did not match the LICENSE file of marcusaguiarmaciel-cmd/cato-plugin to a standard licence on 2026-10-29 (NOASSERTION). At commit 3f63e9fa8c it was reviewed as NOASSERTION, and that is the licence the corpus uses.

Contributors

Marcus Maciel (@marcusaguiarmaciel-cmd) has 2 selected repositories on the hub.

Their other repository pages: marcusaguiarmaciel-cmd/cato.

Using XERJ with cato-plugin

The prompt

Paste it into your AI agent. It clones marcusaguiarmaciel-cmd/cato-plugin at the pinned commit and indexes it on your machine.

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

Related

Stats: GitHub API, fetched 2026-10-29. Selected work and consent: the XERJ registry.