dashboarding
Skill by grafana
Guides an AI assistant to build, modify and push Grafana dashboards as JSON through the HTTP API. It is for engineers who script dashboard creation or write dashboard JSON for a service.
Install dashboarding
Built from the published package, never by AI.
git clone --depth 1 https://github.com/grafana/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/grafana-core/dashboarding ~/.claude/skills/dashboardingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/grafana/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/grafana-core/dashboarding ~/.gemini/antigravity-cli/skills/dashboardingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through building, modifying and shipping Grafana dashboards as JSON. It covers panel types such as timeseries, stat, gauge, table, heatmap, logs, traces and node-graph, the 24-column gridPos layout, units, thresholds, variables, transformations, links and Loki or Prometheus annotations.
The workflow writes the dashboard JSON, validates it with jq, and pushes it with POST to /api/dashboards/db using a bearer token with dashboards:write. After each push, the assistant checks the returned version and reads the dashboard back by UID. It is aimed at engineers who script dashboard creation or write dashboard JSON for a new service. The source also covers search and folder creation.
Written from the project's SKILL.md and checked against it.
What it can do
- Push a new dashboardBuilds a dashboard JSON payload and pushes it with POST /api/dashboards/db.
- Add template variablesAdds a query variable such as $job as a dropdown and chains variables.
- Compute calculated fieldsUses a calculateField transformation to compute an Error % column.
- Organize and filter dataApplies the organize, calculateField and filterByValue transformations.
- Lay out panelsPlaces panels on a 24-column gridPos layout with units and thresholds.
- Build panel typesWrites timeseries, stat, gauge, table, heatmap, logs, traces and node-graph panels.
- Add linksCreates panel and dashboard links using ${__field.labels.x} and ${__from}.
- Overlay annotationsAdds Loki or Prometheus annotations, for example to show deploys.
- Verify pushesChecks the returned version and reads the dashboard back by its UID.
- Search and create foldersSearches dashboards and creates folders through the Grafana API.
What you need
- A Grafana stack (OSS, Enterprise or Cloud) reachable from your machine
- A Grafana API token with dashboards:write
- jq for inspecting responses
Try asking
- Create a dashboard for this metric showing request rate by status code
- Add a service dropdown variable named $job to my demo dashboard
- Show errors as a percentage column using a calculateField transformation
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/grafana-core/dashboarding/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
references/json-schema.md5 KB
Alternatives to dashboarding
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
dashboarding: common questions
What token does the API need?
The source uses a Grafana API token with dashboards:write, sent as a Bearer authorization header.
How do I confirm a dashboard push worked?
Check that the response status is success and note the returned version. Then GET the dashboard by its UID and confirm the title and panel count.
Can it compute a percentage in a panel?
Yes. The source shows a calculateField transformation that divides errors by total to produce an Error % column.
How do I install dashboarding?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dashboarding free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is dashboarding safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to dashboarding?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
