ClaudeCodeMod

All shelves / Mods / Usage

reread-guard

By VedantAndhale

reread-guard is a Claude Code usage mod by VedantAndhale.

Skips 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.

DrawsHolds a command

Install

The marketplace name is claude-pro-kit.

In Claude Code
/plugin marketplace add VedantAndhale/claude-pro-kit
/plugin install reread-guard@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

When Claude reads the same range of the same file again and the size and modification time have not changed, the read is skipped. Claude is told the file is unchanged and to use the copy it has, or to retry the same Read if that copy is gone from context. Any edit, a different range, or a subagent reads freely. Retrying the identical read straight after a skip goes through. The record resets on /compact and /clear. A shell command that only prints one file is treated the same: cat, sed -n, head, tail, and in PowerShell Get-Content. A pipe, a chain, a variable, a glob, or any other flag runs untouched. A shell read never counts as a Read, since Edit needs a real one first. The status line counts them. The one-line skip message is what Claude reads in place of the file.

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 reread-guard makes none. The plugin folder has no README. These lines are the repository README. context-inspector draws what fills the context window and how much of it is waste: re-reads, near-duplicate output, and what compaction kept, with advice and its evidence. Nothing else on the shelf skips the repeat read when the file has not changed.

Demo

The reread-guard section of the kit README: a repeat read of the same range of an unchanged file is skipped, and the one line Claude is told in its place.
Screenshot of the author's GitHub page.

What it hooks into

  • tool.callAround a tool call, where it can hold oneRead
  • session.compactWhen the context is compacted
  • session.endWhen a session ends

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/reread-guard
Version
0.2.0
License
MIT
Repo stars
10
Last change
2026-10-08
Language
TypeScript
Files
5

Other mods in Usage

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.token-metermidudevEnds the hint line under the prompt with the last turn's input, output, and cache tokens, and the session's running total, in color.
All 183 in Usage