davidmarkgardiner/kagent-public/grafana-incident-evidence-pack
Claude Code and agent skill by davidmarkgardiner/kagent-public
- community
Checking that the SKILL.md file is still in the repository.
Build SRE-ready Grafana evidence packs from alert labels, using agent home dashboards for context and incident-specific dashboards for ticket handoff.
Install
npx vskill@latest install davidmarkgardiner/kagent-public/grafana-incident-evidence-packSKILL.md
The same SKILL.md was published earlier as davidmarkgardiner/kagent-public/grafana-incident-evidence-pack.
Grafana Incident Evidence Pack
Use this skill when an alert, operator question, or agent verdict needs a focused dashboard and evidence bundle for an SRE. The goal is not to link a generic dashboard. The goal is to show the exact pod, workload, service, cluster, logs, metrics, and recovery signal behind the incident.
Inputs
Start from the alert or event payload. Preserve the raw payload in the issue or workflow artifact.
Required labels when available:
clusterenvironmentnamespacepodcontainerworkloadservicenodealertnamestartsAt/endsAt
If the alert is missing one of the labels needed by the selected dashboard, say that explicitly and fall back to exact PromQL, LogQL, and Kubernetes queries.
Registry
Use observability/grafana/dashboard-registry.yaml as the routing table:
- Select the agent entry by
agentor incident domain. - Use the agent home dashboard for domain context.
- Use an evidence dashboard for the SRE ticket.
- Set every dashboard variable from alert labels.
- Record missing labels as telemetry debt.
Workflow
1. Scope The Incident
Answer these before remediation:
- Is this one pod, one workload, one namespace, one cluster, or fleet-wide?
- Did it start after a rollout, chaos run, node event, certificate renewal, DNS
sync, model backend change, or gateway change?
- Is observability itself healthy enough to trust the dashboard?
Fleet scope PromQL examples:
2. Pick The Dashboard
Use an incident dashboard when the payload identifies a concrete failing object:
- crashing pod:
k8s-pod-crash-evidence - service latency:
service-latency-evidence - multi-cluster spread:
fleet-scope-evidence
Use the agent home dashboard only as context:
- cert-manager agent home dashboard for certificate and ACME health
- external-dns agent home dashboard for DNS sync and provider errors
- chaos-triage agent home dashboard for Litmus, Argo, and kagent flow health
- platform-sre agent home dashboards for kagent, agentgateway, and fleet state
3. Query Metrics
For a crashing pod, gather at least:
4. Query Logs
Use narrow LogQL first:
Then add Kubernetes event logs if collected:
5. Build Links
Use Grafana MCP when available:
list_datasourcesquery_prometheusquery_loki_logssearch_dashboardsget_dashboard_panel_queriesgenerate_deeplink
Produce:
- focused evidence dashboard link with variables set
- Explore PromQL link
- Explore LogQL link
- source alert or panel link
Do not mutate dashboards from the default triage path. Dashboard writes require a separate approved workflow and service account.
6. Present The SRE Evidence Pack
Return this shape:
Learning Loop
At closeout, create a follow-up item when evidence was missing or stale:
- missing dashboard variable
- dashboard panel had no data
- labels differed between metrics and logs
- panel query was too broad
- no event/log collection for the affected namespace
- remediation verification lacked a clean recovery signal
The agent may draft the proposed dashboard or registry change, but should not apply it directly unless running in an approved dashboard-maintenance workflow.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingwork-agent-bundles/sre-grafana-mcp-observability/payload/agents/skills/grafana-incident-evidence-pack/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/davidmarkgardiner/kagent-public/grafana-incident-evidence-pack)