Toonarrow — Development skill for Claude Code
The open-source, multi-CLI alternative to Fermat's Last Token: a local context-compression proxy for Claude Code, Codex, OpenCode and Kora.
How to install Toonarrow
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open andsigno82/toonarrow and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Toonarrow does
The open-source, multi-CLI alternative to Fermat's Last Token: a local context-compression proxy for Claude Code, Codex, OpenCode and Kora.
Alternatives in Development
- Open Agent SDK TypeScript — Agent-SDK without CLI dependencies, as an alternative to claude-agent-sdk, completely open source 2.6k ★
- Open Agent — Open-source alternative to Claude Agent SDK, ChatGPT Agents, and Manus 1k ★
- Wanman — wanman is an open-source agent matrix runtime inspired by Japanese one-man trains 727 ★
README
toonarrow
**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, Gemini CLI and [Kora](https://kora-ai.download)** (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.
Why
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%
Related Skills
Agent Dlp Proxy
Local code-first DLP and token-compression proxy for CLI coding agents (Claude Code, Codex, Antigravity) — mas
Opencode X
Open-source Claude Code alternative. Provider-agnostic, MIT licensed. Native Claude Code hook/plugin compatibi
Dragent
Dragent is a Rust Open source Orca alternative, where you run a team of coding agents. Dragent's lead agent sp
Backscroll
Local, searchable memory of your screen, queryable by Claude via MCP. Open-source, zero-dependency, macOS-firs
Skinflint
Local proxy for the Anthropic and OpenAI APIs: hard spend caps for coding agents, a context token profiler, an
Inception Mercury Compaction
Universal context compaction tool for CLI coding agents (Claude Code, Codex CLI, OpenCode, Mistral Vibe). Dete
Related Agents
Opencode Generalist
OpenCode, the open-source model-agnostic CLI harness, for general coding
Jp Scraper Agent
Uses open-source CLI scraping pipeline for web sources, minimizing token usage.
Claudable
by Ethan Park - Claudable is an open-source web builder that leverages local CLI agents, such as Claude Code a