Home / Claude Code mods / Security / edit-guard

edit-guard

edit-guard is a Claude Code mod by zhuzhu0710 that 跨對話檔案編輯紀錄:寫入或編輯前檢查三十分鐘內是否有別的對話改過同一檔案,有則詢問是否繼續.

Updated 2026-10-10

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.

TypeClaude code mod
Authorzhuzhu0710
Repositoryzhuzhu0710/claude-mods
Popularityno public popularity data yet
CategorySecurity
SecurityHigh risk (56/100)
Rank#9,368 of 9,397 Claude Code mods; #930 in Security
Last commit2026-10-10
Hooks2 events
Sees? calls
Draws onnothing

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.env.getreads env vars
$.fs.listreads files
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.process.runruns processes
$.session.id
$.ui.askdraws interface
$.ui.logdraws 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/zhuzhu0710/claude-mods
    claude plugin validate ./claude-mods/plugins/edit-guard
  3. 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)