All shelves / Mods / Usage
read-cap
By VedantAndhale
read-cap is a Claude Code usage mod by VedantAndhale.
Refuses a whole-file read over 1,000 lines once, points Claude at an outline of that file, and counts the reads it capped.
DrawsHolds a command
Install
The marketplace name is claude-pro-kit.
/plugin marketplace add VedantAndhale/claude-pro-kit /plugin install read-cap@claude-pro-kit
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.2.0
- License
- MIT
- Repo stars
- 10
- Last change
- 2026-10-08
What it can reach
- Draws in the session
- Holds a command
- Sees tool calls
A Read of a text file over 1,000 lines with no line range is refused once, with the line count, and Claude is pointed at the outline tool, then a ranged Read. Retrying the same Read reads the whole file. The outline lists functions, classes, types, and Markdown headings with their line numbers. It is built from the file on disk with no model call, and covers JavaScript, TypeScript, Python, Go, Rust, Java, C#, Kotlin, Swift, and Markdown. A plain cat or Get-Content of the whole file is held once the same way, and a Read and a shell read of the same file share that one hold. Ranged prints, images, and PDFs are left alone. The status line counts the reads capped. In the author's live run on a 3,000-line file, Claude called the outline, then read the 10 lines it needed.
One plugin from VedantAndhale/claude-pro-kit. The root README says prompt-polish is the only mod in that kit that makes a model call, and read-cap makes none. The plugin folder has no README. These lines are the repository README. output-diet trims what Claude reads from a long shell, search, or subagent result, saves the full text, and counts the savings on the status line. winnow replaces parts of a large Read, Bash, or Grep result a judge calls unneeded with a short stub, a summary, and a key that brings the full text back, and toasts when it does. This one refuses the whole-file read before it runs and points Claude at an outline of the file. The refusal text and the outline are what this one adds for Claude to read.
Demo

What it hooks into
session.startWhen a session startstool.callAround a tool call, where it can hold onemcp__read-cap__outlineRead
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- VedantAndhale
- Category
- Usage
- Marketplace
- claude-pro-kit
- Folder
- plugins/read-cap
- Version
- 0.2.0
- License
- MIT
- Repo stars
- 10
- Last change
- 2026-10-08
- Language
- TypeScript
- Files
- 5