Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay.
-
Updated
Oct 21, 2026 - Python
Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay.
Compact coding-agent context without summarizing it away. Verbatim, offline, with a receipt and recall for every cut. CLI, MCP server, Claude Code plugin. MIT.
A modular toolkit for Claude Code to optimize context, planning, and agent execution with lower token usage and less repeated codebase discovery.
Trim Python code for LLMs by removing comments, docstrings, and whitespace. Save AI tokens, reduce API costs, and fit more code into ChatGPT, Claude, and Gemini.
Cut up to 75% of tokens for Grok • GPT • Claude • Llama • Gemini 100% offline • Open source • AI-safe token minifier
Reduce LLM token usage by 40–75 percent with this CLI tool and SDK. Optimize prompts for Claude, OpenAI, and other models without needing an API key.
Local-first context hygiene tooling for AI coding sessions
Your terminal produced 3,812 tokens. TokShrink reduced it to 402. 89% fewer tokens. Same useful information. Ready to paste into Claude / ChatGPT / Copilot.
Next-Gen Token, Context & Output Optimization Suite for Google Antigravity IDE & CLI
✂️ Scissors#: An AST-based code optimizer and token pruner for Claude Code, Cursor, and Codex CLI agents.
To associate your repository with the token-optimizer topic, visit your repo's landing page and select "manage topics."