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
- Use gcx — do not call OnCall APIs directly (no curl, no HTTP libraries).
- The CLI emits structured diagnostics on stderr (
hint:,note:,warn:; JSONL withclassin agent mode). Pass them through. - The default
alert-groups listfilter excludes resolved + child groups. Surface--allonly when the user asks about history. - Action verbs in agent mode require
--forcewhen matched count > 1. Never pre-fill--forcewithout 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.