Kulaxyz/token-diet
561 stars · Last commit 2026-07-04
Always-on token-efficiency skill for coding agents (Claude Code, Codex, Cursor, Windsurf, Cline). ~31% lower bill on average, no loss of correctness.
README preview
# token-diet Always-on token-efficiency skill for coding agents — **Claude Code, Codex, Cursor, Windsurf, Cline**. Trims tokens across the whole session (replies, docs, tests, code, context, tool use) without losing correctness. **≈31% lower bill on average** (−17% to −54% by session type) and **−30% to −81% output** on real Sonnet 5 runs. *trim the fat, keep the muscle.* ## Install ```bash # one-liner — auto-detects Claude Code, Codex, etc.: curl -fsSL https://raw.githubusercontent.com/Kulaxyz/token-diet/main/install.sh | bash # pass options through `bash -s --`, e.g. the telegraphic level: curl -fsSL https://raw.githubusercontent.com/Kulaxyz/token-diet/main/install.sh | bash -s -- --ultra ``` Or clone and run `./install.sh` (`--ultra` telegraphic chat · `--uninstall` remove).