claudemods

All Claude Code modsTihi321/claude-mods

delete-guard

A Claude Code mod in Tihi321/claude-mods

Holds recursive deletes (rm -rf, Remove-Item -Recurse, rmdir /s, git clean -f), shows what would go, and offers move-to-trash with /undo-delete, delete, or refuse. Leaves a receipt.

delete-guard reaches L2 (writes or runs) and passed claude plugin validate.

Install hint

/plugin install delete-guard --marketplace Tihi321/claude-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

L2 Writes or runsruns processes, persists state, draws

Validation

Passed

View the source on GitHub Back to the list

What the scan recorded

Observed events
Bash|PowerShell calls
Hooks
session.start, tool.call {tool=Bash|PowerShell}, command.run {command=undo-delete}, command.run {command=trash}, command.run {command=delete-guard}
API calls
$.clock.after, $.command.register, $.process.run, $.session.cwd, $.store.get, $.store.set, $.ui.ask, $.ui.log
Validation
Passed
Scanned revision
a3e3d4a8ece3
Marketplace passed
tihi-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 Tihi321/claude-mods

Badge for your README

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