microsoft/TokenEconomizer
A Python plugin that cuts coding agent costs by learning from past sessions: it remembers repo commands, prunes unused tools, and nudges stuck agents. Creators cite 18–31% savings on SWE-bench.
What people said (2)
-
Better Stack Recommends it 95.2K views · Nov 8, 2026Claude Code Is Wasting Tokens... Microsoft Built a Fix
“Installs the plugin into Claude Code from a git clone and marketplace, then shows its status, micro-skills, and tool-prune reports. Walks through its three features: micro-skills that remember repo-specific test commands and env vars, tool pruning that stops loading unused tools, and failure-loop detection that uses a judge model to nudge stuck agents. Recommends running it for about a week on the repo you use most and comparing costs, since savings build with repeated use.”
-
Julian Goldie SEO Recommends it 2.1K views · Nov 19, 2026Microsoft Just Found a Way to Stop AI Agents Wasting Tokens!
“The creator says it cut costs by 18.4% to 30.9% on average across 277 SWE-bench tasks, lowering cost in all 30 repository and agent pairs, with pass@1 steady or better. He contrasts it with lowering reasoning effort, which saved similar tokens but hurt performance. He says it works through three parts: micro skills, tool pruning, and failure loop intervention. He also recommends the setup and says the tool gets better the more you use it.”
Thanks to Better Stack, Julian Goldie SEO for featuring it.
Maintainer? Show it off
Add this badge to your README. It updates automatically with your current rank.
[](https://repohype.com/r/microsoft/TokenEconomizer)<a href="https://repohype.com/r/microsoft/TokenEconomizer"><img src="https://repohype.com/badge/microsoft/TokenEconomizer.svg" alt="Featured on RepoHype"></a>