What is edit-guard?
edit-guard is a Claude Code mod by zhuzhu0710 that 跨對話檔案編輯紀錄:寫入或編輯前檢查三十分鐘內是否有別的對話改過同一檔案,有則詢問是否繼續. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | zhuzhu0710 |
| Repository | zhuzhu0710/claude-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | High risk (56/100) |
| Rank | #9,368 of 9,397 Claude Code mods; #930 in Security |
| Last commit | 2026-10-10 |
| Hooks | 2 events |
| Sees | ? calls |
| Draws on | nothing |
Is edit-guard safe to install?
edit-guard scores 56/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 3 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 processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.env.get | reads env vars |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.session.id | |
$.ui.ask | draws interface |
$.ui.log | 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/zhuzhu0710/claude-mods claude plugin validate ./claude-mods/plugins/edit-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add zhuzhu0710/claude-mods && claude plugin install edit-guard@zhuzhu-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/zhuzhu0710/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 zhuzhu0710/claude-mods
This repository has 4 Claude Code mods on MCPMods.
- cache-timer: 主對話的提示快取(一小時)剩五分鐘時跳提醒;倒數顯示在 usage-band 那一行 (Low risk)
- context-handoff: Context 用到七成時,在輸入框上方顯示交接按鈕:寫交接摘要、存檔、清空對話,再把摘要當新對話第一句送出。 (Review before installing)
- usage-band: 輸入框上方的常駐用量帶:context、五小時與本週額度(附進度條與重置倒數)、快取倒數;超過 80% 變紅 (Low risk)