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.zipInstalls 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.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
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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| netalertx-docker-prune (this skill) | 1 | 6mo | Review | Beginner |
| agent-workflow-automation | 4 | 6mo | Review | Advanced |
| it-operations | 1 | 7mo | No flags | Advanced |
| dokploy-management | 0 | 3mo | Caution | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by netalertx
View all by netalertx →You might also like
agent-workflow-automation
ruvnet
Agent skill for workflow-automation - invoke with $agent-workflow-automation
it-operations
davila7
Manages IT infrastructure, monitoring, incident response, and service reliability. Provides frameworks for ITIL service management, observability strategies, automation, backup/recovery, capacity planning, and operational excellence practices.
dokploy-management
majiayu000
|
bazel-build-optimization
wshobson
Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.
linux-production-shell-scripts
davila7
This skill should be used when the user asks to "create bash scripts", "automate Linux tasks", "monitor system resources", "backup files", "manage users", or "write production shell scripts". It provides ready-to-use shell script templates for system administration.
machine-learning-ops-ml-pipeline
sickn33
Design and implement a complete ML pipeline for: $ARGUMENTS