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.
| Type | Claude code mod |
|---|---|
| Author | aecheman27-gif |
| Repository | aecheman27-gif/claude-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Low risk (96/100) |
| Rank | #4,729 of 9,397 Claude Code mods; #557 in Security |
| Last commit | 2026-10-16 |
| Hooks | 1 events |
| Sees | Bash|PowerShell calls, Edit|Write|NotebookEdit calls, Read calls, every tool call |
| Draws on | nothing |
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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.fs.stat | reads files |
$.state.get | |
$.state.set | |
$.ui.ask | draws interface |
How do I install shared-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/aecheman27-gif/claude-mods claude plugin validate ./claude-mods/shared-edit-guard
- 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)