一键导入
infrastructure-docker
Docker container debugging and management. Use when investigating container issues, checking logs, resource usage, or Docker Compose services.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Docker container debugging and management. Use when investigating container issues, checking logs, resource usage, or Docker Compose services.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Pull incident context from alerting platforms (PagerDuty). Use when investigating who's on-call, incident history, alert patterns, or MTTR metrics.
Opsgenie alert management and on-call scheduling. Use for listing alerts, checking on-call, computing MTTA/MTTR, and alert fatigue analysis. Supports team and priority filtering.
Amplitude product analytics. Use when querying user events, funnels, retention, or product usage data. Provides event segmentation, user activity lookup, and annotation queries.
Google BigQuery data warehouse queries and schema inspection. Use when running SQL queries, listing datasets/tables, or inspecting table schemas in BigQuery.
MySQL/MariaDB database inspection and queries. Use when investigating table schemas, running queries, checking processlist, replication status, InnoDB engine status, or lock contention.
PostgreSQL database inspection and queries. Use when investigating table schemas, running queries, checking locks, replication status, or long-running queries.
| name | infrastructure-docker |
| description | Docker container debugging and management. Use when investigating container issues, checking logs, resource usage, or Docker Compose services. |
| allowed-tools | Bash(python *) |
Docker commands run directly via the Docker CLI. No API keys are needed - the Docker socket must be accessible in the sandbox environment.
All scripts are in .claude/skills/infrastructure-docker/scripts/
python .claude/skills/infrastructure-docker/scripts/container_ps.py [--all]
python .claude/skills/infrastructure-docker/scripts/container_logs.py --container NAME_OR_ID [--tail 100]
python .claude/skills/infrastructure-docker/scripts/container_inspect.py --container NAME_OR_ID
python .claude/skills/infrastructure-docker/scripts/container_stats.py [--container NAME_OR_ID]
python .claude/skills/infrastructure-docker/scripts/image_list.py [--filter "reference=myapp*"]
python .claude/skills/infrastructure-docker/scripts/compose_ps.py [--file docker-compose.yml] [--cwd /path]
python .claude/skills/infrastructure-docker/scripts/compose_logs.py [--services "api,db"] [--tail 100]
1. List containers: container_ps.py --all
2. Check logs: container_logs.py --container <name> --tail 200
3. Check resources: container_stats.py --container <name>
4. Inspect config: container_inspect.py --container <name>
1. Check services: compose_ps.py
2. Check logs: compose_logs.py --services "api,worker" --tail 100