docker-prune-guard

by Plagemes · ★ 8 · updated 15 Oct 2026

GuardsPromptAutomationvalidates

0

Blocks docker system prune -a --volumes and volume deletion that can wipe local databases.

install docker-prune-guard

Install

/plugin marketplace add Plagemes/claude-mods
/plugin install docker-prune-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
prompt.submitsession.starttool.call
API calls
$.clock.after$.fs.read$.mods.hello$.mods.mode$.mods.publish$.mods.registerTab$.ui.log
Can see
every promptBash calls
Reach
level 1 of 3 reads filesdrawsother: $.mods.helloother: $.mods.modeother: $.mods.publishother: $.mods.registerTab

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Plagemes/claude-mods
Path in repo
mods/docker-prune-guard
Source commit
e9815ce the exact code the scan read
Author
@Plagemes
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 Plagemes/claude-mods

done-chime

Plagemes/claude-mods

Plays a chime when a long turn finishes.

★ 8AudioAutomation

edit-limit

Plagemes/claude-mods

Asks for confirmation when a single turn tries to modify more than N files.

★ 8ToastsGuardsCommands

email-digest

Plagemes/claude-mods

Daily or weekly email summaries in plain language for clients and managers who don't live in chat.

★ 8PanesCommands

env-example-sync

Plagemes/claude-mods

Keeps .env.example in sync with the environment variables your code actually reads.

★ 8ToastsGuards

env-guard

Plagemes/claude-mods

Protects .env files, SSH keys and credential stores from being read or modified.

★ 8GuardsAutomation

error-buzz

Plagemes/claude-mods

A short buzz when a command or test run fails.

★ 8GuardsAudioAutomation

error-feed

Plagemes/claude-mods

Collects every failed command and tool error in one pane.

★ 8PanesStatus lineGuards

explain-diff

Plagemes/claude-mods

/explain-diff explains in plain words what changed in the last turn and why.

★ 8PanesGuardsCommands

explain-level

Plagemes/claude-mods

/eli5, /normal and /expert set how deep Claude's explanations go.

★ 8Status lineCommandsPrompt

file-size-watch

Plagemes/claude-mods

Warns when an edited file grows past a size that hurts readability.

★ 8ToastsGuards

files-touched

Plagemes/claude-mods

A pane of every file read, edited or created in the session, with counts.

★ 8PanesGuardsCommands

fixture-factory

Plagemes/claude-mods

/fixtures generates realistic test data that matches your schema or types.

★ 8PanesCommands

Other mods in Guards, close to this one by stars.