← Browse
read-guard
LupusMalusDeviant ★ 1
read-guard intercepts whole-file Read operations for files above a configurable size limit, lockfiles, minified code, or source maps, providing Claude with file size and token estimates along with suggestions for more efficient access patterns. It hooks into PreToolUse and PostToolUse to block or warn on the first attempt and allow retries or reads with allow_large, preventing token limits from being exceeded.
Install
> /plugin marketplace add LupusMalusDeviant/mod-box/tree/HEAD/plugins/read-guard
> /plugin install read-guard
Source: https://github.com/LupusMalusDeviant/mod-box/tree/HEAD/plugins/read-guard
What it's made of
no extra components
- Commands
- 0
- Agents
- 0
- Skills
- 0
- MCP servers
- 0
- Hooks
- 0 · PostToolUse, PreToolUse, SessionStart
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
- none
- Talks to
- nothing external detected
Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.
Is this your plugin?
Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (LupusMalusDeviant).