import-dashboards

Import Grafana dashboards and convert them into Go builder code.

535|42|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/grafana/gcx --skill import-dashboards
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: import-dashboards
Source: https://github.com/grafana/gcx/tree/main/claude-plugin/skills/import-dashboards
Command: npx skills add https://github.com/grafana/gcx --skill import-dashboards

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Imports Grafana dashboards from a live Grafana instance and converts them into Go builder code to enable source-controlled, reproducible dashboard definitions.

Core Features & Use Cases

  • Import dashboards from a live Grafana instance and generate Go builder code.
  • Migrate dashboards to code for GitOps-like workflows using the grafana-foundation-sdk pattern.
  • Reverse-engineer existing dashboards for documentation, review, and SDK-ready output.

Quick Start

Import all dashboards from the connected Grafana instance into the default imported/ directory.

Frequently Asked Questions about import-dashboards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Grafana dashboards to Go code?▼

Convert Grafana dashboards to Go code by importing them from a live Grafana instance. The tool generates Go builder code using the grafana-foundation-sdk pattern, writing each dashboard as a function returning *resource.ManifestBuilder into the imported/ directory.

What is the best way to manage Grafana dashboards in version control?▼

Managing Grafana dashboards in version control is best achieved by converting them to Go builder code. This enables GitOps-like workflows where dashboard definitions are source-controlled, reproducible, and SDK-ready for review.

Can I reverse engineer existing Grafana dashboards into Go builder code?▼

Yes, you can reverse engineer existing Grafana dashboards into Go builder code. The converter imports dashboards from a live Grafana instance and outputs SDK-ready Go files, allowing developers to document and review dashboard definitions programmatically.

Does the Grafana dashboard converter require any external dependencies?▼

The Grafana dashboard converter operates without external dependencies. It connects directly to a live Grafana instance, imports the dashboards, and generates Go code using the grafana-foundation-sdk builder pattern.

How do I generate grafana-foundation-sdk files from a live Grafana instance?▼

Generate grafana-foundation-sdk files by running the converter against your live Grafana instance. It automatically imports all dashboards and writes the resulting Go builder code to the default imported/ directory.

What output format does the Grafana dashboard to Go code converter use?▼

The Grafana dashboard to Go code converter outputs files using the grafana-foundation-sdk builder pattern. Each dashboard becomes a dedicated function that returns a *resource.ManifestBuilder, stored within the imported/ directory for immediate SDK integration.