From enterprise-harness-engineering
Query and manage Grafana dashboards, alert rules, and data sources via HTTP API. Useful for viewing dashboards, troubleshooting alerts, checking metrics, or on mentions of Grafana, monitoring, observability.
How this skill is triggered — by the user, by Claude, or both
Slash command
/enterprise-harness-engineering:grafanaThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Query and manage Grafana monitoring dashboards, alert rules, and data sources via HTTP API.
Query and manage Grafana monitoring dashboards, alert rules, and data sources via HTTP API.
Configure your Grafana instance:
| Variable | Description | Required |
|---|---|---|
GRAFANA_URL | Your Grafana server URL (e.g., https://grafana.example.com) | Yes |
GRAFANA_TOKEN | API Key (Settings → API Keys, viewer or editor role) | Yes |
Authentication: curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" "$GRAFANA_URL/api/..."
Customize the following for your organization:
{Service} {Metric} {Condition} [{env}])Find a Dashboard:
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
"$GRAFANA_URL/api/search?query=<keyword>&tag=<tag>&type=dash-db" \
| jq '.[] | {uid, title, folderTitle}'
Get Dashboard Details:
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
"$GRAFANA_URL/api/dashboards/uid/<uid>" \
| jq '.dashboard.panels[] | {title, type}'
Check Active Alerts:
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
"$GRAFANA_URL/api/alerts?state=alerting"
List Data Sources:
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
"$GRAFANA_URL/api/datasources" \
| jq '.[] | {id, name, type, url}'
Search by Folder:
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
"$GRAFANA_URL/api/search?folderIds=<folder_id>&type=dash-db"
After each deployment, check key dashboards for:
GET /api/alerts?state=alerting — list all firing alerts# Delete a production dashboard (never delete, archive instead)
curl -X DELETE "$GRAFANA_URL/api/dashboards/uid/abc123"
# Fetch all dashboards without filtering (use search first)
for uid in $(curl ... /api/search | jq -r '.[].uid'); do
curl ... /api/dashboards/uid/$uid
done
# Search dashboards by tag
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
"$GRAFANA_URL/api/search?tag=production&type=dash-db" \
| jq '.[] | {uid, title, folderTitle}'
# Check active alerts
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
"$GRAFANA_URL/api/alerts?state=alerting"
# Get alert details for troubleshooting
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" \
"$GRAFANA_URL/api/alerts/<alert_id>"
npx claudepluginhub addxai/enterprise-harness-engineering --plugin enterprise-harness-engineeringCreate, modify, and organise Grafana dashboards including panels, variables, transformations, and alerting.
Manages Grafana dashboards: pull to/from local JSON/YAML files, create/validate new ones, promote across environments, manage folders, diff/edit/delete, and capture PNG snapshots.
Creates and manages production-ready Grafana dashboards for monitoring applications, infrastructure, SLOs, and KPIs using Prometheus metrics and RED/USE methods.