ReToken — Development skill for Claude Code
Cut Claude Code, Cursor and coding-agent token costs.
How to install ReToken
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open AshleyImmanuel/ReToken and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What ReToken does
Cut Claude Code, Cursor and coding-agent token costs. Local Rust proxy that compresses tool output, aligns prompt caching and recovers anything it elides via MCP. Measured 29% cheaper than direct.
Alternatives in Development
- Investigate Performance — Investigate a Nimbalyst performance problem (freeze, lag, idle CPU, slow op, memory growth) with measured evid 1.6k ★
- Symfony Cache — Implement caching strategies using Symfony Cache component 206 ★
- Mcptoon — Listing 255 MCP tools costs 71,929 tokens 195 ★
README
ReToken
**Cut the token bill of Claude Code and other coding agents, without hiding anything from the model.**
A local Rust proxy that sits between your coding agent and the model provider. It trims noisy tool output, keeps prompt caches warm and lets the model recover anything it shortened.
[](https://github.com/AshleyImmanuel/ReToken/actions/workflows/ci.yml) [](https://github.com/AshleyImmanuel/ReToken/releases) [](LICENSE)  
[Quick start](#quick-start) · [Results](#results) · [How it works](#how-it-works) · [Configuration](#configuration) · [Architecture](#architecture)
Why ReToken
Coding agents re-send the whole conversation on every turn: build logs, test output, JSON responses and file reads. That repeated input is most of an agent's API bill. ReToken removes the noise from it on the wire, so the same agent finishes the same task for less, with no change to the agent.
- Built for coding agents. Used day to day with Claude Code. It forwards both API keys and Claude Code subscription (OAuth) logins unchanged. Any client that lets you set an Anthropic, OpenAI or Gemini base URL can point at it.
- Speaks three wire formats. Anthropic Messages, OpenAI Chat Completions and Responses, and the Gemini API (
generateContent) used by Gemini 4 Hydrogen, Neon and other Gemini models. - Helps where a proxy can't reach.
retoken execshortens command output before an agent sees it, for apps like Google Antigravity whose model traffic cannot be redirected.
Related Skills
Claude Shot Catalogue
Claude Agent Skill: turn a folder of rushes into a catalogue an editor can cut from — pairs sound to picture w
Claude Skills Booking Best Price
Booking Best Price — a Claude Code skill that traces one holiday-rental link to find the same place cheaper, p
Leanrea
One 8 KB skill that replaces REA (Reverse Engineer Anything): plain CLI tools, no MCP. Benchmarked: 38% faster
Onetake
Motion films that never cut to the next slide: every beat grows out of the one before, one continuous camera,
Deepseek Harness Token Saver
🔥 Cut 91% of tokens, lose zero capability 省 91% token · 能力零损失 — Scope DSH skill catalogs & MCP tool schemas p
Riffsheet
Video breakdown for coding agents (Claude Code, Codex): your agent analyzes a short video shot by shot on your
Related Agents
API Cost Scanner
Scans codebase for AI/API cost optimization opportunities including model usage, token estimates, caching stra
LLM Integrator
LLM integration specialist who connects to OpenAI/Anthropic/Ollama APIs, designs prompt templates, implements
Continuity Archivist
Keeps long-project memory bounded — compresses closed volumes into summaries and consolidates story-bible Fact