Home / Claude Code mods / Security / edit-guard

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

Updated 2026-10-16

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.

TypeClaude code mod
Authorpappusinghadip
Repositorypappusinghadip/pappu-claude-mods
Popularityno public popularity data yet
CategorySecurity
SecurityReview before installing (76/100)
Rank#7,768 of 9,397 Claude Code mods; #798 in Security
LicenseMIT
Last commit2026-10-16
Hooks4 events
SeesEdit|Write|NotebookEdit calls
Draws onnothing

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.

CheckResult
No network accessPass
Starts no processesPass
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.session.cwd
$.session.id
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.askdraws interface

How do I install edit-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)