Who it is forA developer who wants to check that cost cutting is not hurting task success.
The problemAn optimizer that silently removes tools or injects facts is hard to trust.
The outcomeVisible facts, pruned tools with evidence, and per-repository settings you control.
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
microskillsto see the facts it injects and those still forming - Run
toolpruneto see the tools it left out and the evidence - Run
toolprune restoreto give them back - Run
config set microskills=on(or =off), adding--globalfor every repository
Prompt for your agent
In this repository, run TokenEconomizer's microskills, toolprune and config commands, list any fact that looks wrong, and restore pruned tools I still need.
Caveat. The loop guard never stops a turn itself; it redirects at most once and then tells you how to stop it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for microsoft/TokenEconomizer and "Inspect and tune what it learned, pruned and blocked"
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