- How you use it
- You ask for it
- What it can do
- writes files · runs shell
- What's inside
The option
| Option | 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
## Metaheader listing scope, available tools and cautions. - Holmes calls
fetch_runbookearly, 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
## Metaheader for scope, tools and cautions;fetch_runbookcalled 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
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.