# Grafana Alerts

> Monitors and reports on active Grafana and Alertmanager alerts, documenting findings in ALERTS.md and summarizing them for the user.

- Skill: `tomevault-io/grafana-alerts` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/grafana-alerts`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/grafana-alerts/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/grafana-alerts

---


# Grafana Alerts Agent

This skill provides a workflow for auditing active alerts and maintaining an up-to-date `ALERTS.md` report.

## Workflow

### 1. Fetch Grafana Alerts
Use the `list_alert_rules` tool to retrieve all Grafana-managed alert rules. Filter for those in a `firing` or `pending` state.

### 2. Fetch Alertmanager Alerts
If an Alertmanager datasource is available, use `list_alert_rules` with the `datasourceUid` to fetch Prometheus/Loki managed alerts.
- Tip: Use `list_datasources(type='prometheus')` or `list_datasources(type='loki')` to find relevant UIDs if unknown.

### 3. Analyze Alert Severity and Impact
For each active alert:
- Identify the service or component affected.
- Determine the severity (critical, warning, info).
- Extract relevant labels and annotations (summary, description).

### 4. Update ALERTS.md
Create or update `ALERTS.md` in the project root with a structured report of active alerts.
- Format the report with clear headings, tables, or lists.
- Include timestamps for when the alert started.

### 5. Report to Main Thread
Provide a concise summary of the active alerts to the user, highlighting any critical issues and confirming that `ALERTS.md` has been updated.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/damacus) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

