NE

netalertx-docker-prune

Prunes unused Docker resources to reclaim disk space, requiring explicit user confirmation.

Install

mkdir -p .claude/skills/netalertx-docker-prune && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4047" && unzip -o skill.zip -d .claude/skills/netalertx-docker-prune && rm skill.zip

Installs to .claude/skills/netalertx-docker-prune

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Clean up unused Docker resources. Use this when asked to prune docker, clean docker, remove unused images, free disk space, or docker cleanup. DANGEROUS operation. Requires human confirmation.
192 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Purge stopped Docker containers
  • Clear unused Docker images
  • Remove orphaned volumes
  • Wipe unused Docker networks

How it works

Triggers a shell script that issues standard Docker prune commands preceded by an explicit user confirmation check.

Inputs & outputs

You give it
Human confirmation prompt
You get back
Terminal status messages of pruned resources

When to use netalertx-docker-prune

  • Clean docker space
  • Prune unused containers
  • Remove dangling images
  • Free up disk space

About this skill

Docker Prune

DANGER: This destroys containers, images, volumes, and networks. Any stopped container will be wiped and data will be lost.

Command

/workspaces/NetAlertX/.devcontainer/scripts/confirm-docker-prune.sh

What Gets Deleted

  • All stopped containers
  • All unused images
  • All unused volumes
  • All unused networks

When to Use

  • Disk space is low
  • Build cache is corrupted
  • Clean slate needed for testing
  • After many image rebuilds

Safety

The script requires explicit confirmation before proceeding.

When not to use it

  • Environments where stopped containers retain critical configuration state
  • Situations where build cache layers are needed for immediate redeployment

Prerequisites

dockerbash

Limitations

  • Destructive; data loss is permanent
  • Affects the entire Docker daemon host

How it compares

Adds a mandatory safety layer to destructive cleanup operations that are typically executed via one-line commands.

Compared to similar skills

netalertx-docker-prune side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
netalertx-docker-prune (this skill)16moReviewBeginner
agent-workflow-automation46moReviewAdvanced
it-operations17moNo flagsAdvanced
dokploy-management03moCautionIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry