tokens-sesion
by Alberto · ★ 0 · updated 30 Oct 2026
Banda sobre el prompt con el contexto (cifra y barra de verde a rojo), el gasto de la sesión, el uso de CPU y RAM del equipo y el límite semanal del plan; hace que el motor compacte, también a mitad de una tarea, al llegar el contexto al umbral, que se cambia arrastrando la marca de la barra, y guarda el resumen de cada compactación. Panel lateral con los subagentes de cada tarea (inicio, fin...
Install
/plugin marketplace add Picaresco/Plugin-Work/plugin install tokens-sesion@tokens-sesionThen 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
command.runui.messageui.faultui.renderagent.offertool.callui.closesession.startturn.startturn.stepturn.completeagent.spawnprompt.composesession.measuresession.compactclassic.PostCompactclassic.PostModelSwitchsession.end- API calls
$.agent.list$.clock.after$.clock.now$.command.register$.command.run$.env.get$.env.set$.fs.write$.model.fork$.process.run$.process.spawn$.session.model$.session.root$.session.turns$.session.usage$.settings.read$.state.get$.state.set$.store.get$.store.set$.tool.list$.tool.register$.ui.close$.ui.invalidate$.ui.open$.ui.panes$.ui.resolve$.ui.toast- Draws
AbovePromptPane- Can see
TodoWrite callsTaskCreate callsTaskUpdate callsmcp__tokens-sesion__plan callssubagent spawnscompactionclassic hooks- Reach
- level 2 of 3 runs processeswrites filessets env varsdrives Claudereads env varsreads settingsreads 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/Picaresco/Plugin-Work
- Path in repo
- repository root
- Source commit
b1b7f84the exact code the scan read- Author
- Alberto @Picaresco
- 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.