Home / Claude Code mods / Security / delete-guard

delete-guard

delete-guard is a Claude Code mod by EmanueleNene that a pane that lists the files a delete command would remove, with a keep/delete toggle per file and Confirm or Refuse buttons.

Updated 2026-11-04

What is delete-guard?

delete-guard is a Claude Code mod by EmanueleNene that a pane that lists the files a delete command would remove, with a keep/delete toggle per file and Confirm or Refuse buttons. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
AuthorEmanueleNene
RepositoryEmanueleNene/claude-mods
Popularityno public popularity data yet
CategorySecurity
SecurityLow risk (88/100)
Rank#5,838 of 9,397 Claude Code mods; #647 in Security
Last commit2026-11-04
Hooks6 events
SeesBash calls, the clean-generated-artifacts skill
Draws onPane, AbovePrompt

Is delete-guard safe to install?

delete-guard scores 88/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 5 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.command.register
$.prompt.submitdrives Claude
$.session.cwd
$.state.get
$.state.set
$.ui.closedraws interface
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install delete-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/EmanueleNene/claude-mods
    claude plugin validate ./claude-mods/delete-guard
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add EmanueleNene/claude-mods && claude plugin install delete-guard@claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs delete-guard for you:

Install the "delete-guard" Claude Code mod from https://github.com/EmanueleNene/claude-mods/tree/main/delete-guard. Run claude plugin validate on it first and show me what it can access before you enable it.

More from EmanueleNene/claude-mods

This repository has 2 Claude Code mods on MCPMods.

  • octopus-crew: Shows a walking pixel creature above the prompt for each summoned subagent or firstmate crew worker. (Low risk)