What is edit-guard?
edit-guard is a Claude Code mod by pappusinghadip that asks before Claude edits a file that another open chat changed recently: go ahead, move to a worktree, or skip (/editguard). It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | pappusinghadip |
| Repository | pappusinghadip/pappu-claude-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Review before installing (76/100) |
| Rank | #7,768 of 9,397 Claude Code mods; #798 in Security |
| License | MIT |
| Last commit | 2026-10-16 |
| Hooks | 4 events |
| Sees | Edit|Write|NotebookEdit calls |
| Draws on | nothing |
Is edit-guard safe to install?
edit-guard scores 76/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; reads environment variables. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.session.cwd | |
$.session.id | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.ask | draws interface |
How do I install edit-guard?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/pappusinghadip/pappu-claude-mods claude plugin validate ./pappu-claude-mods/plugins/edit-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add pappusinghadip/pappu-claude-mods && claude plugin install edit-guard@pappu-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs edit-guard for you:
Install the "edit-guard" Claude Code mod from https://github.com/pappusinghadip/pappu-claude-mods/tree/main/plugins/edit-guard. Run claude plugin validate on it first and show me what it can access before you enable it.
More from pappusinghadip/pappu-claude-mods
This repository has 5 Claude Code mods on MCPMods.
- agent-room: Put 2-3 Claude Code sessions in one room (planner, coder, reviewer...): a live pane shows every message between them, wh (Review before installing)
- cache-meter: Cache and context bars above the prompt: how long the prompt cache stays warm, how full the chat is, plan limits, a keep (Low risk)
- goal-tracker: A live progress bar for /goal above the prompt: one segment per task (hover for details), elapsed time, an ETA, and a ro (Low risk)
- screen-guard: /rec before you record or share your screen: masks emails, keys, tokens, money and phone numbers on screen in every open (Review before installing)