TokenSave makes your agent climb a ladder before writing anything: does this even need to exist? Does the standard library already do it? Only then write the minimum that works. Less code, less cost, fewer 3am pages.
Real output from a benchmark run, no-skill arm vs TokenSave arm. Same prompt, same model.
→ skipped: RFC-5322 regex, TLD list. Add it when you actually parse addresses, not just gate signups.
→ setTimeout + clearTimeout is the debounce. Add a reusable utility when it's needed on 3+ inputs.
→ 1 dependency → 1 built-in. structuredClone handles Dates, Maps, Sets, and circular refs — everything JSON.parse/stringify silently drops.
Stop at the first rung that holds.
Speculative need = skip it and say so in one line. (YAGNI)
Use it before reaching for anything else.
<input type="date"> over a picker library, CSS over JS.
Use it. Never add a new one for what a few lines handle.
One line.
The least code that works — boring over clever.
One ruleset, every host. Pick yours.
Prefer one command for everything? npm install -g @tokensave/cli then tokensave init <host>.
Switch intensity with /tokensave lite|full|ultra|off, or just say "stop tokensave" / "normal mode".
| Mode | Behavior |
|---|---|
| lite | Build what's asked; name the lazier alternative in one line. |
| full | The ladder enforced. Stdlib and native first. Default. |
| ultra Pro | YAGNI extremist. Deletion before addition. Challenges the requirement. |
| off | Disabled. |
TokenSave is never lazy about: input validation at trust boundaries, error handling that prevents data loss, security, accessibility, hardware calibration, and anything you explicitly request.
Two arms (no skill, TokenSave), three Claude models, five everyday tasks, 10 runs per cell, median reported.
less code generated, single-shot
lower token cost per task
faster time to completion
new dependencies added for tasks stdlib already covers
Read honestly: the single-shot gap is measured against a bare model that answers with options and commentary, so it overstates the real-world win. Our agentic benchmark re-runs the comparison as a real coding session — TokenSave cuts most on over-build traps, is a wash on already-minimal code, and never writes more.
No. TokenSave is a rule/instruction file your AI agent reads locally. We never see, log, or store your source code, prompts, or conversations.
No. The safety floor is explicit: input validation at trust boundaries, error handling that prevents data loss, security, accessibility, and hardware calibration are never skipped.
Claude Code, Cursor, Codex, Copilot CLI, Windsurf, Cline, Kiro, OpenCode, Gemini, and any AGENTS.md-aware agent.
It's the full ladder behavior via the AGENTS.md rule and Cursor rule, in lite and full modes. Pro adds ultra mode, the plugin bundle for every host from one CLI, and the review skill.
Free in under a minute. Upgrade when you want every host from one CLI.