tokensaver
by AGregDev · ★ 2 · updated 9 days ago
0
Token-efficient delegation: routes sub-agents to the cheapest capable model tier, escalates on failure, learns from outcomes locally, and shows live savings.
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.submitagent.spawntool.callturn.stepturn.completesession.measureui.render- API calls
$.clock.every$.command.register$.env.get$.fs.list$.fs.write$.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 promptsubagent spawnsAgent calls- Reach
- level 2 of 3 writes filesreads 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
7cef55athe 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.