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.
npx skills add tmj-90/gaffer --skill runbook-generatorgit clone --depth 1 https://github.com/tmj-90/gafferWrote 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.
[](https://agentmods.dev/skills/tmj-90/gaffer/runbook-generator)<a href="https://agentmods.dev/skills/tmj-90/gaffer/runbook-generator"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/runbook-generator/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.
<a href="https://agentmods.dev/skills/tmj-90/gaffer/runbook-generator"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/runbook-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00065 | $0.01212 |
| Opus 5.5 | $0.00026 | $0.00485 |
| Sonnet 5.5 | $0.00013 | $0.00242 |
| Haiku 4.5 | $0.00006 | $0.00121 |
Grade A, and why
runbook-generator 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate operational runbooks
A runbook lets an on-call engineer who has never seen this service diagnose and mitigate it at 3am. It is a how-to guide in Diátaxis terms: task-first, numbered, copy-pasteable, with the expected result after each step. A wrong command is worse than a missing one.
Required sections
| Section | Contents |
|---|---|
| Overview | What the service does, owner team, criticality, SLO link |
| Dependencies | Upstream/downstream services, data stores, queues; what breaks if each fails |
| Health | How to tell it is healthy: endpoint, metric, dashboard; the expected healthy output |
| Alerts | One subsection per alert, anchored so the alert can link to it (below) |
| Routine operations | Start, stop, restart, scale, rotate a credential — exact commands |
| Deploy and rollback | How a release goes out; the exact rollback command and how to confirm it worked |
| Data safety | Backups, restore procedure, what must never be done to the data store |
| Escalation | Who next, how to reach them, when (time or severity threshold); postmortem template link |
Per-alert template
### <AlertName>
**Means:** <user impact in one sentence>
**Check:** <command/query> → healthy looks like <output>
**Likely causes:** <ranked, each with the check that confirms it>
**Mitigate:** 1. <command> → expect <output> 2. ...
**Escalate if:** <condition or elapsed time> → <team/channel>
Procedure
- Gather facts, not memories.
search_lorefor existing runbooks and on-call conventions; find existing runbooks in the repo (docs/runbooks/,ops/,README). Extend one if it exists. Read the deployment manifests, Dockerfile/compose, health endpoints, config keys, and alert rule files — the alert names and thresholds come from there, not from invention. - List every alert defined for the service and give each a subsection with a stable anchor. An alert without a runbook section is a gap to report.
- Write every command against the real service: real binary names, flags, namespaces,
label selectors, metric names. Parameterise only what varies (
<pod-name>), and say how to obtain it (kubectl get pods -l app=api -n prod). Mark destructive commands (delete, restore, force-unlock, failover) with a warning and a precondition check. - Make lock and lease recovery safe. If the service uses locks, leases or leader election, the runbook must say how to prove the holder is dead (process gone, node drained, fencing token advanced) before breaking the lock — never "delete the stale lock file". Breaking a lock held by a paused-but-alive process lost acknowledged writes in live runs.
- Include rollback as steps, with the verification that it worked (version endpoint, error ratio back under threshold), not "revert the deploy".
- Verify what you can (below). Anything you could not execute is marked
UNVERIFIED:with the reason; do not present it as tested. - Link both ways. Put the runbook next to the code (
docs/runbooks/<service>.mdunless the repo has a convention) and add or update each alert'srunbook_urlannotation to point at its anchor. Evidence with therecord-evidenceskill, then stop.
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.
- 2mo ago Changed · +35 lines f9d550c192e3
- 3mo ago First seen · 58 lines · 65 tokens per session scan A 2a2b77be742a
runbook-generator is a skill published in the GitHub repository tmj-90/gaffer (1 stars, last pushed 4d ago), licensed Apache-2.0. It adds 65 tokens to every session and 1,212 once invoked, about $0.0003 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-31.
runbook-generator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| runbook-generatortmj-90/gaffer | Skill | 1 | 4d ago | Apache-2.0 | A | 65 | Claude Code, Codex |
| bulwark-brainstormQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 50 | Claude Code |
| plan-creationQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 38 | Claude Code |
| anthropic-validatorQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 40 | Claude Code |
| create-subagentQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 42 | Claude Code |
| test-auditQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 0 | Claude Code |
| code-reviewQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 61 | Claude Code |