Skip to content
Back to skills

Runbook

ASecurity

Use when asked to make a plan, checklist, procedure, SOP, playbook, inspection guide or step-by-step walkthrough that someone will follow to do something correctly (inspect a used car, run a migration, file taxes, respond to an incident, repair something). Researches the topic from sources, maps subtopics, and writes a small set of short wiki pages with go/no-go gates, using teaching best practices. Also the base for domain skills such as handy:plan; not for explaining a topic with no task to...

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 4, 2026
developmentjavascriptgojava

Works with

  • mcp

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add tstapler/dotfiles --skill runbook --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Runbook?

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

Security grade badge for Runbook
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tstapler-runbook/badge)](https://www.skillsdirectory.com/skills/tstapler-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: runbook
description: Use when asked to make a plan, checklist, procedure, SOP, playbook, inspection guide or step-by-step walkthrough that someone will follow to do something correctly (inspect a used car, run a migration, file taxes, respond to an incident, repair something). Researches the topic from sources, maps subtopics, and writes a small set of short wiki pages with go/no-go gates, using teaching best practices. Also the base for domain skills such as handy:plan; not for explaining a topic with no task to perform (use topic-synthesis).
---

# Runbook

A runbook is a document someone follows while doing a task. It must be correct (researched), usable under pressure (short, ordered, gated), and teach the reader enough to handle surprises (pedagogy). Domain skills supply a **domain profile** (below) and inherit everything else here.

## Domain Profile (what a calling skill supplies)

| Field | Example (handy:plan) | Example (car inspection) |
|---|---|---|
| Audience and expertise | Expert builder, solo | First-time buyer plus a helper |
| Stakes and hazards | Structure, code, injury | Money, safety |
| Authoritative sources | Seattle codes, manufacturer TDS | Manufacturer bulletins, NHTSA, mechanic guides |
| Required sections | Briefing, engineering, phases, QA | Briefing, phases, walk-away list |
| Output location and naming | `logseq/pages/<Project> - <Topic>.md` | Same |

If the caller supplies none, ask for audience and stakes before researching. Everything else has a default below.

## Workflow

1. **Frame.** Write three lines: who follows this and what they already know; the outcome that counts as done; what goes wrong if a step is skipped. These set depth and tone, and expertise changes the style (see Pedagogy: expertise reversal).
2. **Recall.** Search the wiki for existing pages and past decisions; extend rather than duplicate (`knowledge-synthesis` Recall step).
3. **Topic map.** Before any searching, list the subtopics the runbook needs. One row each: question to answer, source types to use, the page it will land on, status (open, sourced, gap). Cover each phase of the task, each hazard, each standard or rule that applies, each decision the reader must make, and what to do when a check fails. Keep the map on the hub page until all rows are closed, then replace it with the child-page list.
4. **Deep research** (apply `meta-research-workflow` for method and citation records).
   - One researcher per map row when there are four or more rows; run them in parallel and give each its row, the audience, and the output format: claim, source URL and title, access date, confidence (VERIFIED, INFERRED, UNVERIFIED).
   - Source ladder: standard or regulation, manufacturer document, practitioner or professional guide, reputable secondary summary, forum. Cite the highest rung available and say which rung each claim came from.
   - Cross-check each claim that drives a gate or a number against a second source; mark single-source claims as such.
   - Second round only on rows left as gaps. Stop when each row is sourced or recorded as a named gap. Never fill a gap with plausible-sounding detail.
   - Fetch real artifacts (photos, diagrams, forms, data sheets) when the reader will need them; if the medium cannot embed them, link them and say so.
   - **Tools**: search and read with StaplerMCP first (`mcp__stapler-mcp__*`, for example `read_website`; use its search tool when the server lists one), then fall back to the built-in `WebSearch` and `WebFetch`, then to the Claude browser MCP (`mcp__claude-in-chrome__*`) whenever it is available. Use the browser, not only as a last resort, for bot-gated retailer pages (Lowe's, Amazon), prices, stock, review counts, JavaScript-rendered pages, and to confirm a link renders for a human. Open your own tab, close it when done, and do not work around a domain the browser refuses. If StaplerMCP fails to connect, say so and continue on the fallbacks. Subagents without web access return their queries for the parent to run.
5. **Design the page set** (sizes below), then **write** using the runbook anatomy.
6. **Self-review** against the Review Checklist, fix, then report gaps and unverified items to the user in plain terms.
7. **Journal.** Log what was created in today's journal per `knowledge-synthesis`.

## Page Set: Size and Structure

- **Hub** (one page, at most about 120 lines): properties line, one-paragraph synopsis, briefing checklist, the phase list with links, child-page list with one-line descriptions, open questions.
- **Child pages** (at most about 90 lines each; split before 120): one topic per page. Typical split: phases and gates; hazards and walk-away list; materials, tools or inputs; rules, codes or standards; decision log; research gaps.
- **Decision log**: dated, append-only; the hub never collects update notes.
- **Growth**: new distinct topic means new page linked from the hub. Time-varying data goes on dated snapshot pages.
- Each child starts with a one-line scope sentence linking the hub and ends with `## Related` linking the hub. Link by `[[Page Name]]`, never by section number. Android-safe filenames (` - ` for colons).

## Runbook Anatomy

1. **Briefing** (DO-CONFIRM, 5 to 9 killer items): the things an expert forgets under pressure. Ends with GO or NO-GO.
2. **Phases**, each with: purpose in one sentence; steps numbered in doing-order; for each non-obvious step, the reason in a clause; **gates** at the end.
3. **Gates**: `[H]` Hold (cannot proceed if it fails; say what to do instead), `[W]` Witness (measure or observe against a stated tolerance), `[R]` Record (photo or note, saying what for). Every phase has at least one `[H]`. Gates sit in their own lines, never inside prose.
4. **Failure paths**: for each `[H]`, the next move (retry, repair, escalate, stop). A stop condition with no next move is unfinished.
5. **Close-out checklist** and **walk-away or rollback list**.
6. **Gaps**: what is unverified, unavailable, or assumed.

## Example Phase (car inspection)

```
Phase 2: Cold start (5 min)
Why: a worn timing chain or tensioner is loudest in the first seconds.
1. Confirm the hood is cold to the touch.
2. Start the engine; stand at the open hood for 20 seconds and listen.
3. Check the dash: the check-engine light must go out once the engine is running.
[W] Rattle or knock lasts more than 5 seconds? Record a 10-second video.
[H] Check-engine light stays on, or knock continues: do not drive. Next: book the mechanic with the video, or walk away.
[R] Photo of the dash after start.
```

## Link Validation (every URL that goes into a page)

A 200 status is not enough: sites return 200 for a deleted page, a bot-check page or a redirect to a home page. Before a URL is written into any page:

1. **Fetch it** with the tool order above and read the title and the first lines. Check that the page is about the cited thing (the product, the section, the document), not an error, a category page or a bot-check.
2. **Classify**: OK, dead (404, 410, DNS or TLS failure), soft-404 (loads but is the wrong page), or blocked (403, 429, a challenge page). A blocked site is re-checked in the Claude browser MCP; if that cannot load it either, link it as `(not verified: blocked)` or do not link it.
3. **Replace, don't delete** a dead URL: find the current page by searching the site, verify the replacement the same way, and keep the original only as plain text in a Gaps list.
4. **Never construct a URL** from a pattern or memory (product slugs, CDN paths, PDF names). Only URLs copied from a fetched page or a search result are allowed, and each is fetched before use.
5. **Record** the check date next to the link or on the page's source table.
6. **Re-check on edit**: when editing a page, re-run the check over every URL on it (a script that extracts URLs, fetches each, and prints status and title is enough) and fix failures in the same pass.

## Style

- Imperative, one action per step, specific numbers and thresholds with units. Name the thing to look at, not "check the area".
- Define a term at first use; keep one word per concept.
- Reason before rule: a short "why" lets the reader adapt when the case differs.
- Cut anything that does not change what the reader does; no history, no restating. A step that cannot fail does not need a checkbox.
- Checklists carry only items that are skipped under pressure; reference material goes on reference pages (Diataxis: keep how-to, reference, and explanation apart).
- Label claims VERIFIED / INFERRED / UNVERIFIED where a reader might act on them, with a link.

## Pedagogy Applied

| Principle | How the runbook applies it | Source |
|---|---|---|
| Small steps, practice after each | One phase per page section; a gate after each phase | [Rosenshine, Principles of Instruction](https://static1.squarespace.com/static/5c47c0b3e17ba324ad0c9d7f/t/66738271b93d201c36e3d4c9/1718846070059/POI.pdf) |
| Worked examples, then fading | Include one filled-in example per recurring check for novices; drop it for expert audiences | [Worked-example effect](https://en.wikipedia.org/wiki/Worked-example_effect), [Expertise reversal](https://en.wikipedia.org/wiki/Expertise_reversal_effect) |
| High success rate with scaffolds | Checklists, models, and tolerances so the reader mostly succeeds | Rosenshine (above) |
| Check understanding | Gates that make the reader observe and state a result | Rosenshine (above) |
| Segmenting and pre-training | Short pages, vocabulary and parts named before the phase that uses them | [Mayer multimedia principles](https://medicine.nus.edu.sg/medixperience/scholarly-article/mayers-12-principles-of-multimedia-instruction/) |
| Signaling and coherence | Bold the decision words; remove decoration and side facts | Mayer (above) |
| Separate learning from doing | Explanation and background on their own pages; the runbook stays an action document | [Diataxis](https://www.diataxis.fr/start-here/) |
| Review | Closing recap of the three things that matter most; link back to the briefing | Rosenshine (above) |

The sources above were read as search summaries, not as full texts; open the primary papers (Rosenshine 2012, Sweller, Mayer) before quoting numbers from them.

## Review Checklist (read the output once, adversarially)

- Could the stated reader do each step with no other source? Any undefined term?
- Does each phase have an `[H]` and a next move for it?
- Does every number, threshold, and name trace to a source or a labeled inference?
- Every `[[link]]` resolves to a page that exists; every page is within its size cap.
- Every external URL passed Link Validation (fetched, title matches, date recorded); no URL was built from memory.
- Anything a first-time reader would not know to ask is either in the briefing or in a Gaps list.

## Related Skills

- `knowledge-synthesis`, `logseq-wiki-syntax` for page mechanics; `meta-research-workflow` for research method
- `handy:plan` is the construction domain profile built on this skill

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 development →

Comments

Loading comments…

Newsletter

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