What is safe-delete?
safe-delete is a Claude Code mod by charlie947 that claude never deletes a file for good: rm, find -delete and git clean move files to the Bin, with a receipt and /undo-delete. It is listed under Git & CI and has 6 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | charlie947 |
| Repository | charlie947/mod-maker |
| Popularity | 6 GitHub stars |
| Category | Git & CI |
| Security | High risk (48/100) |
| Rank | #636 of 5,272 Claude Code mods; #30 in Git & CI |
| Last commit | 2026-10-04 |
| Stars this week | +3 |
| Hooks | 4 events |
| Sees | Bash calls, every prompt, every tool call |
| Draws on | nothing |
Is safe-delete safe to install?
safe-delete scores 48/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 3 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.session.cwd | |
$.ui.toast | draws interface |
How do I install safe-delete?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/charlie947/mod-maker claude plugin validate ./mod-maker/plugins/safe-delete
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add charlie947/mod-maker && claude plugin install safe-delete@charlie-free-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs safe-delete for you:
Install the "safe-delete" Claude Code mod from https://github.com/charlie947/mod-maker/tree/main/plugins/safe-delete. Run claude plugin validate on it first and show me what it can access before you enable it.
More from charlie947/mod-maker
This repository has at least 9 Claude Code mods on MCPMods.
- brand-theme: Dresses Claude Code in your brand: a branded spinner, tool rows and question dialog, plus a band above the prompt with y (Low risk)
- done-ping: A desktop notification with a sound when Claude finishes a long answer or may need your OK (Review before installing)
- mission-control: A live panel above your prompt: the plan as a stage bar, what Claude is doing in plain English, your asks ticked off, an (Low risk)
- mod-maker: Find what you ask Claude again and again, then build a mod that does it for you: /mod-audit, /mod-build, /mod-check and (High risk)
- office: A pixel-art office in a local web page: every Claude session gets a desk, walks to the filing cabinet when it reads, typ (High risk)
- open-loops: Live pane of every ask you make in a session, ticked only with proof. Ask-splitter: right after you send a prompt, a ban (Review before installing)
- outbox: Holds every message Claude tries to send (WhatsApp, email, Slack) until you read it, see who it goes to, and press Send (Low risk)
- plain-reply: Grades every reply for length, long sentences and jargon, and offers a one-click 'Say it simpler' draft when it goes ove (Low risk)