claudemods

All Claude Code modsalexgreensh/token-optimizer

token-optimizer

A Claude Code mod in alexgreensh/token-optimizer

The Token Optimizer status bar on its own, for its tests. It ships inside the token-optimizer plugin.

token-optimizer reaches L2 (writes or runs) and passed claude plugin validate with warnings.

To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, drives Claude, reads files, reads env vars, reads mod state, persists state, draws

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
classic hooks, every prompt, every tool call, subagent spawns, compaction
Hooks
session.start, classic.SessionStart, prompt.submit, turn.start, turn.step, tool.call, agent.spawn, classic.PermissionRequest, session.compact, turn.complete, ui.render {component=AbovePrompt}
API calls
$.clock.after, $.clock.every, $.clock.now, $.command.run, $.env.get, $.fs.list, $.fs.read, $.fs.stat, $.model.fork, $.process.run, $.session.cwd, $.session.id, $.session.usage, $.state.get, $.state.set, $.store.delete, $.store.get, $.store.set, $.ui.log, $.ui.resolve, $.ui.toast
Validation
Passed with warnings
Scanned revision
622ad74584d2

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

Badge for your README

Reach badge for token-optimizer Validation badge for token-optimizer

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/alexgreensh--token-optimizer--token-optimizer-reach.svg)](https://mods.aidojo.si/mods/alexgreensh--token-optimizer--token-optimizer/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/alexgreensh--token-optimizer--token-optimizer-validates.svg)](https://mods.aidojo.si/mods/alexgreensh--token-optimizer--token-optimizer/)