JayPokale/Chisle
Cut your AI coding agent's token bill on three axes: terse prose, YAGNI-first code, and tool-output compression. Claude Code, Pi, Cursor, Codex, Gemini + 4 more. Zero deps, published benchmarks including the runs it loses.
What it solves
Chisle reduces the token usage and costs associated with AI coding agents like Claude Code, Cursor, and others. It minimizes both the output generated by the model (by removing filler and boilerplate) and the input context (by compressing oversized tool outputs that are otherwise re-billed in every turn of a conversation).
How it works
Chisle operates on two axes:
- Output Compression: It injects a ruleset into the AI session that enforces a "YAGNI" (You Ain't Gonna Need It) efficiency ladder, encouraging the model to skip unnecessary abstractions, use standard libraries, and write the minimum code required to solve a problem.
- Input Compression: It uses a
PostToolUsehook and an MCP proxy to scrub, elide, and deduplicate tool outputs before they re-enter the context window. This prevents the model from being re-billed for massive, redundant logs or data dumps.
Who it’s for
It is designed for developers who use AI coding agents and want to lower their API costs and reduce "noise" in their chat sessions without sacrificing the quality or functionality of the generated code.
Highlights
- Zero dependencies: A lightweight plugin that installs with a single command.
- Broad compatibility: Works with a wide range of agents including Claude Code, Cursor, Windsurf, Cline, Gemini, and the Copilot CLI.
- Transparent benchmarks: The project publishes performance data, including "loss" cases, showing significant reductions in token counts compared to bare models.
- Configurable: Supports easy activation/deactivation via natural language commands or CLI flags.
Related
- Project
- Project
- Dispatch
- Project
- Project