/major-ai-skills:grafanafrom major-ai-skills
Build operable Grafana dashboards with template variables, provisioning-as-code, and unified alerts wired to Prometheus/Loki; avoid high-cardinality panels agents love to ship.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Grafana visualizes telemetry from data sources (Prometheus, Loki, Tempo, CloudWatch, …) via dashboards (panels + variables) and unified alerting (multi-source rules → contact points). Agents design on-call-first layouts (RED at top), provision JSON/YAML in Git, and keep alert expressions identical to @prometheus rule sources of truth.
┌─────────────────────────────────────────────────────────────┐
│ Grafana operational stack │
│ │
│ Data sources (Prometheus/Loki/…) │
│ ↓ queries (PromQL/LogQL) │
│ Dashboards (variables, rows, panels) │
│ Unified alerting → contact points → Slack/PagerDuty │
│ Provisioning: datasources.yaml + dashboards/*.json │
└─────────────────────────────────────────────────────────────┘
Use when
Do not use when
env, namespace, service via label_values; never hardcode prod names in panel queries.sum by (status))—no 500-line legends.grafana/provisioning/dashboards/; review in PRs like code.runbook_url annotation, mute windows documented; test contact point in staging.provisioning/datasources/prometheus.yaml:
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
uid: prom-main
isDefault: true
jsonData:
timeInterval: 30s
Panel PromQL (uses variables):
sum(rate(http_requests_total{service="$service", env="$env"}[5m])) by (status)
Variable query example:
label_values(http_requests_total{env="$env"}, service)
Unified alert sketch (mirror Prometheus rule):
severity=page, service=$servicerunbook_url| Symptom | Likely cause | Fix |
|---|---|---|
| All panels “No data” | Datasource URL/UID drift | Fix provisioning UID; test Explore |
| Variable empty | Label mismatch or ACL | Check metric exists for env; widen metric selector |
| Slow dashboard | High-cardinality query | Recording rules; reduce $__interval abuse |
| Alert never fires | Grafana rule vs Prometheus duplicate | Single source of truth; align expr |
| Alert storms | Missing for / no inhibit | Add pending period; route warnings separately |
| Broken JSON on deploy | Dashboard export noise | Strip ephemeral ids; pin schemaVersion thoughtfully |
@argocd).@github-actions).@prometheus alert names.@prometheus — metrics backend and recording rules@kubernetes — kube dashboards and default metrics@opentelemetry — trace/log correlation in Explore@nginx — edge latency panels vs originMANDATORY: Provision production-critical dashboards and datasource UIDs as code. Use template variables for env/service—no hardcoded prod labels in queries. Keep alert expressions synchronized with Prometheus rules or document intentional divergence. Cap panel cardinality; prefer recording rules over raw high-cardinality PromQL in every refresh.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization./act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.Other plugins' skills for the same job