Progress will not be saved. This browser is blocking storage (often private browsing). You can still learn, but closing the tab loses your progress.
microsoft/TokenEconomizer
Experience-Driven Black-Box Cost Control for Coding Agents
- Stars
- 7,920
- +7 days
- —
- Forks
- 549
- Language
- Python
- License
- MIT
- Last push
- 20 Nov 2026
Summary
Summary written by AI from the README; it may be imprecise.This plugin optimizes token costs for coding agents like Claude Code, Codex, and GitHub Copilot CLI by learning from prior sessions within a repository. It captures repository-specific commands and setup facts via micro-skills, prunes unused tool definitions from agent contexts, and detects repetitive failure loops to redirect stuck turns.
Use it when
- When running frequent coding agent sessions in the same repo and wanting to reduce token costs
- When an agent repeatedly gets stuck in failure loops or wastes prompt tokens loading unused tools
- When needing Claude Code to remember build commands and project-specific facts across sessions
Install
claude plugin marketplace add "$PWD/TokenEconomizer"claude plugin install tokeneconomizer@tokeneconomizerCommands quoted from the repo's README. Read the README before running them.
Includes hooks that run shell commands on your machine. Read them before installing.
Stars over 90 days
Collecting: 2 of 90 days so far. The chart appears after 7 days.