Claude Code mod
brain-drain
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
/plugin marketplace add makingaipractical/brain-drain-for-claude-code
/plugin install brain-drain@brain-drainMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: runs processes, writes files, reads files, reads env vars, reads settings, reads mod state, plays audio, persists state, draws
- Sees
- every prompt, every tool call
- Draws in
AbovePromptPromptHint- Hooks
session.startturn.stepsession.measureturn.startturn.completeprompt.editprompt.submittool.callcommand.runui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Folder
brain-drain- Marketplace
brain-drain- Author
- MakingAIPractical
- License
- MIT
- Last updated
- 21 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is brain-drain?
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. It is a mod for Claude Code, from makingaipractical/brain-drain-for-claude-code on GitHub.
What can the brain-drain mod access?
Its widest reach is "writes or runs" (runs processes, writes files, reads files, reads env vars, reads settings, reads mod state, plays audio, persists state, draws). It sees every prompt, every tool call. It draws in AbovePrompt, PromptHint. Like any mod, it runs with your permissions.
How do I install brain-drain?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add makingaipractical/brain-drain-for-claude-code and then /plugin install brain-drain@brain-drain.
Is brain-drain popular?
makingaipractical/brain-drain-for-claude-code has 1 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 21 October 2026.
More context & usage mods
better-compact
1koenvdheide/better-compact
Steers every compaction, including automatic ones, with a brief that keeps goal, next step, files, decisions and state. Once context runs high, a button above the prompt runs /compact, so you compact before a long context eats into your usage limits and model performance.
burn-rate
1TroyJLorents-GH/mod-squad
A terminal cost dashboard (/burn): spend by day, project, model, activity, tools, shell commands and MCP servers, read from your local Claude Code transcripts and estimated at list price.
bento
1wpvip-awesomeface/claude-mods
A lunchbox that fills as context grows, with /doggybag to pack a handoff for a fresh session.
burnline
1matrac/burnline
One status line beside the model selector: 5-hour and 7-day usage with pace and reset countdown, plus Claude's task list as milestone dots
aurora
1FranklinNotOld/Aurora-Claude-Code-Mod
Session metrics and reply themes for the Claude Code desktop: context, cost, rate limits, cache, tools and subagents, as a status line, a progress band above the prompt, a dashboard pane (/aurora) and /aurora-debug; twelve styles for replies, the band, the status line and the pane (/aurora-theme)
burnrate
1nemke82/claude-code-burnrate
Live quota and prompt-cache monitor for Claude Code: how fast your plan windows are filling and when they run out, plus your prompt-cache misses and an estimate of the tokens each one rewrote. Needs function hooks (early access).
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.