gitwtfhub

wtf is token-saviour?

vagkaratzas/token-saviour — explained in plain English

Analysis updated 2026-05-18

9Audience · developerComplexity · 3/5LicenseSetup · easy

TL;DR

An agent skill that routes each AI coding task to the most token-efficient specialized tool, cutting measured token usage by about 70%.

Mindmap

mindmap
  root((token-saviour))
    What it does
      Routes tasks to efficient tools
      Reduces token usage
      Announces tool choice
    Tech stack
      Claude Code
      Codex
      MCP
    Use cases
      Save tokens on large codebases
      Auto pick per task type
      Install as plugin or skill
    Audience
      Heavy AI agent users
      Cost conscious developers
    Notes
      MIT licensed
      Based on 9 tool benchmark
      Falls back gracefully

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Reduce token spend when using AI coding agents on large codebases by routing to specialized tools per task type.

REASON 2

Automatically pick between code-reading, command-output, prose, and code-generation tools based on the task at hand.

REASON 3

Install as a Claude Code or Codex plugin to apply token-saving routing without manual tool switching.

REASON 4

Fall back gracefully to plain read and search tools when a specialized tool isn't installed.

What's in the stack?

Claude CodeCodexModel Context Protocol

How it stacks up

vagkaratzas/token-saviouraaklon/akinatorabhinavshrivastava950/montara
Stars999
LanguageGoPython
Setup difficultyeasymoderatemoderate
Complexity3/53/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Full benefit requires installing one or more of the underlying tools like serena, rtk, caveman, or Ponytail.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

Wtf does this do

token-saviour is an agent skill that helps AI coding assistants like Claude Code and Codex spend fewer tokens by picking the right specialized tool for each kind of task, instead of always reading whole files or dumping raw command output into the conversation. The idea is that token cost breaks down into four separate layers: reading code, reading command output like test results or git logs, writing prose replies, and writing generated code, and a different existing tool handles each layer best. Based on a benchmark the author ran across nine different tools, this skill routes code reading tasks to a tool called serena, command output tasks to a tool called rtk, prose writing to a tool called caveman, and code generation to a tool called Ponytail. According to the measurements shared in the README, combining serena, rtk, and caveman together cut token usage by about seventy percent on a comprehension focused task, with the code reading tool serena responsible for most of that saving on its own. Rather than requiring all four tools installed, the skill classifies each task by which layer it stresses, then routes to the matching tool with specific commands, falling back to plain reading and searching tools if the specialized tool isn't installed. It also refuses certain combinations the author found counterproductive, like using two code reading tools at once, or using the command output tool for a comprehension task, and it announces which tools it used for a given task. You can install token-saviour as a Claude Code plugin, as a personal skill copied into a config folder, or as a Codex plugin, and it also ships an always-on instructions file that works in any agent that reads a plain instructions file with no extra setup. The project is released under the MIT license. This suits developers who use AI coding agents heavily and want to reduce token spend and cost without giving up capability, particularly for large codebases where reading entire files repeatedly gets expensive.

Yoink these prompts

Prompt 1
Help me install token-saviour as a Claude Code plugin following this README.
Prompt 2
Explain how token-saviour decides which tool to use for a given coding task.
Prompt 3
What is the measured token savings from combining serena, rtk, and caveman according to this project?
Prompt 4
Show me how to add token-saviour's AGENTS.md rules to my own coding agent setup.

Frequently asked questions

wtf is token-saviour?

An agent skill that routes each AI coding task to the most token-efficient specialized tool, cutting measured token usage by about 70%.

What license does token-saviour use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is token-saviour to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is token-saviour for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.