autonomous-incident-healer
Skill2 starsChanged 29 days agoApache-2.0View on GitHub
Autonomously detects production incident anomalies, executes deterministic self-healing runbooks, triggers automated canary traffic draining or rollback, and compiles blameless root-cause analysis (RCA). Use when triaging P0/P1 outages, recovering saturated microservices, or orchestrating automated failover.
- Sends data out
In this repository108 other files it gives its agents.
- AGENTS.mdAGENTS.md
- everything-gemini-maintainerSkill
- adversarial-fuzz-generatorSkill
- agent-evalsSkill
- ai-first-engineeringSkill
- alloydb-omni-vectorSkill
- apache-kafka-streamsSkill
- api-craftsmanSkill
- architecture-designerSkill
- argon-3d-game-engineSkill
- argon-3d-scene-architectSkill
- argon-procedural-asset-generatorSkill
- argon-visual-critique-loopSkill
- argo-workflowsSkill
- axum-web-serviceSkill
- bigquery-vector-searchSkill
- browser-qa-testerSkill
- chromadb-vector-storeSkill
- cilium-ebpf-networkingSkill
- clickhouse-analyticsSkill
- cloud-deploy-canarySkill
- cloudflare-r2-object-storageSkill
- cloudflare-workersSkill
- cloud-run-agentsSkill
- context-cachingSkill
- context-distillation-compressorSkill
- context-warmerSkill
- continuous-learningSkill
- cost-oracle-finopsSkill
- cross-repo-swarm-syncSkill
- cve-remediation-orchestratorSkill
- database-architectSkill
- dataproc-spark-analyticsSkill
- dbt-transformationSkill
- debezium-cdcSkill
- devops-pipelineSkill
- distributed-rate-limitingSkill
- docker-compose-orchestratorSkill
- duckdb-local-olapSkill
- dynamic-thinking-allocationSkill
- ebpf-microvm-sandboxSkill
- ebpf-sandbox-enforcerSkill
- elephant-goldfish-modelSkill
- envoy-ai-gatewaySkill
- ephemeral-swarm-orchestratorSkill
- fastapi-productionSkill
- fullstack-nextjsSkill
- game-audio-synthesizerSkill
- game-studioSkill
- gemini-function-callingSkill
- gemini-groundingSkill
- gemini-live-audio-transcriberSkill
- gemini-live-multimodalSkill
- gemini-live-screen-visionSkill
- gemini-multimodalSkill
- genetic-prompt-cross-pollinatorSkill
- git-craftsmanSkill
- github-opsSkill
- google-axSkill
- google-flow-orchestratorSkill
- The first 60 shown.
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
- Distinctive: line 32
When active connections breach $95\%$ capacity:
- Distinctive: line 46
When container RSS memory growth exceeds $15\%\text{/min}$ under steady RPS:
- Distinctive: line 56
When canary error budget burn rate breaches $14.4\times$ over a 5-minute window:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
Autonomous Incident Healer (autonomous-incident-healer)
The Autonomous Incident Healer is a mission-critical reliability skill designed to intercept production telemetry anomalies, execute deterministic mitigation runbooks, isolate failing replicas, and generate actionable post-mortems with regression reproduction harnesses.
🏛️ Autonomous Self-Healing Lifecycle
graph TD
Alert[Prometheus / Cloud Monitoring Alert] --> Classify[Telemetry Anomaly Triage]
Classify --> Mitigate{Automated Runbook Available?}
Mitigate -->|Yes| Action[Execute Safe Mitigation Protocol]
Mitigate -->|No| Drain[Canary Traffic Drain / Fallback Route]
Action --> Verify[Health Check & Latency Stabilization]
Drain --> Verify
Verify -->|Stabilized| PostMortem[Synthesize Blameless RCA & Timeline]
Verify -->|Persistent Breach| Rollback[Automated GitOps Snapshot Rollback]📋 Incident Response Playbooks
1. Connection Pool Exhaustion (HTTP 503 / PostgreSQL Conn Timeout)
When active connections breach $95%$ capacity:
# 1. Inspect active connection locks and longest running queries
gcloud spanner databases execute-sql app-db --instance=prod-spanner \
--sql="SELECT text_fingerprint, count, avg_latency_seconds FROM spanner_sys.query_stats_top_minute ORDER BY avg_latency_seconds DESC LIMIT 5;"
# 2. Shed non-critical background batch traffic via Envoy rate limits
curl -X POST http://envoy-admin:9901/runtime_modify?overload.global_downstream_max_connections=500
# 3. Scale read-pool replicas on Google Cloud Run
gcloud run services update orders-service --min-instances=10 --max-instances=50 --region=us-central12. Memory Leak & OOM Killer Remediation
When container RSS memory growth exceeds $15%\text{/min}$ under steady RPS:
# 1. Trigger graceful rolling pod restart with zero downtime
kubectl rollout restart deployment/payment-gateway -n production
# 2. Capture core heap dump to Google Cloud Storage before recycling
gcloud storage cp /tmp/heapdump-$(date +%s).heapsnapshot gs://prod-diagnostics-artifacts/3. Canary Anomaly Rollback Protocol
When canary error budget burn rate breaches $14.4\times$ over a 5-minute window:
# 1. Instantly shift 100% traffic back to stable baseline
gcloud deploy targets rollback prod-cluster --delivery-pipeline=core-services --region=us-central1
# 2. Emit incident telemetry span to OpenTelemetry Collector
curl -X POST http://otel-collector:4318/v1/traces \
-H "Content-Type: application/json" \
-d '{"resourceSpans":[{"resource":{"attributes":[{"key":"service.name","value":{"stringValue":"orders-canary"}}]},"scopeSpans":[{"spans":[{"name":"canary_rollback_triggered","status":{"code":2}}]}]}]}'📝 Automated Post-Mortem & Timeline Synthesis
Upon recovery, compile a structured markdown post-mortem containing:
- Incident Trigger: Metric alert, threshold breach, and timestamp.
- Mitigation Actions: Specific CLI commands or traffic shifts executed by the agent.
- Time to Detect (TTD) & Time to Mitigate (TTM).
- Preventive Action Items: Automated generation of a regression test PR using
harness3-mutation-testing.
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
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.

