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

Written for no agent in particular: nothing here depends on one.

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fuyuxiang/echo-agent/docker-manage
About the project

Echo Agent is a self-hosted, long-running AI agent that connects language models, tools, memory, permissions, and messaging channels in one system. Individuals and teams use it for private automation that retains context across sessions, develops skills, schedules tasks, and requires approval for high-risk actions.

fuyuxiang/echo-agent · 1,033 stars · on GitHub · ojlab.com

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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docker-manage

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 39
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
How audits are shown
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.1 $0.00021 $0.00439
Opus 5.5 $0.00008 $0.00176
Sonnet 5.5 $0.00004 $0.00088
Haiku 4.5 $0.00002 $0.00044

Measured 2mo ago against content hash 574f635bd0cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

echo-agent-runtime/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. 2mo 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 (1,033 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 439 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other skills, from other repositories

agent-state-bar

A design guide for an agent status bar: a short, automatically updated summary of progress, remaining tasks, tool counts, errors, and system state placed near the latest model input.

bojieli/ai-agent-book · 105 tokens

knowledge-org

A guide to organising large bodies of knowledge so an AI system can navigate relationships, summaries, and layers instead of searching only flat text chunks. It covers tree indexes, knowledge graphs, file-like structures, incremental updates, and long-term memory layouts.

bojieli/ai-agent-book · 96 tokens

memory-system

A guide to giving an AI agent persistent, user-specific memory across conversations. It covers what to remember, how to store it, how to update or compress it, and when to use memory instead of a shared knowledge base.

bojieli/ai-agent-book · 95 tokens

context-compression

A guide to shortening the information an agent carries between steps. It explains how to replace large tool outputs and old conversation details with compact, useful summaries while preserving important decisions and constraints.

bojieli/ai-agent-book · 92 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

openlore

Query and publish to an OpenLore knowledge repository over SSH using ordinary shell commands. Use when a task needs project documentation, runbooks, shared team knowledge, or a place to publish findings.

aakarim/OpenLore · 42 tokens