Claude Code mod
cc-token-optimizer
Claude Code token optimizer — read de-dup, output trimming, cold-start guard, model-tier nudges, plus a live token / cache-hit bar and /token-status. Tokens only, no cost estimate (billing differs per gateway). 中文:会话 token 监视与档位导演,装完即用 —— 只报 token、不折算金额(各厂商计费口径不同)。
Install
/plugin marketplace add Zoria-Lind/cc-token-optimizer
/plugin install cc-token-optimizer@zoria-pluginsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: writes files, reads files, reads mod state, persists state, draws
- Sees
- classic hooks, compaction, Read calls, Edit|Write|NotebookEdit calls
- Draws in
AbovePrompt- Hooks
classic.SessionStartsession.compactclassic.UserPromptSubmitclassic.PreModelSwitchclassic.PostModelSwitchtool.callclassic.PostToolUsesession.startturn.completeui.rendercommand.run
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- Zoria-Lind/cc-token-optimizer
- Folder
plugin- Marketplace
zoria-plugins- Author
- Zoria-Lind
- License
- MIT
- Last updated
- 13 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is cc-token-optimizer?
Claude Code token optimizer — read de-dup, output trimming, cold-start guard, model-tier nudges, plus a live token / cache-hit bar and /token-status. Tokens only, no cost estimate (billing differs per gateway). 中文:会话 token 监视与档位导演,装完即用 —— 只报 token、不折算金额(各厂商计费口径不同)。 It is a mod for Claude Code, from Zoria-Lind/cc-token-optimizer on GitHub.
What can the cc-token-optimizer mod access?
Its widest reach is "writes or runs" (writes files, reads files, reads mod state, persists state, draws). It sees classic hooks, compaction, Read calls, Edit|Write|NotebookEdit calls. It draws in AbovePrompt. Like any mod, it runs with your permissions.
How do I install cc-token-optimizer?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add Zoria-Lind/cc-token-optimizer and then /plugin install cc-token-optimizer@zoria-plugins.
Is cc-token-optimizer popular?
Zoria-Lind/cc-token-optimizer has 7 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 13 October 2026.
More context & usage mods
cache-keep-warm
7andreichiritescu/claude-code-cache-keep-warm
Shows how long your session's prompt cache stays warm, and can keep it warm in the background while you are away
context-band
7Tekkiiiii/the-agency
Band above the prompt: context %, tokens, model, cost, prompt-cache size/share/TTL countdown, 5h and weekly usage-window reset timers and next-request estimate; /ctx opens a detail pane; toast when a background subagent finishes; Jev router line (today's calls, tokens, USD, Haiku fallback) and outage warning, hidden unless the router usage log exists
agent-ctx
7Tekkiiiii/the-agency
Each agent loop's own context fill, measured per request; a one-line CONTEXT_PCT_ALERT rides that agent's next tool result. Subagents: absolute 200k warn / 250k finish / 300k stop (stop line on every result); main: 70/75/80% of its window. Controllers get CHILD_CTX on Agent and SendMessage results and CHILD_CTX_ALERT when a live child passes 250k/300k
defer-artifact
7zhebil/claude-code-plugins
Puts the Artifact tool behind tool search, so its ~12k-token schema loads only in sessions that publish an artifact.
token-run
1.1kYeonwooSung/my-claude-code-mods
A fully local ASCII runner game for Claude Code request failures and short breaks
mission-control
7h-zahran/delivery-kit
A side pane with robots: the main loop, every subagent and its tools, context, cost, rate limits and files touched
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.