Chisle
The coding-agent plugin that bills 52% of a bare model across 20 live tasks. Terse persona + tool-output compressor + context diet.
The open-source, multi-CLI alternative to Fermat's Last Token: a local proxy that trims what Claude Code, Codex, OpenCode and Kora send to the model.
Developer toolsGitHub @andsigno82OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Repository information has not been collected yet.
No updates detected yet. GitHub releases will appear here.
The open-source, multi-CLI alternative to Fermat's Last Token: a local context-compression proxy for Claude Code, Codex, OpenCode and Kora
Loading the full README.
Read the full README ↗The open-source, multi-CLI alternative to Fermat's Last Token.
toonarrow is a local proxy that cuts the tokens your coding agents send, by rewriting their context before it reaches the provider. It works with Claude Code, Codex, OpenCode and Kora (Desktop and CLI), runs entirely on your machine, needs no account, and is Apache-2.0 licensed.
"I have discovered a truly marvelous proof of this, which this margin is too narrow to contain." Pierre de Fermat, in the margin of his Arithmetica.
Your context window is the margin. toonarrow makes the proof fit.
Coding agents resend the whole conversation on every turn: the system prompt, every tool definition, every file they read and every command output. Most of it is noise the model does not need verbatim, and you pay for it again on every request.
Measured on real sessions:
| What | Before | After |
|---|---|---|
| OpenCode system prompt with 688 installed skills (first request, gpt-6-luna) | 85,436 input tokens | 25,559 (-70%) |
| Codex skill listing with 519 skills (every session start, lossless) | 39,367 chars | 17,775 (-55%) |
| Output tokens of the main agent with the short-answer rule (Claude Code, Haiku, 2 paired runs) | 2,933 / 2,278 | 1,617 / 1,748 |
Shell outputs from a real TypeScript monorepo (git log, grep, tsc, ls -la, ...) | 100% | 56% |
Over a whole working history the shell rules matter less than the table suggests: most of what agents read is file
content (cat, sed -n, Read), which toonarrow passes through untouched. On the author's last 60 days
(toonarrow estimate, every tool result counted once) they removed 2.0% of Claude Code's tool-result tokens, 2.3% of
Codex's, 8.3% of OpenCode's and 4.2% of Kora's. The large, repeated savings come from the skill listings, the
short-answer rule and, on Claude Code, the file tools. Run toonarrow estimate to get the numbers for your own
sessions before routing any traffic through it.
ls -l, git log/status, grep/rg, find/fd, pytest,
vitest/jest, tsc, go test, cargo, npm/pip install, make, applied only where the command that
produced the output is certain: a simple command, the last step of cd dir && …, or the head of a pipe whose
other stages only select lines (| head, | grep pattern). Codex's code-mode scripts are read the same way,
one result per command, including the output of a command still running (write_stdin). Every compressed
output tells the model how to get the raw one (| cat)."skills": true, the skills you actually use keep their description in every client's listing and the
rest are listed by name, still loading on demand; toonarrow skills --write ranks them from your local history.Search (several files per call, folded grep results, tree-sitter
outlines) and Edit (atomic batched edits with a read-gate): on by default with toonarrow claude, opt-in with
--toonarrow-tools for OpenCode and Codex.developer_instructions, never instead of them).toonarrow stats, in tokens, per day, session, model and client;
toonarrow estimate replays your local history offline.| Claude Code | Codex | OpenCode | Kora Desktop / CLI | |
|---|---|---|---|---|
| Shell output rules | Bash | code-mode exec, exec_command, write_stdin | bash/shell | executeCommand |
| Search result rewrite | - | - | grep | searchCode |
| Skill listing | - | regrouped (lossless), descriptions with "skills": true | with "skills": true | with "skills": true |
File tools (Search, Edit) | on (toonarrow claude) | --toonarrow-tools | --toonarrow-tools | - |
| Short-answer rule | on | on | on | - |
| Transport | HTTP | Responses WebSocket or HTTP | HTTP, Responses WebSocket with an OpenAI sign-in | HTTP, Responses WebSocket with the OpenAI provider |
Fermat's Last Token showed that a local proxy plus better file tools can cut an agent's bill. toonarrow takes the same idea to every coding agent, in the open.
| toonarrow | Fermat's Last Token | |
|---|---|---|
| Source | Open source (Apache-2.0) | Proprietary |
| Account | None | Required |
| Clients | Claude Code, Codex, OpenCode, Kora Desktop and CLI | Claude Code |
| Dashboard | Local, in tokens | Cloud |
Comparison based on public information as of October 2026. toonarrow is not affiliated with or endorsed by Quotient Labs; Fermat's Last Token is their product and trademark.
Requirements: macOS or Linux (with a systemd user session), Node.js >= 24.
npm install -g toonarrow
toonarrow install
From source:
git clone https://github.com/andsigno82/toonarrow.git
cd toonarrow
npm install
node src/cli.ts install
This is the beginning of the README. Read the rest at the original. Read the full README ↗