Automated summary
Generates operational runbooks for services, procedures, or incident response with step-by-step procedures, troubleshooting guides, and escalation paths, by analyzing codebase and infrastructure.
Strengths
- Produces actionable procedures with verified commands
- Maps dependencies and their failure impact
- Provides troubleshooting guides and escalation paths
- Based on multi-track investigation (code, infrastructure, best practices)
Limitations
- Requires read access to codebase and infrastructure
- May not cover all edge cases or undocumented scenarios
- Generated commands depend on current configuration which may change
Use this skill when you need to create or standardize operational documentation for an existing service, maintenance procedure, or incident response plan.
Avoid using it for purely theoretical services or when you lack access to the actual codebase and infrastructure, as commands and dependencies cannot be verified.
Security analysis
SafeThe skill only uses Read, Glob, Grep, and Write tools. It does not execute any commands or network operations. It generates documentation with example commands, but these are not run by the skill. No data exfiltration or destructive actions possible.
No concerns found
How this analysis is madeExamples
Generate a runbook for the payment-service, covering deployment, scaling, and common failure scenarios.Create a runbook for PostgreSQL failover procedure in production, including pre-checks, steps, and rollback.Build an incident response runbook for high latency in the API gateway, including diagnosis, mitigation, and escalation.name: runbook description: Generate operational runbooks for services, procedures, or incident response with step-by-step procedures, troubleshooting guides, and escalation paths license: MIT compatibility:
- runtime:any allowed-tools:
- Read
- Glob
- Grep
- Write metadata: author: thoreinstein version: 1.0.0
Runbook
Generate operational runbooks for services, procedures, or incident response. Investigates the codebase and infrastructure to produce accurate, actionable procedures.
When to Use
- Creating operational documentation for a service
- Documenting deployment, scaling, or maintenance procedures
- Building incident response playbooks
- Standardizing operational procedures across teams
Input
- Topic: Service name, operation type, or incident scenario
- Scope: deployment, scaling, failover, maintenance, troubleshooting
- Optional: Specific scenarios to cover
Investigation Strategy
Launch parallel investigation tracks to gather comprehensive information:
Track 1: Codebase Exploration
- Identify service entry points and configuration
- Find health check endpoints
- Map dependencies (databases, caches, external services)
- Locate logging and metrics instrumentation
- Find existing scripts or automation
Track 2: Infrastructure Analysis
- Review deployment manifests (Kubernetes, Terraform, etc.)
- Identify scaling configuration
- Map service dependencies
- Find monitoring and alerting setup
- Review backup and recovery procedures
Track 3: External Research
- Find operational best practices for the service type
- Research common failure modes
- Identify industry-standard procedures
Output
Generate the runbook document using the template at references/templates/runbook.md.
The runbook should include:
- Service overview and architecture
- Dependencies with failure impact
- Step-by-step procedures with actual commands
- Troubleshooting guides for common issues
- Escalation paths and contacts
Behavior
- Parse topic to identify service and operation scope
- Launch parallel investigation tracks
- Extract configuration, endpoints, and dependencies from codebase
- Identify common operations and failure modes
- Generate step-by-step procedures with actual commands
- Document troubleshooting steps and escalation paths
Constraints
- Accuracy: All commands must be verified against actual codebase/infrastructure
- Actionable: Every procedure must have concrete, executable steps
- Complete: Include prerequisites, verification, and rollback for each procedure
- Maintainable: Note dependencies that may change and require updates
Example
Input: "Generate runbook for the payment-service"
Investigation:
- Found deployment at k8s/payment-service/
- Found health endpoints: /health, /ready
- Dependencies: PostgreSQL (critical), Redis (cache), Stripe API
- Scaling: HPA configured, min 3, max 10 replicas
- Alerts: Prometheus rules in monitoring/
Generated Runbook: payment-service-runbook.md
## Overview
- Service: payment-service
- Owner: payments-team
- Criticality: P1
## Dependencies
| Dependency | Type | Criticality | Failure Impact |
|------------|------|-------------|----------------|
| PostgreSQL | Database | Critical | Full outage |
| Redis | Cache | High | Degraded latency |
| Stripe API | External | Critical | Payment failures |
## Procedures
### Deployment
1. Verify no active transactions
```bash
kubectl exec -it payment-service-0 -- curl localhost:8080/metrics | grep active_transactions
- Apply new deployment
kubectl apply -f k8s/payment-service/deployment.yaml - Monitor rollout
kubectl rollout status deployment/payment-service
Scaling
kubectl scale deployment payment-service --replicas=5
Troubleshooting
High Latency
Symptoms: p99 latency > 500ms Diagnosis:
kubectl top pods -l app=payment-service
kubectl logs -l app=payment-service --tail=100 | grep -i slow
Resolution: Check Redis connection, scale if CPU > 80%
Begin by identifying the service or operation to document and launching investigation tracks.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/operational-runbook-generation-mm5t8at3/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/operational-runbook-generation-mm5t8at3' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/operational-runbook-generation-mm5t8at3/download' --output '.skill-downloads/operational-runbook-generation-mm5t8at3/SKILL.md.part' && mv '.skill-downloads/operational-runbook-generation-mm5t8at3/SKILL.md.part' '.skill-downloads/operational-runbook-generation-mm5t8at3/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/operational-runbook-generation-mm5t8at3/SKILL.md' && test -s '.skill-downloads/operational-runbook-generation-mm5t8at3/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/runbook' && cp -R '.skill-downloads/operational-runbook-generation-mm5t8at3' '.claude/skills/runbook'Cursor
test -f '.skill-downloads/operational-runbook-generation-mm5t8at3/SKILL.md' && test -s '.skill-downloads/operational-runbook-generation-mm5t8at3/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/runbook' && cp -R '.skill-downloads/operational-runbook-generation-mm5t8at3' '.cursor/skills/runbook'Codex
test -f '.skill-downloads/operational-runbook-generation-mm5t8at3/SKILL.md' && test -s '.skill-downloads/operational-runbook-generation-mm5t8at3/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/runbook' && cp -R '.skill-downloads/operational-runbook-generation-mm5t8at3' '.agents/skills/runbook'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/operational-runbook-generation-mm5t8at3'openskills read 'operational-runbook-generation-mm5t8at3'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/operational-runbook-generation-mm5t8at3/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Configure a Chat Channel with SecretRefs
DevOps
Set up chat channels using non-interactive commands, with secrets only as SecretRefs. Covers gather, mutate, repair, and prove steps for reliable delivery.
Investigate ClickHouse CI Failures
DevOps
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL. Fetches failed tests, classifies flaky vs real regression, and checks for existing issues/fixes.
Ansible PR Review
DevOps
Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.