delete-guard
by systemNEO · ★ 1 · updated 3 days ago
Deleting outside the project folder requires the user's approval (Bash, PowerShell, cmd, subagents, MCP).
Install
/plugin marketplace add systemNEO/claude-code-mods/plugin install delete-guard@claude-code-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.startcommand.runtool.check- API calls
$.clock.after$.clock.now$.command.register$.config.list$.config.set$.env.get$.fs.list$.fs.read$.fs.stat$.http.fetch$.model.complete$.process.run$.prompt.submit$.session.cwd$.session.root$.store.delete$.store.get$.store.set$.ui.ask$.ui.log$.ui.toast- Reach
- level 3 of 3 networkruns processeschanges configdrives Claudereads filesreads env varsreads settingspersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/systemNEO/claude-code-mods
- Path in repo
delete-guard- Source commit
e1ba19ethe exact code the scan read- Author
- @systemNEO
- License
- MIT
- 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 systemNEO/claude-code-mods
overwrite-guard
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.
wsl-file-links
systemNEO/claude-code-mods
Under WSL, absolute paths in Claude's replies become clickable file:// links that Windows opens (files and folders).
Related mods
Other mods in Toasts, close to this one by stars.