All Claude Code modsAGregDev/claude-tokensaver
tokensaver
Clawd, a token-saving assistant: has Claude answer in the caveman voice (fewer words, every fact kept), trims noisy tool output and pasted logs before they fill your context, tells you when to compact (and does it in one click), warns when the prompt cache goes cold, and routes sub-agents to cheaper models.
review UI rewrite
tokensaver reaches L2 (writes or runs) and passed claude plugin validate with warnings.
- Events hooked: 14
- API methods referenced: 20
- Access from classified calls: L2, writes or runs: writes files, drives Claude, reads files, reads env vars, reads mod state, persists state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- Static scan, not a runtime test
Install hint
/plugin install tokensaver --marketplace AGregDev/claude-tokensaverFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runswrites files, drives Claude, reads files, reads env vars, reads mod state, persists state, drawsValidation
Passed with warningsListed under Prompt cache mods for Claude Code.
View the source on GitHub Back to the list
What the scan recorded
- Observed events
- every prompt, compaction, subagent spawns, Agent calls
- Hooks
session.start, session.attach, ui.close {id=tokensaver}, command.run {command=tokensaver}, command.run {command=tokensaver:status|tokensaver:dashboard|tokensaver:doctor|tokensaver:on|tokensaver:off|tokensaver:dry-run|tokensaver:help|tokensaver:compact|tokensaver:trim|tokensaver:caveman}, prompt.submit, session.append {door=response}, session.append {door=tool-result}, session.compact, agent.spawn, tool.call {tool=Agent}, turn.step, turn.complete, session.measure, prompt.compose, ui.render {component=AbovePrompt}, ui.render {component=Spinner}, ui.render {component=ToolUse}, ui.render {component=Pane, requestId=tokensaver}- API calls
$.clock.after, $.clock.every, $.command.register, $.command.run, $.env.get, $.fs.list, $.fs.write, $.session.compact, $.session.model, $.session.surfaces, $.state.get, $.state.set, $.store.delete, $.store.get, $.store.set, $.ui.log, $.ui.open, $.ui.resolve, $.ui.status, $.ui.toast- Validation
- Passed with warnings
- Scanned revision
0a4ba5c4c074- Marketplace passed
- claude-tokensaver
- UI rewrite review
- UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. src/core/trim.ts:74, src/core/trim.ts:268
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
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/AGregDev--claude-tokensaver--tokensaver/)
[](https://mods.aidojo.si/mods/AGregDev--claude-tokensaver--tokensaver/)