couts-session

by Anaël Yahi · ★ 1 · updated 2 days ago

Bandswarnings

0

Bande au-dessus du prompt : coût API estimé, tokens et impact carbone estimé (ImpactIA expérimental, entrée comptée ; EcoLogits en option) de la session, par modèle et par sous-agent, et remplissage du contexte.

install couts-session

Install

/plugin marketplace add Aliquanto3/agent-cost-kit
/plugin install couts-session@agent-cost-kit

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.startagent.spawnturn.startturn.completesession.endui.render
API calls
$.agent.list$.clock.every$.clock.now$.env.get$.fs.exists$.fs.list$.fs.read$.session.cwd$.session.id$.session.root$.session.turns$.session.usage$.store.delete$.store.get$.store.set$.ui.invalidate$.ui.log$.ui.resolve
Draws
AbovePrompt
Can see
subagent spawns
Reach
level 1 of 3 reads filesreads 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/Aliquanto3/agent-cost-kit
Path in repo
plugins/couts-session
Source commit
d4d6f03 the exact code the scan read
Author
Anaël Yahi @Aliquanto3
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.