#142142nd of 259 in Skills, plugins and prompts
token-optimizer
Plugin that trims wasted context and keeps state across compaction in coding agents
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 2.6k
- License
- custom license
- Last commit
- Oct 2026
- Last release
- Oct 2026
- Language
- Python
153 on 31 Mar 20262,620 on 20 Oct 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Token Optimizer is a hook-based plugin for Claude Code, Codex, OpenCode, Cursor, Copilot and other coding assistants. It compresses command and search output, shows file re-reads as diffs or skeletons, checkpoints before auto-compact and restores afterward, and audits configs, skills and memory files. A local SQLite database feeds a dashboard with quality scores and dollar savings.
Who it is for: Heavy Claude Code or Codex users who want lower token spend and cost visibility
Strengths
- Covers bash, search, JSON, file re-reads and large results, plus config and memory audits
- Checkpoints before compaction and restores after, so work survives auto-compact
- Zero dependencies, no telemetry, no MCP server; data stays in local SQLite
- Installs on Claude Code, Codex, OpenCode, OpenClaw, Hermes, Copilot, Cursor and Pi
Weaknesses
- PolyForm Noncommercial license restricts commercial use; not an OSI open-source license
- Antigravity, Grok and Devin support is beta or contract-only
- Claude Code cloud sessions load no plugins and need a separate setup script
- Comparisons against Headroom and RTK are the author's own claims
What it needs
- no GPU
- Needs Python 3.9+, SQLite
Also in Skills, plugins and prompts
See all 259| Rank | Project | Score |
|---|---|---|
| 1 | impeccableDesign skill with 24 slash commands for AI coding agents' frontend output | 96 out of 100 |
| 2 | cavemanCuts token use in coding agents with terse replies and compressed inputs | 95 out of 100 |
| 3 | skillsAgent skills for planning, TDD, debugging and code review | 94 out of 100 |
| #4 | eccAgents, skills, hooks and rules bundle for Claude Code, Codex and other harnesses | 94 out of 100 |
| #5 | oh-my-claudecodeMulti-agent orchestration plugin and CLI for Claude Code | 94 out of 100 |