jeremiebergel

Context Manager Intelligence — AI skill for Claude Code

AI community

Cut what your coding agent re-sends.

How to install Context Manager Intelligence

This entry records only its repository, not the path inside it, so there is no exact command to give. Open jeremiebergel/context-manager-intelligence and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Context Manager Intelligence does

Cut what your coding agent re-sends. Cache-aware, zero-LLM context engine + local proxy for Claude Code, Codex, Hermes. Lossless, ~20 ms.

Alternatives in AI

  • OmniGlyph — Cut your Claude bill 59–70% by rendering bulky LLM context as dense PNG pages — 100% read accuracy, exact per 99 ★
  • Deterministic Agent Control Protocol — Governance gateway for AI agents — bounded, auditable, session-aware control with MCP proxy, shell proxy & HTT 88 ★
  • Aeroric — A desktop task manager for AI coding agents like Claude Code and Codex, with multi-project workspaces, live te 57 ★

README

CMI — Context Manager Intelligence

Cut what your coding agent re-sends. Pay less on long sessions. Lose nothing.
A deterministic, zero-LLM context engine and local proxy for Claude Code, Codex, Hermes and any Anthropic/OpenAI-compatible agent.

license MIT python 3.10+ no LLM, no network, no telemetry overhead

854 million tokens never sent, across 705 real coding-agent sessions (−23.7%)

Tokens sent with and without CMI

On long sessions CMI removes 33% to 46% of the tokens sent, and 19% to 28% of the modelled cost.
The six largest wins above are real sessions from the author's own ledger.

Why CMI

  • It optimizes your bill, not a token counter. With prompt caching, shortening an old message can cost more than it saves. CMI prices every rewrite against the provider's cache rules and only acts when it pays back. On the same 9 real sessions, replayed offline with one cost formula: CMI −5.2%, Headroom +8.2%, Tamp 0.0%.
  • Long sessions are where it shines. A 162-million-token Hermes session sent 87 million with CMI (−46%, modelled cost −27.5%); a 74M session sent 46M (−38%, cost −25.7%); a live Opus session −36% tokens, −24.4% cost; a 2,441-request Claude Code session −21.5% cost on replay. Across the author's whole ledger: 3,601M → 2,747M tokens, modelled cost −12.4%. Short sessions are left alone (0%): CMI only acts when it pays back.
  • Nothing is lost. Every shortened result is stored first and comes back byte-exact