Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By alexgreenshv5.13.87PolyForm-Noncommercial-1.0.0In 1 marketplace
Finds and cuts wasted context tokens in Claude Code, then keeps your work alive across compactions with a cost dashboard.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 critical · 2 cautions to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs programs; reads files; reads environment variables (CLAUDE_CODE_AUTO_COMPACT_WINDOW, CLAUDE_CONFIG_DIR, HOME, TOKEN_OPTIMIZER_STATUS_BAR, TOKEN_OPTIMIZER_STATUS_BAR_ANIMATE, TOKEN_OPTIMIZER_STATUS_BAR_CARDS, TOKEN_OPTIMIZER_STATUS_BAR_SAVINGS, TOKEN_OPTIMIZER_STATUS_BAR_SIZE, TOKEN_OPTIMIZER_STATUS_BAR_TIME_FORMAT, USERPROFILE); runs commands; calls a model on your account; reads or rewrites your prompts.
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
It runs automatically in the background. You keep working as usual. Run the audit when you want the full picture.
Token Optimizer cuts the tokens your AI coding assistant wastes, keeps your work alive across sessions and compactions, and shows you where every dollar went on a live dashboard. Most of it runs automatically. You install it, run the audit once, and the hooks do the rest.
Why not just use Headroom or RTK? They compress command output, which covers 15-25% of your context. Token Optimizer covers that plus the other 75%: bloated configs, unused skills, stale memory, compaction loss, model misrouting, behavioral waste. Savings are cache-safe and counted on eligible sessions, in API-equivalent dollars: on a flat plan that is capacity, not cash back. Some rows are estimates, and they are labeled. The dashboard updates after every session, automatically.
Works on the AI coding tools below, with a Devin output-filter beta (manual skill, or install.sh --devin --auto for automatic compression):
7-day copy clicks
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub alexgreensh/token-optimizer --plugin token-optimizer