Home / Claude Code mods / Git & CI / safe-delete

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.

Updated 2026-10-04

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.

TypeClaude code mod
Authorcharlie947
Repositorycharlie947/mod-maker
Popularity6 GitHub stars
CategoryGit & CI
SecurityHigh risk (48/100)
Rank#636 of 5,272 Claude Code mods; #30 in Git & CI
Last commit2026-10-04
Stars this week+3
Hooks4 events
SeesBash calls, every prompt, every tool call
Draws onnothing

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.session.cwd
$.ui.toastdraws interface

How do I install safe-delete?

  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/charlie947/mod-maker
    claude plugin validate ./mod-maker/plugins/safe-delete
  3. 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)