- Home
- Skills
- DevOps & Cloud
- Aegis Orchestrator: Docker SRE Copilot
Works with the AI Agents you already use
Aegis Orchestrator: Docker SRE Copilot
An autonomous Site Reliability Engineering (SRE) skill using MCP to diagnose Docker container alerts via log inspection and execute targeted remediation.
Free
Aegis Orchestrator: Docker SRE Copilot
Example session with this skill installed
We just received a HighCPUUsage alert for the target_app container. Please investigate the root cause using your diagnostic tools and remediate the issue if necessary.
- Read your context and instructions
- Compiled the aegis orchestrator
Aegis Orchestrator Incident Report
- ALERT: High CPU usage detected on container
target_app. - DIAGNOSIS: Executed
get_container_statsandfetch_container_logs. The container logs reveal that requests to the CPU chaos endpoint (/chaos/cpu) were executed, intentionally burning CPU cycles and triggering the high CPU alert. Current container stats show that CPU utilization has since subsided (currently at 0.23%). - PROPOSED FIX: Restart container
target_app. - REMEDIATION STATUS: Executed
execute_container_restart. Containertarget_apprestarted successfully. Uptime has been reset.
Connects securely to your tools. The creator never sees your data.
About this skill
Incidents in containerized environments often lead to manual, repetitive log diving and metric checking while downtime accumulates. This skill automates the standard SRE investigative loop to diagnose and resolve Docker container failures autonomously.
What it does
- Resource Monitoring retrieves real-time CPU and memory usage snapshots to identify starvation or leaks.
- Log Analysis fetches recent stdout/stderr logs to find stack traces, database timeouts, or exit signals.
- Metric Aggregation queries Prometheus-style CPU rates over defined windows to distinguish transient spikes from sustained load.
- Historical Auditing searches for crash signatures and kernel OOM-killer events within specific time windows.
- Auto-Remediation executes controlled container restarts once a root cause is identified and verified.
How it works
- Identify the target service from the alert payload or user description.
- Inspect live resource stats and historical metrics to confirm performance anomalies.
- Analyze logs for fatal exceptions, connection pool exhaustion, or memory pressure signals.
- Diagnose the root cause in a concise SRE report including symptoms and triggers.
- Remediate by triggering restarts and verifying post-restart health metrics.
Frameworks & tools
This skill is built for Docker and Docker Compose environments. It integrates with Prometheus for historical metric evaluation and utilizes Model Context Protocol (MCP) to interface with the Aegis Infrastructure APIs.
Why this beats prompting it yourself
Generic prompts lack a structured 5-phase SRE protocol, often leading to "hallucinated" fixes before checking logs. This skill enforces a strict dependency chain: it requires evidence from stats and logs before it permits a remediation command.
Use cases
- Investigate and resolve HTTP 5xx spikes caused by backend deadlocks.
- Automatically recover services stuck in OOM (Out Of Memory) crash loops.
- Diagnose database connection pool exhaustion by correlating logs with CPU thrashing.
- Verify service recovery after a container restart by monitoring post-action telemetry.
Known limitations
Requires connection to an Aegis Infrastructure MCP server. Restricted to Docker Compose restart logic and does not support complex Kubernetes orchestration or horizontal scaling actions.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 17 days ago
- Free with an Agensi account
- Software
PythonDocker Desktop
Permissions
What's inside
Frequently Asked Questions
New in DevOps & Cloud
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.