trash-guard
by Benjamin Benoudis · ★ 1 · updated 24 Oct 2026
Claude never deletes for good: rm, git clean and find -delete are refused outside temp folders, and Claude uses the Trash instead
Install
/plugin marketplace add benjaminb10/encore-mods/plugin install trash-guard@encore-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
tool.call- API calls
$.session.cwd- Can see
Bash calls- Reach
- level 0 of 3
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/benjaminb10/encore-mods
- Path in repo
plugins/trash-guard- Source commit
cd94493the exact code the scan read- Author
- Benjamin Benoudis @benjaminb10
- 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 benjaminb10/encore-mods
turn-progress
benjaminb10/encore-mods
While Claude works: elapsed time, actions, the current step, todo progress and running subagents above the prompt
bang-commands
benjaminb10/encore-mods
When Claude asks you to run ! command yourself, click the command: it lands in the prompt in real bash mode, press Enter
done-notify
benjaminb10/encore-mods
A desktop notification when a long turn ends, telling you whether Claude is done or waiting for you
inline-images
benjaminb10/encore-mods
Gives Claude a show_image tool and draws pasted images and images Claude reads inline in the terminal, Orca included
next-prompts
benjaminb10/encore-mods
Clickable follow-up prompts above the input: click one to put it in the prompt box, unsent
paid-api-meter
benjaminb10/encore-mods
Counts the session's calls to paid generation APIs (image, video, voice, LLM) and adds up reported costs
paste-peek
benjaminb10/encore-mods
Read and fix a long paste before you send it: Edit unfolds a [Pasted text #n] placeholder back into the prompt, View opens it in a pane
prompt-select
benjaminb10/encore-mods
Experimental, macOS + Hammerspoon: Cmd+A selects your prompt (painted like a mouse selection), then Delete clears it, Cmd+C copies it, typing replaces it
session-links
benjaminb10/encore-mods
Local dev servers and deploy URLs from the session, one click away above the prompt, dimmed when the server is down
Related mods
Other mods in Guards, close to this one by stars.