gh-runbook

A runbook generator that turns a YAML work plan into draft GitHub issues. It creates a parent tracking issue, grouped child workstream issues, sequential batches, phase gates, and a script for creating them.

In plain words
What is it for?
Use it to validate a runbook specification, generate issue and summary files, and prepare an idempotent GitHub CLI script for later issue creation.
Why use it?
It organizes large projects into reviewable workstreams without publishing issues automatically.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/aram-devdocs/plumb/gh-runbook
Any agent
npx skills add aram-devdocs/plumb --skill gh-runbook
Clone the repo
git clone --depth 1 https://github.com/aram-devdocs/plumb

Made for: Claude Code, Codex.

Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,176 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00058 $0.01176
Opus 5 $0.00029 $0.00588
Sonnet 5 $0.00012 $0.00235
Haiku 4.5 $0.00006 $0.00118

Measured 2d ago against content hash b93145ab327d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gh-runbook 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 2d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/generate_runbook.py, scripts/validate_skill.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/gh-runbook/SKILL.md · 110 lines

How it starts

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

/gh-runbook — spec-driven runbook generator

Turn a PRD-phase spec into a parent tracking issue + N child workstream issues + an idempotent gh issue create script. Target repo: aram-devdocs/plumb.

Use /gh-issue afterwards to drive each child issue through the delivery lifecycle.

Usage

/gh-runbook docs/runbooks/phase-1-spec.yaml --dry-run
/gh-runbook docs/runbooks/phase-1-spec.yaml --output-dir .agents/runs/gh-runbook/phase-1/
/gh-runbook docs/runbooks/roadmap-spec.yaml --output-dir .agents/runs/gh-runbook/roadmap/

The underlying script:

python3 .agents/skills/gh-runbook/scripts/generate_runbook.py \
    docs/runbooks/phase-1-spec.yaml \
    --output-dir .agents/runs/gh-runbook/phase-1/ \
    --dry-run

Workflow

  1. Read the spec YAML. Validate it against schemas/runbook-spec.json (via cargo xtask validate-runbooks if available, or via the generator's --validate-only mode).
  2. Render the parent issue body from assets/parent-issue-template.md with all batches laid out as sub-sections.
  3. Render one child issue body per child from assets/child-issue-template.md.
  4. Emit manifest.json, summary.md, create-issues.sh in the output directory.
  5. Review summary.md.
  6. Only execute create-issues.sh after approval — it creates the real GitHub issues and updates the parent body with real issue numbers.

Spec schema

See references/spec-format.md for the full YAML grammar. A minimal skeleton:

schema: https://plumb.aramhammoudeh.com/schemas/runbook-spec.json
name: "Phase N — <headline>"
phase_number: N
repo: aram-devdocs/plumb

parent:
  title: "[RUNBOOK] Phase N — <headline>"
  labels: [phase-N, kind:rfc]
  milestone: "v0.N"
  summary: |
    <1–3 paragraph description>
  acceptance_criteria:
    - <objective gate for unlocking next phase>
  related_prd_sections: ["§10.3"]

batches:
  - id: "NA"
    description: "Foundation — independent, parallel"
    parallel: true
    issues:
      - slug: cdp-chromium-launch
        title: "feat(cdp): Chromium detection, launch, BYO-Chromium"
        labels: ["area:cdp", "kind:feat", "phase-N"]
        crate: plumb-cdp
        effort: M
        prd_refs: ["§10.6"]
        summary: |
          <purpose>
        acceptance_criteria:
          - bullet 1
        reviewers: ["02-spec-reviewer", "03-code-quality-reviewer", "05-architecture-validator", "06-security-auditor"]

phase_gate:
  criterion: |
    `just validate` passes AND <phase-specific check>.
  unblocks: "phase-(N+1)"

Read the full file on GitHub · 110 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 110 lines · 58 tokens per session scan A b93145ab327d

Subscribe to this mod's changes

gh-runbook is a skill published in the GitHub repository aram-devdocs/plumb (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 58 tokens to every session and 1,176 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other skills, from other repositories

extract-design

Extract the full design language from any website URL. Produces 8 output files including AI-optimized markdown, visual HTML preview, Tailwind config, React theme, shadcn/ui theme, Figma variables, W3C design tokens, and CSS variables. Also runs WCAG accessibility scoring. Use when user says 'extract design', 'get…

Manavarya09/design-extract · 98 tokens

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

contribution-workflow

Create or document a contribution workflow for a design system — the multi-stage process for evaluating, accepting, and shepherding new contributions through to publication. Trigger when someone says: how should someone contribute, contribution process, adding a new component, contribution guidelines, what's the…

murphytrueman/design-system-ops · 99 tokens

backlog-generator

Transform audit findings into sprint-ready work items with effort estimates, acceptance criteria, and stakeholder-friendly rationale. This converts existing findings into tickets, NOT the process for contributing new components to the system. Trigger when someone says: generate backlog items, create tickets from…

murphytrueman/design-system-ops · 108 tokens

bmad-sprint-planning

Gate planning readiness, generate sprint status tracking from epics, summarize sprint progress, and validate or repair the tracking file. Use when the user says "run sprint planning", "generate sprint plan", "check implementation readiness", "show sprint status", "validate sprint status", or "fix sprint status".

2233admin/design-pipeline · 67 tokens

bmad-sprint-status

Deprecated — forwards to bmad-sprint-planning (status view).

2233admin/design-pipeline · 20 tokens