Tool
TokenEconomizer
microsoft/TokenEconomizer
What it is
A plugin for coding agents like Claude Code and Codex that learns from earlier sessions in a repository to cut token spend, using remembered facts, pruned tool lists and a stuck-turn check.
Who it might suit
Teams that run a coding agent repeatedly on the same repositories and want to reduce what each session costs.
What to check first
It edits the agent's own settings to leave out tools it judges unused, and adds learned facts and redirect notes to context. Its extra model calls run on your plan. The README marks several agents as experimental.
How it runs
Plugin for coding agent CLIs
Written