read-budget
by Pradeep Kumar Balakrishnan · ★ 0 · updated today
Stops Claude from re-reading the same large, unchanged file in full again and again in one session: past a limit it is pointed to Grep or a ranged Read instead.
Install
/plugin marketplace add pradyb/claude-mods/plugin install read-budget@pradyb-modsThen 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
tool.callsession.compactsession.end- API calls
$.fs.stat- Can see
Read callscompaction- Reach
- level 1 of 3 reads files
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/pradyb/claude-mods
- Path in repo
read-budget- Source commit
c68221athe exact code the scan read- Author
- Pradeep Kumar Balakrishnan @pradyb
- 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.
More from pradyb/claude-mods
focus-panel
pradyb/claude-mods
After each response, a panel above the prompt with what needs you, errors, the next action (with its task id), open to-dos and heads-ups.
handover
pradyb/claude-mods
/handover writes a handover note from the conversation (served from the prompt cache), saves it under ~/.claude/projects/ /handovers/ .md, clears the session and continues from the note in a fresh context. Suggests it when context passes a threshold.
notify-router
pradyb/claude-mods
Rules for Claude Code alerts: when one is worth sending (done, blocked, error, usage limits) and where it goes (chime, macOS notification, ntfy, Slack, Discord or a JSON webhook).
safety-guard
pradyb/claude-mods
Blocks destructive shell commands and access to secret files (.env, SSH keys, cloud credentials).
secret-scrub
pradyb/claude-mods
Catches API keys, tokens and private keys in the prompt you are about to send, and masks or blocks them before they reach the model.
status-bar
pradyb/claude-mods
A status bar above the prompt with folder, git branch and state, 5-hour and 7-day usage bars, context with tokens, prompt-cache countdown, cost, session time, turns and clock. Desktop app only; the CLI keeps its own status line.
worktree-hints
pradyb/claude-mods
In a worktree session, tells Claude up front which commands the worktree guard refuses (heredoc and inline-script edits, multi-line scripts, cd to computed paths), so it uses Edit and plain commands instead of retrying.