oncall-triage

Installation
SKILL.md

OnCall Alert-Group Triage

OnCall alert groups are post-routing aggregations of alert deliveries — they answer "what is paging right now?". Grafana alert rules (under gcx alert rules) answer "why is rule X evaluating to firing?". This skill covers the OnCall side and pivots out when needed.

Core Principles

  1. Use gcx — do not call OnCall APIs directly (no curl, no HTTP libraries).
  2. The CLI emits structured diagnostics on stderr (hint:, note:, warn:; JSONL with class in agent mode). Pass them through.
  3. The default alert-groups list filter excludes resolved + child groups. Surface --all only when the user asks about history.
  4. Action verbs in agent mode require --force when matched count > 1. Never pre-fill --force without user confirmation.

Prerequisites

gcx configured with an active context that targets a Grafana stack with OnCall enabled. If not, use the setup-gcx skill first.

Triage Workflow

Step 1: List Active Alert Groups

Installs
18
Repository
grafana/gcx
GitHub Stars
611
First Seen
Jul 28, 2026
oncall-triage — grafana/gcx