Chisle
Cut your AI coding agent's token bill on three axes — terser prose, YAGNI-first code, compressed tool output — without losing accuracy.
- Source repo
- JayPokale/Chisle
- Stars
- ★ 758
- Last updated
- 4d ago
- License
- MIT
- Primary language
- JavaScript
- FA score
- 77/100 · Good
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude CodeChatGPT · Claude.ai (Partial support)
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Individual developers running Claude Code daily who want a smaller monthly token bill
- Not a fit if
- Teams that want the model to skip reading code entirely
- Projects that depend on heavy scaffolding and abstraction layers
- Environments that cannot run npx or a shell installer
- Website
- chisle.jaypokale.me ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-07latest release v3.11.1 (2026-11-06)+2.9 ★/day over 7 days
- Source review
- 77/100 · Good
What does this agent do, and when should you use it?
Chisle is an injected ruleset plus compression hooks that reduce the tokens an AI coding agent spends in a session. It attacks three points: answer prose (filler, hedging, manufactured structure), generated code (a YAGNI ladder that asks whether the code needs to exist, is already in the repo, is covered by the stdlib or a platform feature), and tool output (a PostToolUse / tool_result / postToolUse hook scrubs, elides and dedups oversized results before they re-enter the context window). One npx chisle install auto-detects and wires 13 agents including Claude Code, Pi, Cursor, Windsurf, Cline, Kiro, Antigravity, Codex, Gemini, Copilot and OpenCode, and --uninstall puts everything back; npx chisle mcp wrap proxies stdio MCP servers for the same treatment. The project has zero runtime dependencies, is MIT licensed, and commits raw benchmark transcripts including the runs it lost. Published numbers put it at 56% of a bare model's answer length on Claude Code (Haiku 4.5, 26 prompts) and 37% on Pi (GPT-5.5, 6 tasks), while auto-graded accuracy held at 156/156 vs 155/156 and 48/60 vs 49/60 with no judge model.
At session start Chisle injects a zero-fluff ruleset that forbids filler and hedging, bans unrequested abstractions, and keeps code symbols, function/API names and error strings verbatim. Before writing code the agent walks a YAGNI ladder: does this need to exist at all → is it already in this codebase → does the stdlib do it → does a native platform feature cover it → is an already-installed dependency enough → can it be one line → otherwise write the minimum that works, noting deliberate shortcuts with // chisle: comments. On the input side, Claude's PostToolUse, Pi's tool_result, the OpenCode plugin and Copilot CLI's postToolUse run scrub → elide → dedup on oversized tool output and rebuild it into the tool's own shape; Read, Edit and Write payloads are deliberately untouched so exact bytes reach later edits. npx chisle mcp wrap inserts a proxy in front of each stdio MCP server so MCP results get the same compression. Activation is toggled with /chisle, /chisle off, stop chisle or normal mode.
- Individual developers running Claude Code daily who want a smaller monthly token bill
- Teams switching between Cursor, Codex, Gemini CLI and Copilot that want one consistent brevity ruleset everywhere
- Users whose sessions are flooded by grep, log or web-fetch output and hit context limits early
- Engineering leads who want benchmark numbers backed by committed raw transcripts rather than marketing claims
- Anyone wiring MCP servers into Cursor, Windsurf, Cline, Kiro or Gemini CLI who also wants MCP payloads compressed
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx chislecurl -fsSL https://raw.githubusercontent.com/JayPokale/Chisle/main/install.sh | bashirm https://raw.githubusercontent.com/JayPokale/Chisle/main/install.ps1 | iexnpx chisle --dry-run
- Install notes cover
- Windows
How do you install or deploy this agent?
Node.js is needed to run npx, and the installer writes into each agent's config directory, so filesystem write access is required.
Install with auto-detection of installed agents:
npx chisleOr via curl / Windows PowerShell:
curl -fsSL https://raw.githubusercontent.com/JayPokale/Chisle/main/install.sh | bashirm https://raw.githubusercontent.com/JayPokale/Chisle/main/install.ps1 | iexPreview the changes, or scope to a single agent:
npx chisle --dry-run
npx chisle --only claude
npx chisle --only piRemove and restore configuration:
npx chisle --uninstallHow do you use this agent?
After install it is on by default every session. Toggle with slash commands or natural language:
/chisle
/chisle off
stop chisle
normal modeExtend compression to MCP servers:
npx chisle mcp wrapMark deliberate simplifications in generated code so they can be revisited:
// chisle: global lock, per-account locks if throughput matters
// chisle: O(n) scan, index this when table exceeds ~10k rowsWhat are this agent's strengths and limitations?
- Compresses on three axes at once — prose, code volume and tool-output input — not just prompt wording
- Commits raw benchmark transcripts and publishes the runs it lost, so claims are checkable
- Zero runtime dependencies; one
npx chislewires 13 agents and--uninstallreverts it - Accuracy is reported against a bare model with auto-grading only, no judge model (156/156 vs 155/156; 48/60 vs 49/60)
- Explicitly leaves Read/Edit/Write output untouched, protecting exact-byte edits
- Gains vary by model and prompt set — Pi shows 37% but Claude Code 56% of bare-model answer length
- Some capability is tied to specific agent hooks (Claude
PostToolUse, Pitool_result), so coverage is uneven across the 13 agents - Requires Node.js and network access for npx, and edits each agent's config files
- MCP compression needs a separate
npx chisle mcp wrapproxy process to operate - The ruleset derives from caveman and ponytail, so existing users of those tools face overlap and migration questions
How does this agent compare with similar options?
Directly benchmarked against caveman (terse prose) and ponytail (lazy-senior-dev code rules): on the same prompts Chisle reaches 56% (Claude Code) and 37% (Pi) of a bare model's answer length, versus caveman's 65%/56% and ponytail's 58%/49%. In the order-state-machine example Chisle produced 450 answer tokens against 1,140 for caveman and 842 for ponytail. The README positions it as the only tool in the class that publishes the runs where it lost.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Chisle This agent | 77 · Good | CLIFree + model costs | ★ 758 | 4d ago | JavaScript | Codex · Claude Code |
| Agentic Plugin Marketplace | 70 · Some gaps | Agent plugin / skillFree + model costs | ★ 42k | 2d ago | Python | Codex · Claude Code |
| Netresearch Agentic Skills Marketplace | 63 · Some gaps | Agent plugin / skillFree | ★ 90 | 2d ago | JavaScript | Codex · Claude Code |
| Crewplane | 76 · Some gaps | CLIFree + model costs | ★ 48 | 1d ago | Python | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The docs and code describe compression for Bash, Agent, search, and MCP outputs, explicitly excluding Read/Edit/Write; Pi docs warn that extensions have user permissions, and the config layer is described as symlink-safe. Dry-run, uninstall, and restore paths make effects inspectable and reversible. Deductions: hook commands can swallow failures with exit 0, and installation changes global settings or denies tools without evidence that each change requires itemized confirmation; security handling is only partly auditable from the supplied code sample. Author attribution and npm/GitHub update paths are clear, while publisher identity remains unknown as instructed.
Version references across plugin metadata, package metadata, and agent manifests are broadly consistent; CI covers Node 18/20/22, tests, and generated-file checks. Docs explain upgrade caching and legacy configuration behavior. Deductions: README counts and scope wording for supported agents are not perfectly aligned; operation requires Node >=18 plus npm or agent-specific environments; hooks often suppress failures, and the supplied evidence shows limited diagnostics.
The product targets multiple coding agents and documents per-agent installation, activation, configuration, and Windows setup. It distinguishes runtime rules, static rules, and MCP wrapping, including feature differences by agent. Deductions: natural-language triggers are broad, static copies cannot honor some runtime configuration, and the supplied material does not establish equal compatibility across every listed agent and environment.
README, installation and usage guides, skills, policy, and security docs have clear roles. Commands, FAQ, configuration, limitations, MIT licensing, and update instructions are substantial, with consistent version metadata in the main manifests. Deductions: the changelog body is not included in the evidence, so maintenance history cannot be checked; maintainer and security contact are identified, but organizational continuity is limited.
The rules provide concrete brevity, YAGNI, and safety guidance, while audit/review skills specify usable output formats. Docs point to raw benchmark paths, discuss losing runs, and report quality and agentic results, suggesting meaningful savings. Deductions: those results remain repository claims in this static review and were not reproduced; compression can alter visible context, and benefits vary by model, task, and session.
README ties benchmark, quality, and agentic claims to repository raw-cell paths and methods, distinguishes directly counted input savings from A/B-estimated output savings, and acknowledges run noise and losses. Deductions: the evidence packet omits the referenced raw data and method-file contents, no independent corroboration is supplied, and several effectiveness claims remain maintainer-reported rather than verified here.
- Review --dry-run output before installation; setup configures agent hooks or rules, and the docs state that Pi extensions run with user permissions.
- Tool-output compression removes context; compare important logs or diagnostics with raw output, and verify the Read/Edit/Write exclusion for the integration you use.
- Benchmark and accuracy figures come from repository materials; this review did not execute or independently reproduce them.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
Changelog All notable changes to Chisle are documented here. Format loosely follows [Keep a Changelog](https://keepachangelog.com/). [Unreleased] [3.11.1] - 2026-11-07 Added - npx chisle mcp wrap covers Antigravity, Codex and GitHub Copilot in VS Code. Antigravity: ~/.gemini/config/mcp_config.json. Copilot: the VS Code user mcp.json (Code, Code Insiders, VSCodium), keyed servers. Codex: ~/.codex/config.toml (honors CODEX_HOME); only the command/args lines of [mcp_servers.<name>] tables change, tables with non-string values are skipped, and the original sta …View on GitHub ↗ -
Release notes excerpt
Changelog All notable changes to Chisle are documented here. Format loosely follows [Keep a Changelog](https://keepachangelog.com/). [Unreleased] [3.11.0] - 2026-11-07 Minor: npx chisle tools trims skill descriptions as well as tool schemas; README and site show correctness up front. Added …View on GitHub ↗ -
Release notes excerpt
Changelog All notable changes to Chisle are documented here. Format loosely follows [Keep a Changelog](https://keepachangelog.com/). [Unreleased] [3.10.0] - 2026-11-07 Minor: npx chisle tools trims unused tool schemas, and the benchmarks start over from the 3.9 runs. Added - npx chisle tools: trim unused tool schemas. Claude Code sends every loaded tool's schema on every request. The command reads your transcripts and reports each heavy tool's schema size against your own calls over the last 30 days; tools trim adds the unused non-core ones to permissions.deny (a w …View on GitHub ↗
FAQ
Will terser rules make the agent skip necessary work?
// chisle: comments. Benchmarked accuracy matched the bare model.How much does it actually save?
Which agents are supported, and does my code need changes?
npx chisle detects and wires Claude Code, Pi, Cursor, Windsurf, Cline, Kiro, Antigravity, Codex, Gemini, Copilot, Copilot CLI, OpenCode and Hermes. No application code changes are needed; some agents only get ruleset injection without the tool-output hook.How do I turn it off or remove it?
/chisle off, stop chisle or normal mode inside a session (stop chisle also disables input-side compression), or run npx chisle --uninstall to remove everything.How does MCP output compression work?
npx chisle mcp wrap, which places a proxy in front of each stdio MCP server for Cursor, Windsurf, Cline, Kiro, Gemini, Qwen Code and Copilot CLI — an additional local process to manage.Is Chisle free?
Does Chisle work on Windows?
irm https://raw.githubusercontent.com/JayPokale/Chisle/main/install.ps1 | iex.Is Chisle open source?
Is Chisle safe to use?
Is Chisle still maintained?
Who makes Chisle?
What is Chisle's official website?
Thanks — we use this to improve the page.