← all articles

Runbook template: write the runbook when the fix lives in one engineer's terminal

The fix worked, one engineer knows the steps, and the runbook never got written.

A runbook template needs an owner, the desired outcome, the tools and permissions, the steps, and error handling with escalation, published in a central place. That list follows AWS's Well-Architected guidance, checked December 3, 2026, which names relying on memory to complete each step of a process as an anti-pattern. So fill the steps from what was actually run, from shell history, terminal scrollback and the incident notes.

With ReMynd Teams, each person can also search what they saw on their own screen, from the day they install it, to write those steps.

Running a DevOps shop where the fixes live in people's heads? See how ReMynd Teams works for dev shops. ReMynd for dev shops or try it yourself first

What did we actually run last time?

Start with that question, not "what should the steps be." The steps that worked are already somewhere: in a terminal, a chat thread, a ticket. I'd say a runbook written from memory a week later skips the step that mattered.

If the fix came out of an outage, I'd write the incident timeline first and pull the runbook's steps from it.

Diagram with the eyebrow Runbook template, titled Write it from what was run, subtitled Three places the real steps already live. Three cards on the left, Shell history (the commands), Scrollback (what they printed) and Incident notes (the order it happened), connect with dotted curved lines to a runbook card outlined in claret that lists Outcome, Permissions, Steps, Errors and Owner.

The steps that worked are already on record somewhere. Illustration by ReMynd.

The 6 parts of a DevOps runbook template

A DevOps runbook needs these parts, and AWS's guidance names most of them. That AWS page carries a banner saying the whitepaper is for historical reference only.

  • Title and owner. AWS says to list the runbook owner and publish it in a central location.
  • Desired outcome. AWS says the desired outcome should be clearly indicated.
  • Tools and permissions. Clearly document necessary special permissions or tools, in AWS's words.
  • Steps. At a minimum, AWS says a runbook should be a text document of steps, in order.
  • Error handling and escalation. AWS asks for detailed guidance on error handling and escalations in case something goes wrong.
  • Last validated. My addition: the date someone other than the author last ran it. AWS says to validate a runbook by having someone else on your team run it.

Copy this runbook template into your wiki or repo. Use it as a runbook template for production support or for a routine deploy:

```

Runbook: <task name>

Owner: <name> Last validated: <date, by whom> Desired outcome: <what is true when this is done> Tools and permissions: <CLI, console, access needed> Steps:

  1. <command or action> Expect: <output that means it worked>
  2. ...

If something goes wrong: <checks, rollback, who to escalate to> Source: <incident or ticket this came from> ```

Where the real steps come from

Each source holds a different part of how to create a runbook from a fix someone already did.

SourceWhat it gives the runbookWhat it missesSource
Shell history (zsh)The commands, as history eventsWhat they printedzsh manual
Terminal scrollback or exportWhat the commands printedRows past the scrollback limitApple Terminal guide
A written playbookBest practices recorded ahead of timeSteps nobody wrote downGoogle SRE book
ReMynd, per personWhat that person saw on their own screen, after installAnything before install, apps and sites they excludeReMynd for dev shops

Google's SRE book makes the case for writing it down. It says that, in Google's experience, recording best practices ahead of time in a playbook produces roughly a 3x improvement in MTTR compared with winging it.

A simple decision path

Write the runbook in this order, while the fix is still fresh.

  1. Name the outcome. One line: what is true when the runbook is done.
  2. Pull the commands. Have the engineer who did the fix list them from shell history. How to see terminal history on Mac covers history, fc -l and scrollback.
  3. Add what to expect. Paste the output that told them each step worked, from scrollback, an export or their own screen history. If nobody remembers which app showed it, start with which app did I see it in.
  4. Write the failure branch. What to check, how to roll back and who gets escalated.
  5. Hand it to someone else. AWS says to validate a runbook by having someone else on your team run it. Fix every step they had to ask about.
  6. Pick what to automate. AWS says to start automating with runbooks that are short and frequently used. The find team tasks to automate repo has an inventory template and a script that ranks tasks by hours back per week.

If your team runs on Azure, Microsoft's Azure Automation supports several types of runbooks, and AWS's guidance points to AWS Systems Manager automations for turning flat text into automations.

Where ReMynd Teams fits

ReMynd Teams starts with each person's own ReMynd. The dev shops page says each person can search what they saw on screen, and engineers can ask from Claude Code or Codex. So the engineer who did the fix, if they had ReMynd installed at the time, can find the stack trace or the command output they saw, and write it into the runbook.

The manager gets something different: a weekly report of where the week went by team and which busywork is worth automating first, with an automation proposed for each. No timers, no scores, no rankings of people, and each person approves their findings first. The page says you never see screenshots, screen recordings or anyone's screen history.

That's the same split as the developer handover checklist, where the history helps the person writing it. For the engineer's side on its own, see ReMynd for engineers.

ReMynd captures locally and keeps the searchable index on your computer. Cloud sync is optional and off until each person turns it on, as of December 2026.

Honest limits

These limits come from ReMynd's own pages, checked the same day as the AWS page above.

  • ReMynd's dev shops and Teams pages don't describe writing runbooks for you. A person still writes and validates the runbook.
  • ReMynd captures only what is on your screen, starting from install. It cannot recover past work, so it won't fill in a fix from before.
  • ReMynd Teams is not a time tracker and does not replace one. Keep your wiki or repo as the place runbooks live.
  • ReMynd runs on Mac (macOS 15 or later, Apple silicon) and on Windows 11 (x64 or ARM64). There is no Linux version.

The short version

Outcome, permissions, steps with expected output, failure branch, owner, and someone else runs it. If your team's real problem is what a departing engineer knows, start with the developer handover checklist instead.

Want the next fix your team ships to be easy to turn into a runbook? See how ReMynd Teams works for dev shops. ReMynd for dev shops or try it yourself first

common questions

What should a runbook template include? +
AWS's Well-Architected guidance says a runbook should state the desired outcome, the special permissions or tools needed, step-by-step instructions, error handling and escalations, and the runbook owner, published in a central location.
How do I create a runbook from a fix someone already did? +
Start from what was actually run, not memory. Pull the commands from shell history, the output from the terminal's scrollback or an export, and the order from the incident notes. Then have someone else on the team run it to validate it, as AWS recommends.
What's the difference between a runbook and a postmortem? +
AWS calls a runbook a documented process to achieve a specific outcome. Google's SRE book describes a postmortem as a written record of an incident, including the actions taken to mitigate or resolve it. I'd pull the runbook's steps from those actions.
Which runbooks should a DevOps team automate first? +
AWS says to start with runbooks that are short and frequently used. To rank repeated tasks by hours back per week, the find-team-tasks-to-automate repo has an inventory template and a ranking script.
Does ReMynd Teams write runbooks? +
ReMynd's dev shops and Teams pages don't describe writing runbooks. Each person can search what they saw on their own screen, after install, to write the steps, and ReMynd Teams sends a weekly report of where the week went by team and the busywork worth automating, and each person approves their findings first.