All Claude Code modssystemNEO/claude-code-mods
overwrite-guard
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.
- Events hooked: 1
- API methods referenced: 6
- Access from classified calls: L1, reads: reads files, reads env vars, draws
- Static scan, not a runtime test
Install hint
/plugin install overwrite-guard --marketplace systemNEO/claude-code-modsFrom 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, drawsValidation
PassedView 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
- delete-guardDeleting outside the project folder requires the user's approval (Bash, PowerShell, cmd, subagents, MCP).
- wsl-file-linksUnder WSL, absolute paths in Claude's replies become clickable file:// links that Windows opens (files and fo…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/systemNEO--claude-code-mods--overwrite-guard/)
[](https://mods.aidojo.si/mods/systemNEO--claude-code-mods--overwrite-guard/)