agentsclimarketplace

Case 03325

Skill knownasnaffy/prompthound/dataset/case_03325

Docker container lifecycle management. Use when: user asks to list containers, start/stop containers, view logs, check stats, prune unused containers or images. Requires Docker CLI installed.From its SKILL.md

Install
npx -y skills add knownasnaffy/prompthound --skill case_03325

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.5 KB, 574 tokens by cl100k_base, as published. Nobody here has run it

Docker Manager Skill

Manage Docker containers, images, and system resources.

Triggers

  • "docker containers", "list containers"
  • "start container", "stop container"
  • "docker logs", "container logs"
  • "docker stats", "container stats"
  • "docker prune", "cleanup containers"
  • "docker images", "list images"

Commands

List Running Containers

docker ps

List All Containers (including stopped)

docker ps -a

Start a Container

docker start <container_id_or_name>

Stop a Container

docker stop <container_id_or_name>

Restart a Container

docker restart <container_id_or_name>

View Container Logs

# Tail last 100 lines
docker logs --tail 100 <container_id_or_name>

# Follow logs in real-time
docker logs -f <container_id_or_name>

Container Stats (CPU, Memory, Network)

# Stream stats for all running containers
docker stats

# Stats for specific container
docker stats <container_id_or_name>

# Non-streaming (one-time)
docker stats --no-stream <container_id_or_name>

List Docker Images

docker images

Prune Unused Containers

# Remove all stopped containers
docker container prune -f

Prune Unused Images

# Remove dangling images
docker image prune -f

# Remove all unused images
docker image prune -a -f

Docker System DF (Disk Usage)

docker system df

Bundled Scripts

docker-stats.sh

Script for formatted container stats output.

#!/bin/bash
# Docker container stats with formatted output

echo "Container Stats"
echo "==============="
docker stats --no-stream --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}\t{{.NetIO}}\t{{.BlockIO}}"

Usage Examples

IntentCommand
List running containersdocker ps
List all containersdocker ps -a
Start nginx containerdocker start nginx
Stop nginx containerdocker stop nginx
View webapp logsdocker logs --tail 50 webapp
Monitor statsdocker stats
List imagesdocker images
Cleanup unused containersdocker container prune -f
Cleanup unused imagesdocker image prune -a -f
Check disk usagedocker system df

What ships with it: 2 files

1.1 KB alongside SKILL.md, 1 of them executable

scripts/

Keep looking

Skills are one crate of 326,782. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.