claudemods

All Claude Code modsmakingaipractical/brain-drain-for-claude-code

brain-drain

A Claude Code mod in makingaipractical/brain-drain-for-claude-code

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.

brain-drain reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.308.

Install hint

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

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, writes files, reads files, reads env vars, reads settings, reads mod state, plays audio, persists state, draws

Validation

Passed on Claude Code 2.1.308

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt, every tool call
Hooks
session.start, turn.step, session.measure, turn.start, turn.complete, prompt.edit, prompt.submit, tool.call, command.run {command=drain}, ui.render {component=AbovePrompt}, ui.render {component=PromptHint}
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
Validation on 2.1.308
Passed
Scanned revision
d458c2c27b2a
Marketplace passed
brain-drain

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

Badge for your README

Reach badge for brain-drain Validation badge for brain-drain

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/makingaipractical--brain-drain-for-claude-code--brain-drain-reach.svg)](https://mods.aidojo.si/mods/makingaipractical--brain-drain-for-claude-code--brain-drain/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/makingaipractical--brain-drain-for-claude-code--brain-drain-validates.svg)](https://mods.aidojo.si/mods/makingaipractical--brain-drain-for-claude-code--brain-drain/)