edit-guard

by zhuzhu0710 · ★ 0 · updated 10 days ago

GuardsAutomationvalidates

0

跨對話檔案編輯紀錄:寫入或編輯前檢查三十分鐘內是否有別的對話改過同一檔案,有則詢問是否繼續

install edit-guard

Install

/plugin marketplace add zhuzhu0710/claude-mods
/plugin install edit-guard@zhuzhu-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.starttool.call
API calls
$.env.get$.fs.list$.fs.read$.fs.stat$.fs.write$.process.run$.session.id$.ui.ask$.ui.log
Can see
? calls
Reach
level 2 of 3 runs processeswrites filesreads filesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/zhuzhu0710/claude-mods
Path in repo
plugins/edit-guard
Source commit
6476668 the exact code the scan read
Author
@zhuzhu0710
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from zhuzhu0710/claude-mods

cache-timer

zhuzhu0710/claude-mods

主對話的提示快取(一小時)剩五分鐘時跳提醒;倒數顯示在 usage-band 那一行

★ 0Toasts

context-handoff

zhuzhu0710/claude-mods

Context 用到七成時,在輸入框上方顯示交接按鈕:寫交接摘要、存檔、清空對話,再把摘要當新對話第一句送出。

★ 0Bands

usage-band

zhuzhu0710/claude-mods

輸入框上方的常駐用量帶:context、五小時與本週額度(附進度條與重置倒數)、快取倒數;超過 80% 變紅

★ 0Bands