tokens-sesion
by Alberto · ★ 0 · updated yesterday
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/tokens-sesion/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.runturn.startagent.offeragent.spawnturn.completeui.closeui.rendertool.callprompt.composesession.startui.messageui.faultturn.stepsession.measuresession.compactclassic.PostCompactsession.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$.state.get$.state.set$.store.get$.store.set$.tool.list$.tool.register$.ui.close$.ui.open$.ui.panes$.ui.resolve$.ui.toast- Draws
PaneAbovePrompt- Can see
subagent spawnsTodoWrite callsTaskCreate callsTaskUpdate callsmcp__tokens-sesion__plan callscompactionclassic hooks- Reach
- level 2 of 3 other: $.process.spawnother: $.state.getother: $.state.setother: $.tool.listruns processeswrites filessets env varsdrives Claudereads env varspersists 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/tokens-sesion
- Path in repo
- repository root
- Source commit
6d98749the 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.