Obs Alerts

SkillMonitoring & ops

Show active alerts and their resolution steps. Use this skill whenever the user asks about alerts, wants to know if anything is broken or firing, asks about Alertmanager state, mentions alert silences, or wants to troubleshoot a specific alert like OTelCollectorDown, LokiDown, HighSessionCost, or SensitiveFileAccess. Also use when the user says "any alerts?" or "is everything ok" in the context of the obs stack.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Obs Alerts skill

What this skill tells your AI

The instructions your AI receives, as published by shepard-system/shepard-obs-stack in .claude/skills/obs-alerts/SKILL.md and read by ahel’s review.

Active alerts, silences, and resolution guidance.

Queries to run

Use scripts/obs-api.sh. Run independent queries in parallel.

Active alerts

scripts/obs-api.sh am /api/v2/alerts --raw --jq 'if length == 0 then "No active alerts" else .[] | "\(.labels.alertname)\t\(.labels.severity // "?")\t\(.status.state)\t\(.startsAt)" end'

Silences

scripts/obs-api.sh am /api/v2/silences --raw --jq '.[] | select(.status.state == "active") | "\(.matchers | map("\(.name)=\(.value)") | join(", "))\tuntil \(.endsAt)"'

Prometheus rule states (firing/pending)

scripts/obs-api.sh prom /api/v1/rules --raw --jq '.data.groups[].rules[] | select(.state == "firing" or .state == "pending") | "\(.name)\t\(.state)\t\(.annotations.summary // "")"'

Total rule count

scripts/obs-api.sh prom /api/v1/rules --raw --jq '[.data.groups[].rules | length] | add'

Resolution hints

For alert-specific fix instructions, read references/resolution-hints.md in this skill directory.

Output columns

ColumnSource
Alertalertname label
Severityseverity label
Statusfiring/pending
SincestartsAt timestamp
Descriptionsummary annotation

For output format options (table/csv/json), read .claude/skills/obs-shared/assets/output-formats.md.

Presentation

  1. Alert table: Alert | Severity | Status | Since
  2. If alerts are firing, read references/resolution-hints.md and provide the fix
  3. If silences are active, mention them
  4. If no alerts: "All clear. 0 of 16 rules firing."
  5. Show total rule count for context

Signals

GitHub stars
70
Forks
6
Last commit
Mar 2026
Advanced
Catalog kind
skill
Gateway key
obs-alerts
Source
github.com/shepard-system/shepard-obs-stack
Obs Alerts (obs-alerts): Skill · ahel