ClaudeCodeMod

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.

In Claude Code
/plugin marketplace add VedantAndhale/claude-pro-kit
/plugin install read-cap@claude-pro-kit
Open the repo

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

The read-cap section: a whole-file read over 1,000 lines is refused once, an outline tool lists the file's definitions, and the status line counts the reads capped.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • tool.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
Repo
VedantAndhale/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

Other mods in Usage

reread-guardVedantAndhaleHolds a commandSkips a repeat read of a file that has not changed, tells Claude to use the copy it has, and counts the re-reads it skipped.tool-dietVedantAndhaleLists tools unused lately by name only, so their descriptions leave every request, and counts how many are on demand.write-guardVedantAndhaleHolds a commandLets the first full rewrite of an existing file through, holds the next one so Claude uses Edit, and counts the rewrites it held.usage-hudronanworksDraws model, effort, context, and the 5-hour and weekly limits in a panel, and a pixel crab above the prompt that acts out the tool.cache-maxxervayaan-labsDraws the prompt-cache time left and hit rate above the input, says why the cache was rebuilt, and can send a short request to keep it warm.session-hudofeklevy11Draws four cards above the prompt: context left, the 5-hour limit, prompt clocks, and what the session cost.token-pilotDigital-ThreadsHolds a commandFor Token Pilot, which cuts what Claude reads from code, draws tokens saved and the 5-hour and 7-day limits above the prompt, and outlines a big file Read.laya-routermarcreichelRoutes the session once from its first prompt to a model and effort, and draws that route on the status line.cache-clockray-amjadDraws a line above the prompt with the time until the prompt cache goes cold, the context fill, and a subagent clock, and has Claude write a handoff first.antiburnantiburnDraws the five-hour and weekly limits above the prompt with reset times and even-pace markers, in the terminal and the desktop Code tab.context-metermidudevDraws how full the context window is at the right end of the band above the prompt: gray, then yellow from 50 percent, then red from 75.sub-metermidudevDraws your 5-hour and weekly subscription usage at the bottom right, on the permission mode's line, with a bar and the time until it resets.
All 183 in Usage