runbook-generator
Skill0 starsChanged 5 months agoMITView on GitHub
Generate complete, actionable runbooks for services, alerts, and operational procedures. Use when an alert has no runbook, when onboarding a new service, when standardizing operational documentation, or when updating stale runbooks. Trigger keywords: generate runbook, create runbook, write runbook, runbook template, document procedure, operational guide, no runbook exists, runbook missing, new service runbook, need a runbook, write up steps, document this alert, how do I document, onboarding docs, ops documentation.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- darkweb19/skillstheir own version, first seen Nov 8, 2026
- kazemcodes/skill-treetheir own version, first seen Nov 8, 2026
- OneWave-AI/claude-skillstheir own version, first seen Sep 21, 2026
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
- mahiunfiltered/claude-code-skillstheir own version, first seen Jul 8, 2026
- Hussain-Elfalah/Agentic-Skillstheir own version, first seen Jun 4, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- OneWave-AI/claude-skills★ 378same name
- Hassaan146/claude-skills★ 18same name
- csiddhant796-blip/claude-skills-collection★ 2same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- kazemcodes/skill-tree★ 1same name
- mahiunfiltered/claude-code-skills★ 1same name
- Arnav-0/claude-code-setup★ 0same name
- darkweb19/skills★ 0same name
- JonDotsoy/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- capacity-planningSkill
- chaos-engineeringSkill
- cost-optimizationSkill
- deployment-safetySkill
- iac-reviewSkill
- import-rcaSkill
- incident-responseSkill
- knowledge-captureSkill
- observabilitySkill
- oncall-handoffSkill
- oncall-runbookSkill
- postmortemSkill
- production-readiness-reviewSkill
- rca-summarySkill
- rfcSkill
- root-cause-analysisSkill
- security-postureSkill
- slo-monitoringSkill
- toil-trackingSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Before loading context files, check if context/CONTEXT.md exists in the current directory.
- Distinctive: line 29
Use the answers inline for this session.
- Very specific: line 38
Read context/CONTEXT.md and context/company/tech-stack.md to understand the deployment tooling, observability stack, and on-call setup.
- Distinctive: line 42
Ask the user for:
- Distinctive: line 49
If the runbook is being generated during an active incident (incident-response skill invoked it):
- Distinctive: line 87
Check that the generated runbook includes all required sections:
- Very specific: line 110
If you do not know what the expected output should be, say so and mark it as <!-- TODO: validate expected output --> rather than guessing.
- Distinctive: line 114
Every triage step should be independently executable — avoid "do steps 1–3 first."
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Runbook Generator Skill
Setup Check
Before loading context files, check if context/CONTEXT.md exists in the current directory.
If context/CONTEXT.md exists — read it and proceed normally.
If context/CONTEXT.md does not exist — this skill was installed standalone (e.g. via npx skills add). Ask the user these questions before proceeding:
- Role —
junior-sre/senior-sre/sre-manager(shapes output depth and tone) - Cloud provider —
aws/gcp/azure/on-prem/hybrid - Observability stack — e.g. Datadog, Prometheus+Grafana, New Relic
- Company name and primary services affected (if relevant to this task)
Use the answers inline for this session. For persistent setup across all skills, suggest:
pipx install sre-agent
sre-agent initInstructions
Step 1: Load Context
Read context/CONTEXT.md and context/company/tech-stack.md to understand the
deployment tooling, observability stack, and on-call setup.
Step 2: Gather Inputs
Ask the user for:
- Service name — the name of the service this runbook covers
- Alert name or condition — what alert triggers this runbook (or "general service runbook")
- Severity level — P0 / P1 / P2 / P3
- Owner team — which team owns this service
- What you know about this failure mode — any context from past incidents or code review
If the runbook is being generated during an active incident (incident-response skill invoked it):
- Pull available context from the incident timeline.
- Mark sections that need to be filled in post-incident with
<!-- TODO: fill in from incident -->.
Step 3: Load the Template
Load skills/oncall-runbook/references/runbook-template.md as the base structure.
Step 4: Populate the Runbook
Alert Trigger Condition — populate from:
- The alerting rule (if user can share it)
- The metric name and threshold from the user's observability stack
What This Means — write a plain-language explanation:
- What does this service do?
- What is the user impact when this alert fires?
- What are the most common causes of this alert?
Blast Radius — determine:
- Which services depend on this service?
- Is there user-facing impact?
- Is there any data integrity risk?
Triage Steps — generate concrete diagnostic commands specific to the tech stack.
For Kubernetes / Datadog stack, generate kubectl and Datadog query commands.
For each step, include: the command, expected output, and what to do if output is wrong.
Remediation Steps — generate at least two remediation paths (most common causes). Each path must include a rollback procedure.
Persona adjustments:
- junior-sre: verbose commands with full flags explained, no assumed knowledge.
Example:
kubectl get pods -n production -l app=payment-api --output=wide(The-nflag specifies the Kubernetes namespace.-lfilters by label.--output=wideshows extra info like the node each pod is running on.) - senior-sre: concise commands, assume kubectl and standard tools are known.
Step 5: Validate the Runbook
Check that the generated runbook includes all required sections:
- Alert trigger condition
- What this means (plain language)
- Blast radius
- At least 3 triage steps
- At least 1 remediation path with rollback
- Escalation path with time thresholds
- Post-incident checklist
Step 6: Output the Runbook
Output the complete runbook in Markdown, ready to commit to a runbooks repository.
Suggest the file path: skills/oncall-runbook/references/<service-name>-<alert-name>.md
Step 7: Follow-up
After generating:
- "Would you like me to walk you through this runbook now for the current alert?"
- "Should I add this runbook to the oncall-runbook references index?"
Guidelines
- A runbook is only as good as its "expected output" sections. Never skip them.
- If you do not know what the expected output should be, say so and mark it as
<!-- TODO: validate expected output -->rather than guessing. - Runbooks are living documents — always include the Last Updated date and a prompt to update after each use.
- Every triage step should be independently executable — avoid "do steps 1–3 first."
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.

