marcusaguiarmaciel-cmd

Cato Plugin — Development skill for Claude Code

Development community

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

[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/marcusaguiarmaciel-cmd/badge.svg)](https://hub.xerj.org/contributors/marcusaguiarmaciel-cmd) [![Sponsor CATO](https://img.shields.io/badge/Sponsor-%E2%9D%A4-ea4aaa?logo=github-sponsors)](https://github.com/sponsors/marcusaguiarmaciel-cmd) [![Release](.github/assets/release.svg)](https://github.com/marcusaguiarmaciel-cmd/cato-plugin/releases) [![Claude Code](https://img.shields.io/badge/Claude_Code-%E2%89%A5_2.1.290-38bdf8)](https://github.com/marcusaguiarmaciel-cmd/cato-plugin) [![Tests](.github/assets/tests.svg)](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.

CATO /cato and /cato-doctor terminal preview

Quick Start (30-Second Cost & Cache Audit)

Requires Claude Code **2.1.290 or newer** (`claude update`).

  1. Install CATO:
    /plugin install cato --marketplace marcusaguiarmaciel-cmd/cato-plugin
  2. Audit your past sessions (instant, read-only):
    /cato-import
    /cato
    Reads your existing local .jsonl transcripts and shows your real 30-day token spend, cache misses by cause (idle TTL expiration, model switches, subagents), and context-band breakdown.
  3. 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:

  1. The