Cato Plugin — Development skill for Claude Code
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.
How to install Cato Plugin
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open marcusaguiarmaciel-cmd/cato-plugin and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cato Plugin does
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.
Alternatives in Development
- Claude Usage — A local dashboard for tracking your Claude Code token usage, costs, and session history 864 ★
- Agent Skill — A Claude Code plugin marketplace containing the ast-grep skill for powerful structural code search using Abstr 851 ★
- Obsidian Health — Run a vault health check — grouped by severity, detects contradictions, concept gaps, stale claims, and struct 277 ★
README
CATO: Claude Adaptive Token Optimizer
[](https://hub.xerj.org/contributors/marcusaguiarmaciel-cmd) [](https://github.com/sponsors/marcusaguiarmaciel-cmd) [](https://github.com/marcusaguiarmaciel-cmd/cato-plugin/releases) [](https://github.com/marcusaguiarmaciel-cmd/cato-plugin) [](https://github.com/marcusaguiarmaciel-cmd/cato-plugin/tree/main/plugin/tests)
[Português](README.pt-BR.md)
A Claude Code plugin that cuts token cost with context and prompt-cache control, automatic compaction, compression of noisy output and efficient code navigation. It runs entirely inside Claude Code, with no Python and no external process per hook, and integrates with Serena, Graphify, ast-grep and GitHub MCP.
**100% Local & Offline:** Zero network calls, zero telemetry, and zero external npm dependencies.
Quick Start (30-Second Cost & Cache Audit)
Requires Claude Code **2.1.290 or newer** (`claude update`).
- Install CATO:
/plugin install cato --marketplace marcusaguiarmaciel-cmd/cato-plugin - Audit your past sessions (instant, read-only):
Reads your existing local/cato-import /cato.jsonltranscripts and shows your real 30-day token spend, cache misses by cause (idle TTL expiration, model switches, subagents), and context-band breakdown. - Check your setup for token leaks:
/cato-doctor
Language
Reports, warnings and the status line come in **English, Portuguese or Spanish**. CATO picks the language in this order:
- The
Related Skills
Slm Gate
Decoupled local-SLM pre-processing and routing layer for MCP and cloud LLMs. Intercepts, distills, and routes
Claude Code Optimizer
Optimize Claude Code token usage — 22 skills, 8 hooks, 6 rules. One npm install. Zero manual steps. Cut costs
Mem Forget
Active forgetting — archive raw journal transcript past its TTL (default 7 days) out of active recall, after s
Claude Agent Ledger
Per-subagent cost attribution for Claude Code. Reads local JSONL session logs, computes shadow cost at margina
Saving Private Token
Are you mad at 5 minute TTL of Claude Code? Me, too. So, let's save our private token. The KV Cache Reset is S
Claude Code Cache Kit
One setting, the cost math and a checklist for Claude Code prompt caching (5-min vs 1-hour TTL)
Related Agents
Stats Analyzer
Analyzes ~/.claude/stats-cache.json and history.jsonl to produce a concise usage report with model token break
Claudehut DB Reviewer
Persistence and data-access performance review — JPA/R2DBC mappings, fetch strategy, transaction boundaries, m
Database Master
Use for database work across PostgreSQL (primary), MySQL, MongoDB, and Redis — schema and data modeling, query