delete-guard

by EmanueleNene · ★ 0 · updated today

PanesBandsStatus lineGuardsCommandsPromptwarnings

0

A pane that lists the files a delete command would remove, with a keep/delete toggle per file and Confirm or Refuse buttons.

install delete-guard

Install

/plugin marketplace add EmanueleNene/claude-mods
/plugin install delete-guard@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.callskill.promptturn.completeui.render
API calls
$.command.register$.prompt.submit$.session.cwd$.state.get$.state.set$.ui.close$.ui.open$.ui.panes$.ui.resolve$.ui.status$.ui.toast
Draws
PaneAbovePrompt
Can see
Bash callsthe clean-generated-artifacts skill
Reach
level 2 of 3 drives Claudereads mod 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/EmanueleNene/claude-mods
Path in repo
delete-guard
Source commit
929a616 the exact code the scan read
Author
@EmanueleNene
License
No license declared — ask the author before reusing code.
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 EmanueleNene/claude-mods

octopus-crew

EmanueleNene/claude-mods

Shows an octopus above the prompt for each summoned subagent or firstmate crew worker.

★ 0BandsCommands