agentic-devops
生产级代理 DevOps 工具包 — Docker、流程管理、日志分析和运行状况监控。由负责生产的工程师建造。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~tkuehnl-agentic-devopscURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~tkuehnl-agentic-devops/file -o tkuehnl-agentic-devops.md## 概述(中文) 生产级代理 DevOps 工具包 — Docker、流程管理、日志分析和运行状况监控。由负责生产的工程师建造。 ## 原文 ## When to use this skill Use this skill when the user wants to: - Run system diagnostics or health checks - Manage Docker containers (status, logs, health, compose) - Inspect running processes, ports, or resource hogs - Analyze log files for errors, patterns, or frequency - Check HTTP endpoint availability or port status - Get a quick one-command system overview ## Commands ### Quick Diagnostics (start here) ```bash # Full system health report — CPU, memory, disk, Docker, ports, errors, top processes python3 skills/agentic-devops/devops.py diag ``` ### Docker Operations ```bash # Container status overview python3 skills/agentic-devops/devops.py docker status # Tail container logs with pattern filtering python3 skills/agentic-devops/devops.py docker logs <container> --tail 100 --grep "error|warn" # Docker health summary (running, stopped, unhealthy) python3 skills/agentic-devops/devops.py docker health # Docker Compose service status python3 skills/agentic-devops/devops.py docker compose-status --file docker-compose.yml ``` ### Process Management ```bash # List processes sorted by resource usage python3 skills/agentic-devops/devops.py proc list --sort cpu # Show ports in use python3 skills/agentic-devops/devops.py proc ports # Detect zombie processes python3 skills/agentic-devops/devops.py proc zombies ``` ### Log Analysis ```bash # Analyze log file for error patterns python3 skills/agentic-devops/devops.py logs analyze /var/log/syslog --pattern "error|fail|critical" # Tail log file with highlighted patterns python3 skills/agentic-devops/devops.py logs tail /var/log/app.log --highlight "ERROR|WARN" # Frequency analysis of log patterns python3 skills/agentic-devops/devops.py logs frequency /var/log/app.log --top 20 ``` ### Health Checks ```bash # Check HTTP endpoint health python3 skills/agentic-devops/devops.py health check https://myapp.com/healthz # Scan specific ports python3 skills/agentic-devops/devops.py health ports 80,443,8080,5432 # System resource health (CPU, memory, disk) python3 skills/agentic-devops/devops.py health system ``` ## Requirements - Python 3.8+ (stdlib only, no external dependencies) - Docker CLI (optional — Docker sections degrade gracefully if not installed) - Standard Unix utilities (ps, ss/netstat)