write-guard 0.1.0
Steers Claude to Edit instead of rewriting an existing file in full with Write: the first rewrite in a conversation goes through with a one-line note, a later one is held back once; a deliberate retry still goes through.
Install
/plugin marketplace add VedantAndhale/claude-pro-kit /plugin install write-guard@claude-pro-kit
Run both lines inside Claude Code.
Hooks into
- Status line
- Tool calls
Also in VedantAndhale/claude-pro-kit
- turn-budget 0.4.0 When one turn uses more than +5 session points or 500,000 uncached input tokens, writes a handoff from exact session data and copies it for a new session; the old session is never cleared. No model calls. 15
- session-receipt 0.2.0 /receipt opens a pane with the exact tokens every turn of the session spent (uncached, cached, output, subagents) and the costliest turns. No tokens spent. 15
- pro-hud 0.3.1 Desktop heads-up display for the Pro plan: exact 5h/7d usage gauges, context gauge, turn receipts, usage in the spinner and compact tool cards. No estimates, no tokens spent. 15
- output-diet 0.2.0 Trims long shell output, Grep results and subagent reports before Claude reads them (head, tail and error lines kept); the untrimmed text is saved to a file Claude can open. 15
- tool-diet 0.1.3 Moves tools you have not used lately behind ToolSearch, so their descriptions stop riding along on every request; core tools and anything you used in your last five sessions stay loaded. 15
- context-xray 0.2.0 A pane with the exact breakdown of what fills Claude's context: system prompt, tools, memory files, skills, messages, and which tools load on every request. 15
- reread-guard 0.2.0 Stops Claude re-reading a file it already read in this conversation, with Read or a plain cat, sed -n, head, tail or Get-Content, when the file has not changed since; a deliberate second attempt still goes through. 15
- cache-clock 0.2.0 Shows how long the prompt cache stays warm, and when it expires, exactly how many tokens your next message will re-send uncached. No tokens spent. 15
- read-cap 0.2.0 Stops Claude reading a file over 1,000 lines whole (with Read, cat or Get-Content) and gives it an outline tool (definitions with line numbers) so it reads only the range it needs. A retry still reads it whole. 15
- budget-guard 0.1.0 Holds a prompt back once your 5-hour or weekly usage is at or over a limit you set (90% by default); sending it again goes through. No tokens spent. 15
More guardrails mods
- blast-radius 0.1.0 See what a risky command would change before it runs. 289.8k
- agents-md 0.1.0 AGENTS.md as project instructions, by one option. Under claude-md-or-agents-md a project with no instruction files of its own gets its AGENTS.md files instead: a prompt.context hook asks $.fs.ancestors for every AGENTS.md and .claude/AGENTS.md from the filesystem root down to the working director... 157.8k
- claude-mem 15.12.1 mod + skill Persistent memory for AI coding agents: the next session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and more. 114.9k
- ruflo-rvf 0.3.8 mod + skill RVF format for portable agent memory, session persistence, and cross-platform transfer. As a mod (ADR-445): a write guard that keeps secrets out of memory, sessions and transfers, /rvf-mod, and a status file the console shows 82.8k
- openviking-memory 0.7.32 mod + skill Long-term semantic memory for Claude Code, powered by OpenViking. Auto-recall relevant memories at session start and capture important information during conversations. 43.1k