Home / Claude Code mods / Security / shared-edit-guard

shared-edit-guard

shared-edit-guard is a Claude Code mod by aecheman27-gif that asks before Claude edits a file that another tool (Gemini, an editor, another agent) changed in the last few minutes, through Edit/Write, a shell command that writes, or an MCP write tool.

Updated 2026-10-16

What is shared-edit-guard?

shared-edit-guard is a Claude Code mod by aecheman27-gif that asks before Claude edits a file that another tool (Gemini, an editor, another agent) changed in the last few minutes, through Edit/Write, a shell command that writes, or an MCP write tool. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
Authoraecheman27-gif
Repositoryaecheman27-gif/claude-mods
Popularityno public popularity data yet
CategorySecurity
SecurityLow risk (96/100)
Rank#4,729 of 9,397 Claude Code mods; #557 in Security
Last commit2026-10-16
Hooks1 events
SeesBash|PowerShell calls, Edit|Write|NotebookEdit calls, Read calls, every tool call
Draws onnothing

Is shared-edit-guard safe to install?

shared-edit-guard scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 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 no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.now
$.fs.statreads files
$.state.get
$.state.set
$.ui.askdraws interface

How do I install shared-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/aecheman27-gif/claude-mods
    claude plugin validate ./claude-mods/shared-edit-guard
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add aecheman27-gif/claude-mods && claude plugin install shared-edit-guard@my-claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs shared-edit-guard for you:

Install the "shared-edit-guard" Claude Code mod from https://github.com/aecheman27-gif/claude-mods/tree/main/shared-edit-guard. Run claude plugin validate on it first and show me what it can access before you enable it.

More from aecheman27-gif/claude-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • agent-governor: Watches subagents in long, fan-out-heavy sessions: a [GOV] band while agents run (count, peak, tokens) and a toast when (Low risk)
  • auto-model: Picks the model per prompt with local rules: quick questions to Haiku, writing and explaining to Sonnet, building and fi (Low risk)
  • blast-radius: Holds risky shell commands (rm -rf, git reset --hard, git clean, force push, migrations) and shows what they would chang (Review before installing)
  • cache-tax: A Claude Code mod that keeps the one-hour prompt cache warm during breaks and stops a cold send once with its estimated (Review before installing)
  • cc-arcade: Games above the Claude Code prompt (snake, Tetris, 2048, Minesweeper, Flappy, Pong, typing test, Space Invaders, Doom) p (Low risk)
  • chat-bubbles: Messenger-style chat for Claude Code: your prompts on the right in a rival color, Claude on the left, only running or fa (Low risk)
  • checkpoint: At every compaction, saves a handoff note (goal, open tasks, files, recent errors) to .claude/handoff/ and asks the summ (Review before installing)
  • filetree: An IDE-style file tree for Claude Code that shows what Claude is doing and where in files (High risk)