Ross ROSS = Recommend OSS · open-source software intelligence for agents

alexgreensh/token-optimizer

Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay. observed · 2026-08-28

github.com/alexgreensh/token-optimizer · Python · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

78/100

  • Activity 99
  • Release rhythm 87
  • Longevity 13

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 0
  • age_days: 188
  • days_rel: 7
  • days_push: 7
  • n_releases_24m: 238

Full methodology

Adoption not part of the score

1971 stars · 156 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Claude Code plugin/skill that finds and removes wasted 'ghost tokens' in agent context windows, helping sessions survive compaction without context quality decay. It ships variants for multiple coding agents including Claude Code, Codex, Copilot, OpenCode, and Hermes.

Use cases

  • reduce token usage in claude code sessions
  • fix context quality decay after compaction
  • cut llm api costs from wasted context tokens
  • optimize context window for ai coding agents
  • make long agent sessions survive compaction
  • audit prompts for wasted tokens

When to choose

  • you use Claude Code or similar coding agents daily and hit context limits
  • you want to lower token spend per session
  • your agent degrades after context compaction

When to avoid

  • you don't use agentic coding tools
  • you need a general-purpose prompt compression library
  • you require a permissive license (license is non-standard)

Facets

plugin · maturity active

llm-inference prompt-engineering developer-tools agent-framework large-language-models developer-tools cli python cross-platform claude-code claude-code-skill token-optimization context-window ghost-tokens context-engineering compaction token-usage ai-agents

1 source

Member repositories

RepositoryRoleHealth v2
alexgreensh/token-optimizermain78

For agents

markdown · JSON · MCP: product_card(name="alexgreensh/token-optimizer")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem