Skip to content
Back to skills

Write Runbook

ASecurity

A runbook for an alert or a service, every step checked against the repo

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 17, 2026
ai-agentsbashexpressgit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add ku5ic/claude-kit --skill write-runbook --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write Runbook?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Write Runbook
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ku5ic-write-runbook/badge)](https://www.skillsdirectory.com/skills/ku5ic-write-runbook)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: write-runbook
description: A runbook for an alert or a service, every step checked against the repo
argument-hint: "<alert name or service>"
allowed-tools:
  - Bash(git log *)
  - Bash(kit scratch-dir *)
---

# /write-runbook

Write the runbook an on-call engineer opens when an alert fires: what it means, how bad it is, how to triage, how to mitigate, and who to escalate to. Every command, flag, and link in it is checked.

Tone and shape: `skills/kit-rules/reference/output.md` section 4, which wins over this file; the sections this file defines stay.

<!-- chat: only
In claude.ai chat, the alert rule and what the user pasted are the material. Print the runbook in the reply; a step that couldn't be checked is cut and named with the check that would settle it, per step 5.
-->

Loading this skill isn't enough. Before the step a row names, read its file.

| Before               | Read                                                           |
| -------------------- | -------------------------------------------------------------- |
| Drafting the runbook | [reference/runbook-practice.md](reference/runbook-practice.md) |

## Procedure

<!-- chat: skip -->

1. The alert rules, in the repo (alert files, dashboards as code) and through the monitoring connector (`skills/kit-rules/reference/tooling.md` section 4). The alert's expression, threshold, and annotations, read.
2. An existing runbook for it, by the project's own link key or runbook folder. One exists, update it instead of adding a second.
3. The service's deploy, flag, and rollback paths, read from the repo.

<!-- chat: end -->

4. Draft per [reference/runbook-practice.md](reference/runbook-practice.md).
5. Each command, flag, and link checked against the repo or the connector. One that can't be is cut, and the reply names it with the check that would settle it.

<!-- chat: skip -->

## Output file

The project's runbook folder when it has one, else the path `kit scratch-dir runbook <alert-slug>` prints. Linking it from the alert rule is a config change, made only on the user's yes.

Reply with the path and one line per unverified step.

Arguments: `$ARGUMENTS`

<!-- chat: end -->

Files in this skill

  • SKILL.md2 KB
  • reference/runbook-practice.md925 B
  • sources.md502 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.