agentleFS
cacheforge-aicacheforge-ai/cacheforge-skills/skills/agentic-devops/SKILL.md

agentic-devops

Skill10 starsChanged 9 months agoMITView on GitHub

Production-grade agent DevOps toolkit — Docker, process management, log analysis, and health monitoring. Built by engineers who run production.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user wants to:

    line 25
  2. Distinctive:

    Run system diagnostics or health checks

    line 26
  3. Distinctive:

    Check HTTP endpoint availability or port status

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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)

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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.