Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By it-bens Verified Orgv1.2.1MITIn 1 marketplace
Blocks Claude from re-reading unchanged files in a session, so redundant Read calls stop wasting context. Runs as hooks on reads, edits and session start and needs jq installed.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
read-caching, context-optimization, token-savings, hooks, file-reads, guardrails, redundant-tool-calls, read ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Prevents wasteful re-reads of unchanged files by tracking what was already read and blocking redundant Read tool calls.
The plugin uses Claude Code hooks to track every file read, then blocks subsequent reads when the content hasn't changed. This reduces context bloat and wasted tool calls.
Blocking conditions (all must be true):
Automatic unblocking:
/plugin install redundant-read-blocker@itb-ai-tools
Requires jq to be installed.
Create .claude/redundant-read-blocker.json in your project (optional):
{
"decay_threshold": 80000,
"debug": false,
"verbose_deny": false
}
| Field | Default | Description |
|---|---|---|
decay_threshold | 80000 | Tokens of context growth before a read is considered "forgotten" and allowed again. Increase for 1M context windows. |
debug | false | Log all block/allow decisions to stderr with [RRB] prefix. |
verbose_deny | false | Include context decay stats in the deny message shown to Claude. |
Without a config file, all defaults apply.
Claude's recall degrades as context grows. The plugin tracks how many tokens have been added to the context since each file was read. When the growth exceeds decay_threshold, the read is considered "forgotten" and allowed again.
The default threshold (80,000 tokens) is conservative for 200K context windows (~40%). For 1M context windows, consider increasing to 300,000-400,000.
Limitation: The plugin cannot detect the active context window size. The context_window.context_window_size field is available to status line scripts but not to hooks. Users must configure decay_threshold manually based on their window size.
Set "debug": true to see all decisions:
[RRB] ALLOW /src/main.ts:1-100 — not tracked
[RRB] DENY /src/main.ts:1-50 — fully covered, hash unchanged
[RRB] ALLOW /src/main.ts:1-100 — content changed (hash d41d8cd9 -> a1b2c3d4)
[RRB] ALLOW /src/main.ts:1-100 — context decay exceeded (85000/80000)
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub it-bens/ai-tools --plugin redundant-read-blockerPlugins from other owners that cover similar ground