claudemods

All Claude Code modsLupusMalusDeviant/claude-mods

read-guard

A Claude Code mod in LupusMalusDeviant/claude-mods

Holds a whole-file Read (no offset/limit) of a file above the limit, a lockfile, minified code or a source map, and the same via cat, type or Get-Content in the shell; tells Claude the size, a token estimate and a better way (Grep, offset/limit). A second try at the same file goes through, and so does a Read with allow_large. Claude Code itself stops only at about 25,000 tokens.

read-guard reaches L1 (reads) and passed claude plugin validate on Claude Code 2.1.308.

Install hint

/plugin install read-guard --marketplace LupusMalusDeviant/claude-mods

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

L1 Readsreads files, draws

Validation

Passed on Claude Code 2.1.308

View the source on GitHub Back to the list

What the scan recorded

Observed events
Read calls, Bash|PowerShell calls
Hooks
session.start, tool.call {tool=Read}, tool.call {tool=Bash|PowerShell}
API calls
$.fs.stat, $.session.cwd, $.ui.toast
Validation on 2.1.308
Passed
Scanned revision
8fd44dbf7b77
Marketplace passed
claude-mods

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.

More from LupusMalusDeviant/claude-mods

Badge for your README

Reach badge for read-guard Validation badge for read-guard

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/LupusMalusDeviant--claude-mods--read-guard-reach.svg)](https://mods.aidojo.si/mods/LupusMalusDeviant--claude-mods--read-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/LupusMalusDeviant--claude-mods--read-guard-validates.svg)](https://mods.aidojo.si/mods/LupusMalusDeviant--claude-mods--read-guard/)