From runbooks
Creates an operational runbook from a standard template with sections for prerequisites, procedure, verification, and troubleshooting, researching the codebase to fill in project-specific procedures. Use when asked to create a runbook, write operational docs, document a deployment process, or create step-by-step procedures for ops tasks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/runbooks:create-runbookThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```text
$ARGUMENTS
The input describes what the runbook covers (e.g., "deploying the API to production", "rotating database credentials", "diagnosing high memory usage").
If $ARGUMENTS is empty, ask the user what operational procedure they want to document.
Check the target project for an existing runbook directory:
docs/ops/ exists, use itdocs/runbooks/ exists, use itdocs/ops/Convert the user's description into a kebab-case filename.
Examples:
deploy-api-productionrotate-db-credentialsdiagnose-high-memory-workersUse imperative verb form. Keep it concise but descriptive.
Run the init script to create the file from the template:
bash ${CLAUDE_PLUGIN_ROOT}/skills/create-runbook/scripts/init-runbook.sh <runbook-name> <target-directory>
This outputs JSON with RUNBOOK_FILE and RUNBOOK_DIR paths. Use RUNBOOK_FILE for all subsequent edits.
Before filling in the template, investigate the project to understand the relevant system:
[!IMPORTANT] The goal is to write a runbook with real commands and real paths, not generic placeholders. Every command in the Procedure section should be something the reader can actually run.
Edit the scaffolded file, replacing all template placeholders with project-specific content:
[!NOTE] Keep the Runbook Maintenance section as-is from the template. It contains instructions for both humans and AI agents to suggest updates when the runbook is used.
Check if the runbook directory has an index file (e.g., CLAUDE.md, README.md, or INDEX.md in the runbook directory). If so, add an entry for the new runbook following the existing format.
[!IMPORTANT] This step is critical. Runbooks only get used if agents and developers know they exist. The project's root
CLAUDE.mdis the single source of truth that Claude Code always reads — if a runbook isn't listed there, it effectively doesn't exist.
Read the project's root CLAUDE.md. Look for an existing ## Operational Runbooks section.
If the section already exists, add a new row to the table for the runbook you just created, following the existing format.
If the section does not exist, append it to the end of CLAUDE.md using this format (substitute the actual runbook directory, filename, and a concise "when to use" description):
## Operational Runbooks
Runbooks live in `<runbook-dir>/`. Consult these before ad-hoc debugging — they have tested commands and troubleshooting steps.
| Runbook | When to use |
|---|---|
| `<runbook-dir>/<runbook-name>.md` | <1-line description of when to reach for this runbook> |
The "When to use" column should describe the symptoms or situations that should trigger using the runbook — not just restate the title. Good example: "Debugging API errors, slow responses, auth failures, or investigating request patterns in CloudWatch". Bad example: "When you need to access API logs".
Show the user the completed runbook and ask if any steps need adjustment. Highlight any areas where you had to make assumptions due to limited information.
npx claudepluginhub lumberbarons/lumber-mart --plugin runbooksProvides Markdown templates for structuring operational runbooks including diagnosis, resolution, validation, and rollback with bash/Kubernetes/AWS examples.
Generates Markdown runbooks for incident response, operational procedures, troubleshooting guides, and emergency protocols from system analysis. Outputs structured files with metadata, steps, decision trees, and escalation paths.
Generates operational runbooks for repeatable incident procedures that any engineer can execute under pressure. Follows Google SRE and PagerDuty best practices.