runbook-gen

runbook-gen is a skill for Claude Code, Codex from EliasOulkadi/shokunin. It costs 55 tokens per session (2,768 once invoked), scanned A, original, MIT.

A guide for writing incident-response runbooks and post-mortems. A runbook is a step-by-step document for handling a service problem; a post-mortem records what happened and what should change.

In plain words
What is it for?
Use it to document outages or degraded services, define severity and escalation paths, prepare incident communications, or write blameless post-mortems.
Why use it?
It helps on-call teams make decisions under pressure, coordinate communication, and capture follow-up actions after incidents.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to document outages or degraded services, define severity and escalation paths, prepare incident communications, or write blameless post-mortems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eliasoulkadi/shokunin/runbook-gen
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add EliasOulkadi/shokunin --skill runbook-gen
Clone the repo
git clone --depth 1 https://github.com/EliasOulkadi/shokunin

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for runbook-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/eliasoulkadi/shokunin/runbook-gen/github.svg)](https://agentmods.dev/skills/eliasoulkadi/shokunin/runbook-gen)
Your own site
<a href="https://agentmods.dev/skills/eliasoulkadi/shokunin/runbook-gen"><img src="https://agentmods.dev/badge/skills/eliasoulkadi/shokunin/runbook-gen/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for runbook-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/eliasoulkadi/shokunin/runbook-gen"><img src="https://agentmods.dev/badge/skills/eliasoulkadi/shokunin/runbook-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,768 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 234
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.02768
Opus 5.5 $0.00022 $0.01107
Sonnet 5.5 $0.00011 $0.00554
Haiku 4.5 $0.00006 $0.00277

Measured 3mo ago against content hash fee47fbd472d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

runbook-gen scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.pack/skills/runbook-gen/SKILL.md · 304 lines

How it starts

The opening of the file, as written. The whole thing — 304 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Runbook Generator

Operation runbooks that on-call engineers can follow under pressure. Based on Google SRE practices, PagerDuty incident response, and post-mortem culture.

Workflow

Follow these steps in order when generating a runbook:

  1. Discover — Ask the 5 Required Discovery questions (below) to scope the runbook
  2. Classify — Map the incident to the Severity Matrix; if unclear start at Sev2
  3. Template — Instantiate the Runbook Template with service-specific commands, time-boxes, and contacts
  4. War Room — Configure Slack channel, Zoom bridge, shared doc, status page, and customer comms
  5. Verify — Run through the Production Checklist before marking complete
  6. Archive — Store the runbook in the team's on-call repo, test in a drill within the quarter

When the ask is a post-mortem (not a runbook), skip steps 3-4 and use the Post-Mortem Template instead.

2. Required Discovery

  1. Service/System: What is the runbook about? (API, database, cache, queue)
  2. Incident types: What can go wrong? (down, degraded, slow, data loss)
  3. Environment: Production, staging, or both?
  4. Team structure: Primary, secondary, escalation contacts
  5. Existing monitoring: Alerts, dashboards, runbooks

3. Severity Matrix

Severity Definition Response SLA
Sev1 Service down, users impacted Respond within 15 min
Sev2 Degraded performance, partial impact Respond within 1 hour
Sev3 Minor issue, no user impact Next business day
Sev4 Internal tooling, non-critical Per team schedule

4. Runbook Template

## Runbook: [Incident Type]

### Detection
How this incident is typically discovered:
- Alert: [Prometheus/Grafana/Datadog alert]
- User symptom: [what users see or report]
- Automated detection: [auto-remediation]

### Initial Response (first 5 min)
1. Acknowledge alert (PagerDuty/Opsgenie). Time: < 2 min
2. Determine severity. Time: < 1 min
3. Assign owner. Create incident channel (#inc-sev1). Time: < 2 min
4. Post initial status:
   "Investigating [issue] affecting [scope]. Will update in 15 min."
5. Start diagnosis timer. Time: < 1 min

### Diagnosis (decision tree)
1. Check [primary dashboard]: expected [X], current [Y]
2. Check logs: `kubectl logs -n [ns] -l app=[service] --tail 200`
3. Check database health: `SELECT count(*) FROM pg_stat_activity`
4. Check cache/queue latency: `redis-cli --latency`
5. IF [error in logs] → Runbook A
6. IF [latency > threshold] → Runbook B
7. IF unknown → Escalate

### Resolution Procedures
Each time-boxed with exact commands and verification:

#### Runbook A: [Name] (10 min)
```bash

Read the full file on GitHub · 304 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 304 lines · 55 tokens per session scan A fee47fbd472d

Subscribe to this mod's changes

runbook-gen is a skill published in the GitHub repository EliasOulkadi/shokunin (112 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 2,768 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

runbook-gen compared with skills from other repositories

runbook-gen next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
runbook-genEliasOulkadi/shokuninSkill1121mo agoMITA55Claude Code, Codex
ask-user-questionspaulp-o/ask-user-questions-mcpSkill1486d agoMITA32Claude Code, Codex
chromadbalivirgo/Major-AI-SkillsSkill6yesterdayMITA39Claude Code
vector-backend-operationsKnuckles-Team/vector-mcpSkill164d agoMITA89Claude Code, Codex
vector-collection-managementKnuckles-Team/vector-mcpSkill164d agoMITA75Claude Code, Codex
vector-hybrid-searchKnuckles-Team/vector-mcpSkill164d agoMITA83Claude Code, Codex
vector-mcp-operationsKnuckles-Team/vector-mcpSkill164d agoMITA48Codex