claudemods

All Claude Code modsmutlumehmet/claude-plugins

shared-file-guard

A Claude Code mod in mutlumehmet/claude-plugins

Refuses a shell write to a shared file (STATUS.md, CLAUDE.md, MEMORY.md, or the files you name) that this session has not read, or that another session changed since

shared-file-guard reaches L1 (reads) and passed claude plugin validate on Claude Code 2.1.302.

Install hint

/plugin install shared-file-guard --marketplace mutlumehmet/claude-plugins

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L1 Reads filesreads files, reads env vars, draws

Validation

Passed on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
Read|Edit|Write calls, Bash calls
Hooks
session.start, command.run {command=shared-file-guard}, tool.call {tool=Read|Edit|Write}, tool.call {tool=Bash}
API calls
$.command.register, $.env.get, $.fs.stat, $.session.cwd, $.ui.log
Validation on 2.1.302
Passed
Scanned revision
1c55fc61d1c1
Marketplace passed
mehmetmutlu

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

More from mutlumehmet/claude-plugins

Badge for your README

Reach badge for shared-file-guard Validation badge for shared-file-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/mutlumehmet--claude-plugins--shared-file-guard-reach.svg)](https://mods.aidojo.si/mods/mutlumehmet--claude-plugins--shared-file-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/mutlumehmet--claude-plugins--shared-file-guard-validates.svg)](https://mods.aidojo.si/mods/mutlumehmet--claude-plugins--shared-file-guard/)