docker-manage

docker-manage is a skill for Claude Code, Codex from fuyuxiang/echo-agent. It costs 21 tokens per session (439 once invoked), scanned A, original, MIT.

A set of instructions and commands for managing Docker containers, images, storage volumes, and Docker Compose application groups. It also covers logs, resource usage, health checks, restarts, and basic troubleshooting.

In plain words
What is it for?
Use it when viewing container status, checking resource use, reading logs, starting or stopping services, updating Compose stacks, inspecting health, or opening a shell inside a container.
Why use it?
It gives a consistent way to inspect and operate Docker-based services without guessing commands. It helps identify stopped or unhealthy containers, port conflicts, and recent log errors.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/fuyuxiang/echo-agent/docker-manage
Any agent
npx skills add fuyuxiang/echo-agent --skill docker-manage
Clone the repo
git clone --depth 1 https://github.com/fuyuxiang/echo-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docker-manage

README.md
[![agentmods](https://agentmods.dev/badge/skills/fuyuxiang/echo-agent/docker-manage.svg)](https://agentmods.dev/skills/fuyuxiang/echo-agent/docker-manage)
Your own site
<a href="https://agentmods.dev/skills/fuyuxiang/echo-agent/docker-manage"><img src="https://agentmods.dev/badge/skills/fuyuxiang/echo-agent/docker-manage.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 439 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00021 $0.00439
Opus 5 $0.00010 $0.00219
Sonnet 5 $0.00004 $0.00088
Haiku 4.5 $0.00002 $0.00044

Measured 4d ago against content hash 574f635bd0cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docker-manage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/devops/docker-manage/SKILL.md · 86 lines

What it actually says

Docker Manage

Docker container and image management.

Containers

# Status overview
docker ps -a --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}\t{{.Image}}"

# Resource usage
docker stats --no-stream --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}\t{{.NetIO}}"

# Logs
docker logs --tail 50 <container>
docker logs --since 1h <container>

# Lifecycle
docker restart <container>
docker stop <container>
docker start <container>

Images

docker images --format "table {{.Repository}}\t{{.Tag}}\t{{.Size}}\t{{.CreatedSince}}"
docker pull <image>:<tag>
docker image prune -f  # remove dangling

Docker Compose

docker compose ps
docker compose up -d <service>
docker compose logs -f --tail 100 <service>
docker compose restart <service>
docker compose pull && docker compose up -d  # update all

Health Checks

# Check container health
docker inspect --format='{{.State.Health.Status}}' <container>

# All unhealthy containers
docker ps --filter health=unhealthy

Troubleshooting

# Shell into container
docker exec -it <container> sh

# Port conflicts
docker ps --format "{{.Ports}}" | sort

# Disk usage
docker system df

# Network inspect
docker network ls
docker network inspect <network>

Safety

Always confirm before:

  • docker rm / docker rmi
  • docker system prune
  • docker compose down -v (removes volumes!)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 86 lines · 21 tokens per session scan A 574f635bd0cd

Subscribe to this mod's changes

docker-manage is a skill published in the GitHub repository fuyuxiang/echo-agent (988 stars, last pushed 4d ago), licensed MIT. It adds 21 tokens to every session and 439 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.