Who it is forA developer whose Claude Code sessions keep rediscovering the same build steps and commands.
The problemSessions waste tokens rediscovering repository facts and loading tools that never get used.
The outcomeFacts stated at session start once three sessions confirm them, and status showing what your sessions cost.
What you need first
- Claude Code, Codex (0.141.0 or later), GitHub Copilot CLI or Pi
- git
- No API key of its own: model calls run through your own agent
Steps
- Run
git clone https://github.com/microsoft/TokenEconomizer.git - Run
claude plugin marketplace add "$PWD/TokenEconomizer" - Run
claude plugin install tokeneconomizer@tokeneconomizer - Start claude, trust the folder and run
/tokeneconomizer:status - Once per machine run
/tokeneconomizer:toolprune refresh-catalog
Prompt for your agent
Install microsoft/TokenEconomizer as a Claude Code plugin from a local clone, run /tokeneconomizer:status and /tokeneconomizer:toolprune refresh-catalog, then tell me what it reports.
Caveat. If any part of the plugin fails, the session carries on as if it were not installed.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for microsoft/TokenEconomizer and "Cut Claude Code cost in a repository you work in every day"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer