agentic-devops

👤 tkuehnl 📦 v1.0.2 ⭐ 4.3 ⬇️ 1.1K 下載
🔒 IT運維與安全 免費

📖 技能介紹


name: agentic-devops version: 1.0.0 description: Production-grade agent DevOps toolkit — Docker, process management, log analysis, and health monitoring. Built by engineers who run production. author: Anvil AI license: MIT homepage: https://github.com/cacheforge-ai/cacheforge-skills user-invocable: true tags: - cacheforge - devops - docker - monitoring - log-analysis - health-check - infrastructure - sre - discord - discord-v2 metadata: {"openclaw":{"emoji":"🛠️","homepage":"https://github.com/cacheforge-ai/cacheforge-skills","requires":{"bins":["python3"]}}}


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)

7w4.net收錄了海量優質技能外掛。

# Full system health report — CPU, memory, disk, Docker, ports, errors, top processes
python3 skills/agentic-devops/devops.py diag

Docker Operations

# 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

# 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

# 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

# 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)

🤖 AI 評測

這個 Skill 質量相當不錯,程式碼規範、功能全面、輸出美觀。純標準庫實現意味著幾乎不需要任何安裝配置,異常處理也很健壯,Docker 不可用或日誌檔案無許可權時都能優雅應對。最實用的功能是一行命令做完整系統診斷。不足之處是主要面向 Linux 系統,部分功能在 Windows/macOS 上無法使用。另外缺少測試覆蓋,生產使用需謹慎驗證。總體而言,是一款值得信賴的運維工具。

📊 多維度評分

適應性4.3
規範性4
有效性4.5
可靠性4.7
可信度4.3

📁 包含檔案 (5 個)

📄 CHANGELOG.md 570 B
📄 README.md 2.4 KB
📄 SKILL.md 2.8 KB
📄 _meta.json 133 B
📄 devops.py 38.7 KB