
How to Humanize a Runbook After ChatGPT
AI-written runbooks are vague exactly when precision matters. How to write runbooks with exact commands and clear decision points.
A runbook is a step-by-step guide for an operational task: restarting a service, rotating credentials, responding to a specific alert or failing over a database. Runbooks are read under pressure, often in the middle of the night, by someone who may not know the system well. Teams increasingly use AI to draft them. The drafts often look thorough but fail when needed: "Investigate the root cause of the issue and take appropriate remedial action. Restart the relevant services as necessary." An on-call engineer at 3am needs to know exactly which service, which command and how to tell if it worked.
This guide covers how to write runbooks that work when it matters.
Link runbooks to alerts
Each alert should link to its runbook. Start the runbook with what the alert means, its likely impact and how urgent it is. The engineer should know within seconds whether customers are affected.
Write exact steps
Here is a typical AI step:
Check the status of the database and restart it if necessary to restore normal operation.
And an exact one:
- Check replication lag:
psql -h db-primary -c "SELECT now() - pg_last_xact_replay_timestamp();"- If lag is over 5 minutes, page the database on-call (see Escalation below). Do not restart the primary.
The second gives the command, the threshold and the decision.
Add checks after each step
After each action, say how to confirm it worked: what output to expect, which dashboard to check. If the check fails, say what to do next.
Make decision points clear
Many incidents require judgement. Make decision points explicit: "If X, go to step 5. If Y, escalate." Avoid vague instructions like "use your judgement" without guidance.
Include escalation
List who to contact when the runbook does not resolve the problem, with how to reach them. Include thresholds for escalation, such as time spent or customer impact.
Warn about dangerous steps
Mark steps that could cause data loss or outages clearly, and explain the risk. Require confirmation or a second person for the most dangerous actions.
Test every command
AI tools often invent commands, flags or paths that look plausible but do not work in your environment. Test every step in a safe environment before publishing. Commands must match your actual systems.
Keep it current
Runbooks go out of date as systems change. Review them after incidents, after system changes and on a regular schedule. Record the last review date and owner at the top. Our guide to humanizing an incident postmortem covers learning from incidents.
Write for someone unfamiliar
Assume the reader is competent but does not know this system. Explain context briefly, link to architecture diagrams and avoid unexplained abbreviations.
Automate where possible
If a runbook is followed often and the steps are always the same, consider automating it. Runbooks remain useful for explaining what automation does and what to do when it fails.
Using AI sensibly
AI can help structure a runbook from notes or postmortems, or check for missing sections. Test every command and verify every step against your systems. If explanatory text still reads stiffly, a tool like Human Writes can help smooth it, but accuracy matters far more than style here. For related writing, see humanizing a status page incident update and humanizing a README.
A worked example
A team's AI-drafted runbook for a full disk alert said: "Identify large files and remove unnecessary data to free up space." During an incident, an engineer deleted log files that were needed for an audit. The rewrite listed the exact directories that were safe to clean, the command to check disk usage by directory, a warning that the audit logs directory must never be deleted, the command to expand the volume if cleaning was not enough, and who to page if usage stayed above 90%. The next full disk incident was resolved in ten minutes.
Practising runbooks
Run drills where engineers follow runbooks in a test environment, or during planned failure exercises. Drills reveal missing steps, wrong commands and unclear decision points before a real incident. New team members learn systems faster by working through runbooks with an experienced colleague.
Formatting for stressful moments
Keep formatting simple and scannable: numbered steps, commands in code blocks that can be copied, short sentences and warnings that stand out. Put the most common resolution first. Avoid long introductions; context can go at the end or in a linked document. Make sure runbooks are reachable even when your main systems are down, for example with an offline copy.
Collecting information before acting
Many runbooks should start by gathering information: which hosts are affected, when the problem started, whether a deploy happened recently. List the dashboards and commands to check first. Recording this early helps later diagnosis and the postmortem, and it stops engineers from making changes before understanding the situation.
Ownership
Every runbook needs an owner, usually the team responsible for the system. Owners review runbooks when systems change and respond to feedback from on-call engineers. A runbook without an owner quickly becomes dangerous, because people trust steps that no longer match reality.