Skip to main content
ClaudeWave
EN, English
alexgreensh / Plugins

token-optimizer

Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay.

  • 2.7k stars
  • 209 forks
  • 1 open issues
  • Language: Python
  • License: NOASSERTION
  • updated

Install

Claude Code
/plugin marketplace add alexgreensh/token-optimizer
/plugin install token-optimizer
  1. Inside Claude Code, add the marketplace and install the plugin with the commands above.
  2. Follow any post-install configuration from the README.
  3. Restart the session if commands or hooks do not show up immediately.
Installable items

7 items in this repository

Cross-system agent token/cost audit (Claude Code, Codex, OpenClaw, Hermes, OpenCode): idle burns, model misrouting, config bloat, with dollar savings.

Install
healthSlash Command

Check running Claude Code or Codex sessions, find zombies, offer to clean up safely

Install
quickSlash Command

Quick 10-second context health check with quality score and top issues

Install

Pull a prior session's checkpoint on demand when the user is continuing prior work. Returns fenced, source-labeled, scrubbed recovery context. Do NOT call on a fresh, unrelated task.

Install

Plan a token-efficient Claude Code or Codex setup, or get a quick health check. Coaching, not the full audit (use token-optimizer for that).

Install

Open the Token Optimizer dashboard in your browser (context usage, quality, savings). Use to view the dashboard.

Install

Audit a Claude Code or Codex setup for context-window waste, then fix it and measure the savings. Use when context feels tight.

Install
README

Plugins overview

README preview not available. Visit the repo on GitHub for full documentation.
Use cases
Topics
agentskillsclaude-codeclaude-code-modclaude-code-skillclaude-plugincodexcontext-engineeringcontext-windowcost-managementcost-optimizationcost-trackingghost-tokenshermes-pluginpi-coding-agenttoken-optimizationtoken-optimizertoken-usagetokenomicstokenoptimization
Frequently asked

What people ask about token-optimizer

What is alexgreensh/token-optimizer?

alexgreensh/token-optimizer is plugins for the Claude AI ecosystem. Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay. It has 2.7k GitHub stars and its last recorded update is dated 2026-10-22.

How do I install token-optimizer?

You can install token-optimizer by cloning the repository (https://github.com/alexgreensh/token-optimizer) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is alexgreensh/token-optimizer safe to use?

Our security agent has analyzed alexgreensh/token-optimizer and assigned a Trust Score of 82/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.

Who maintains alexgreensh/token-optimizer?

alexgreensh/token-optimizer is maintained by alexgreensh. The last recorded GitHub activity is dated 2026-10-22, with 1 open issues.

Are there alternatives to token-optimizer?

Yes. On ClaudeWave you can browse similar plugins at /categories/plugins, sorted by popularity or recent activity.