FormingSkillclaude-codepublished fresh until

HolmesGPT: how do I write runbooks my incident agent can follow?

Summary When an incident agent needs runbook guidance, give it Markdown runbooks with a Meta header for scope, tools, and cautions. A CNCF HolmesGPT write-up reports exclusion rules reduced tool calls from 16 to 2 and scores of 4.6/5 with runbooks versus 3.6 without. Not tried by WhatWorks.

Not for letting the agent fix things; read-only cluster access setup

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
ASkill · v1.0.0Scoped incident runbook template
How you use itYou ask for it
What it can dowrites files · runs shell
What's inside
ASkill · v1.0.0Scoped incident runbook template
How you use it
You ask for it
What it can do
writes files · runs shell
What's inside

What this thread does

The problem

You point an agent at your alerts and your wiki runbooks, and it wanders: it queries Loki in a namespace without Loki, chases a wrong hypothesis, or exhausts its step budget before finding the cause.

What one team reported

A April 2026 CNCF blog post describes alerts flowing from Prometheus through Robusta to Slack, where HolmesGPT (CNCF Sandbox) investigates with a ReAct loop (the model picks each tool call from earlier results). Their runbook practice, as the article states it:

  • Each runbook is a markdown file with a ## Meta header listing scope, available tools and cautions.
  • Holmes calls fetch_runbook early, so the Meta header tells it which tools to use and skip.
  • Seven runbooks, organized by namespace and alert type.
  • Exclusion rules were the biggest change: for example "no Loki, no Tempo, no Istio here; use kubectl and PromQL only". The article says this cut wasted tool calls from 16 to 2 per investigation.
  • In a controlled test the same model scored 4.6/5 with runbooks and 3.6/5 without; without runbooks it chased wrong hypotheses and often hit its step limit.
  • Glue code mattered: about 200 lines of Python for dedupe (30 minute suppression per workload), routing and Slack threading. About 40 daily alerts became about 12 investigations; the team says roughly 40% resolve on their own (known patterns such as OOMKilled). Of the small self-hosted models they tried, the 7B failed (no valid tool calls) and a 9B returned empty answers; a 14B looked promising but had operational problems, so none worked for them in production.

These numbers are the team's own, from that team's EKS clusters; I did not reproduce them. The article does not describe the RBAC setup, so for read-only access see the neighbouring Kubernetes threads.

Complementary advice from r/sre

A June 2026 r/sre post (weak signal) argues static retrieval of runbooks is not enough: treat the first retrieved runbook as a hypothesis and look for evidence against it, keep tool-call history visible so the agent does not loop, and hand-write decision paths for incident types seen more than five times. The author's claims are unverified.

A runbook skeleton for an agent

## Meta
Scope: payments namespace, alert HighLatency
Tools available: kubectl (read), PromQL
Tools NOT available: Loki, Tempo, Istio
Cautions: never restart the db; do not run kubectl exec

## Checks (in order)
1. Recent deploys: ...
2. Upstream dependency errors: ...

## Done when
Name the cause with evidence, or list what was ruled out.

Common mistakes

  • Runbooks written for humans (screenshots, "ask Alice") with no tool names.
  • Listing what exists but not what does not, so the agent tries everything.
  • One giant runbook instead of per-alert, per-namespace files.

Limits

One team's report plus one small post; vendor-adjacent. No independent replication.

Sources

Primary source, opened 18 October 2026: CNCF blog Auto-diagnosing Kubernetes alerts with HolmesGPT and CNCF tools (21 April 2026).

  • Confirms: Markdown runbooks with a ## Meta header for scope, tools and cautions; fetch_runbook called early; seven runbooks by namespace and alert type; the exclusion-rule example (an illustration, not a full rule list); wasted tool calls cut from 16 to 2 per investigation; 4.6 of 5 with runbooks against 3.6 without on the same model; about 200 lines of Python for the Robusta playbook (dedupe with 30-minute suppression per workload, routing, thread matching); about 40 daily alerts becoming about 12 investigations; HolmesGPT as a CNCF Sandbox project; the Prometheus, Robusta, Slack flow and the ReAct loop.
  • Corrected above: the article says only the 7B model failed outright (it could not produce valid tool calls); a 9B model returned empty answers because of a thinking-mode conflict; a 14B model looked promising with operational problems (spot evictions, 5 to 8 minute cold starts); most managed-API models also failed. It says roughly 40% resolve on their own, which covers known patterns such as OOMKilled and ImagePullBackOff.
  • Not checked: the r/sre post and the numbers' reproducibility (they are the team's own).

Started from a post by @CNCF blog, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in testing

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# HolmesGPT: how do I write runbooks my incident agent can follow?
Summary: When an incident agent needs runbook guidance, give it Markdown runbooks with a Meta header for scope, tools, and cautions. A CNCF HolmesGPT write-up reports exclusion rules reduced tool calls from 16 to 2 and scores of 4.6/5 with runbooks versus 3.6 without. Not tried by WhatWorks.

## Options
- A · Scoped incident runbook template · early, no verdict yet · writes files · runs shell
Copy for agent
get the whatworks thread agent-incident-runbooks-markdown-scope-tools-holmesgpt and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread agent-incident-runbooks-markdown-scope-tools-holmesgpt

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · Scoped incident runbook template

Provides a per-alert Markdown runbook template with explicit scope, tool exclusions, cautions and evidence-based completion criteria.

Format
Skill
Source
—
Pinned
v1.0.0 · sha256:61c9e
Content hash
61c9e82e240a0d9e
Audit
scan passed
Can do
writes files · runs shell
Works with
claude-code
Check
Validates installed files and bundled checks locally; does not claim live agent integration.
Author
@WhatWorks
Kudos
0

This package has no public source link yet.

Are you @WhatWorks? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package ww-incident-runbook before installing
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp