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.
★ 1,110⑂ 71👁 4⑃ 24● 24▤ 25
+70
Daily
1,110
stars
71
forks
4
watchers
24
prs
24
issues
25
releases
README
English · Español · 한국어 · 简体中文 · 日本語
Fewer tokens than caveman and ponytail. No accuracy lost.
bash
npx chisle
See both answers
The prompt: "Implement an order state machine covering created, paid, shipped, delivered, cancelled and refunded, with the legal transitions enforced and invalid ones rejected." Excerpts from the verbatim committed answers in raw-nov-sidebyside/large-s2:
no ruleset: 121 lines, 1,186 answer tokensChisle: 62 lines, 530 answer tokens
python
class OrderStateError(Exception):
"""Raised when an invalid state transition is attempted."""
pass
class Order:
Define valid transitions: state - list of allowed next states
VALID_TRANSITIONS = { … }
def transition_to(self, next_state):
"""Transition to the next state. Raises OrderStateError if invalid."""
def can_transition_to(self, next_state):
"""Check if a transition is allowed without performing it."""
…plus usage, tests, printed output and a recap of the transitions.
python
class OrderStateMachine:
TRANSITIONS = {
"created": {"pay", "cancel"},
"paid": {"ship", "refund", "cancel"},
…
}
def transition(self, event):
if event not in self.TRANSITIONS[self.state]:
raise ValueError(f"Cannot {event} from {self.state}. …")
self.state = self.STATE_MAP[(self.state, event)]
return self.state
Then a short usage block.
Every raw transcript is committed, losses included. Method and data · why we publish the losses
Other ways to install
bash
Claude Code plugin marketplace
claude plugin marketplace add JayPokale/Chisle
claude plugin install chisle@chisle
curl
curl -fsSL https://raw.githubusercontent.com/JayPokale/Chisle/main/install.sh | bash
powershell
Windows
irm https://raw.githubusercontent.com/JayPokale/Chisle/main/install.ps1 | iex
Per-agent setup, upgrading and config: docs/usage.md.
⭐ Star the repo: it costs zero tokens.
MIT · Contributing · Began as a merge of caveman and ponytail (notices)Discussions
#52Is Chisle only compatible with Codex CLI and not Codex desktop app?1 comments · 2026-11-14#18Chisle 3.5.0 — output styles stop fighting Chisle, and OMP works again2 comments · 2026-09-19#13Chisle isn't firing for my agent: start here0 comments · 2026-09-17
Latest release
v3.12.1 v3.12.1 2026-11-14Changelog All notable changes to Chisle are documented here. Format loosely follows Keep a Changelog. [Unreleased] [3.12.1] - 2026-11-14 Patch: the Pi extension stops re-adding its rules every turn when a rules section is turned off, and Windows fixes from @anhtahaylove. Fixed - Pi/OMP rules injected once with any sections config. With sections.code=false, the extension no longer recognized its own rules in the system prompt and appended them again on every turn. It now also matches its CHISLE ACTIVE header plus Boundaries, which the sections filter never drops. (51) - benchmarks/run-