tokensaver
by AGregDev · ★ 4 · updated 30 days ago
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.
Install
/plugin marketplace add AGregDev/claude-tokensaver/plugin install tokensaver@claude-tokensaverThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startsession.attachui.closecommand.runprompt.submitsession.appendsession.compactagent.spawntool.callturn.stepturn.completesession.measureprompt.composeui.render- 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- Draws
AbovePromptSpinnerToolUsePane- Can see
every promptcompactionsubagent spawnsAgent calls- Reach
- level 2 of 3 writes filesdrives Claudereads filesreads env varsreads mod statepersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/AGregDev/claude-tokensaver
- Path in repo
- repository root
- Source commit
0a4ba5cthe exact code the scan read- Author
- @AGregDev
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
Related mods
Other mods in Panes, close to this one by stars.