claudemods

All Claude Code modssystemNEO/claude-code-mods

overwrite-guard

A Claude Code mod in systemNEO/claude-code-mods

Stops Claude from rewriting whole existing files: Write on an existing file and shell commands that replace one (>, tee, cp, mv, python/node writes) are refused with a request to use Edit.

overwrite-guard reaches L1 (reads) and passed claude plugin validate.

Install hint

/plugin install overwrite-guard --marketplace systemNEO/claude-code-mods

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 Readsreads files, reads env vars, draws

Validation

Passed

View the source on GitHub Back to the list

What the scan recorded

Observed events
Write calls, /"^(Bash|PowerShell|Monitor)$"/ calls
Hooks
tool.call {tool=Write}, tool.call {tool=/"^(Bash|PowerShell|Monitor)$"/}
API calls
$.env.get, $.fs.list, $.fs.stat, $.session.cwd, $.session.root, $.ui.log
Validation
Passed
Scanned revision
e1ba19efe73f
Marketplace passed
claude-code-mods

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. What a mod can access and how the scan works.

More from systemNEO/claude-code-mods

Badge for your README

Reach badge for overwrite-guard Validation badge for overwrite-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/systemNEO--claude-code-mods--overwrite-guard-reach.svg)](https://mods.aidojo.si/mods/systemNEO--claude-code-mods--overwrite-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/systemNEO--claude-code-mods--overwrite-guard-validates.svg)](https://mods.aidojo.si/mods/systemNEO--claude-code-mods--overwrite-guard/)