Marcus Maciel

Marcus Maciel

Corpus Hub contributor since 2026-10-27

Marcus Maciel's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

2corpora
1selected commit
25files
4,504lines
★ 5GitHub stars on repos

Totals across every corpus @marcusaguiarmaciel-cmd appears in; a commit selected for two corpora counts once. Files and lines count the selected commits; each corpus indexes the whole repository at its pinned commit.

What an agent can do with the cato-plugin corpus

marcusaguiarmaciel-cmd/cato-plugin: Cut Claude Code token costs by 35-80% with prompt-cache TTL tracking, pre-read structural indexing, noisy CLI pruning, and multi-session…

Example questions
Paste it into your AI agent. It clones the repo 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 d2fd58862435cc35b9561997d6f155e124c78780
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.

corpus marcusaguiarmaciel-cmd--cato-plugin · AI, prompts and agents
Related corpora: xobotyi--cc-foundry-the-writer, xobotyi--cc-foundry-the-coder, Sagargupta16/claude-cost-optimizer, GladLuter/Alethite
AI search and retrieval with XERJ · Case study: reference coding for agents

Selected work

GitHub ★ 3

marcusaguiarmaciel-cmd/cato-plugin

Cut Claude Code token costs by 35-80% with prompt-cache TTL tracking, pre-read structural indexing, noisy CLI pruning, and multi-session subagent ledger. Zero Python, 100% local

On GitHub: 38 commits · 52 files at the pinned commit · created 2026-10 · last push 2026-10-31
Languages: TypeScript 100%

The corpus is the whole repository at the pinned commit, not only the files of the selected commit.

live on the hub · licence clearedcorpus marcusaguiarmaciel-cmd--cato-pluginAINOASSERTIONclaude-codeanthropicmcpprompt-cachingtoken-optimizationai-agents agreed 2026-10-29
GitHub ★ 2

marcusaguiarmaciel-cmd/cato

Claude Adaptive Token Optimizer: Zero-dependency, cache-preserving token optimization toolkit for Claude Code CLI and Desktop

On GitHub: 11 commits · 39 files at the pinned commit · created 2026-10 · last push 2026-10-31
Languages: Python 100%
712bd56fb6 feat: release CATO (Claude Adaptive Token Optimizer) v0.1.0
selected commit: 25 files · 4,504 lines · Python · src/cato, tests, the project root

The corpus is the whole repository at the pinned commit, not only the files of the selected commit.

live on the hub · licence clearedcorpus marcusaguiarmaciel-cmd--catoAIMITai-agentsanthropicastclaude-codecontext-engineeringdeveloper-tools agreed 2026-10-27
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/marcusaguiarmaciel-cmd/badge.svg)](https://hub.xerj.org/contributors/marcusaguiarmaciel-cmd)

Included with the author's permission (email, 2026-10-27), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.