brain-drain

by MakingAIPractical · ★ 0 · updated yesterday

BandsStatus lineReskinsGuardsCommandsPromptAudiovalidates

0

How full Claude's context is, when its cache goes cold, and how much of your 5-hour and weekly limits is left — right under the prompt in Claude Code.

install brain-drain

Install

/plugin marketplace add makingaipractical/brain-drain-for-claude-code
/plugin install brain-drain@brain-drain

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.startturn.stepsession.measureturn.startturn.completeprompt.editprompt.submittool.callcommand.runui.render
API calls
$.agent.list$.audio.play$.clock.every$.clock.now$.command.register$.env.get$.fs.list$.fs.read$.fs.stat$.fs.write$.process.run$.session.cwd$.session.id$.session.root$.session.surfaces$.session.usage$.settings.read$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.invalidate$.ui.log$.ui.resolve$.ui.status$.ui.toast
Draws
AbovePromptPromptHint
Can see
every promptevery tool call
Reach
level 2 of 3 runs processeswrites filesreads filesreads env varsreads settingsreads mod stateplays audiopersists 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/makingaipractical/brain-drain-for-claude-code
Path in repo
brain-drain
Source commit
d458c2c the exact code the scan read
Author
MakingAIPractical @makingaipractical
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.