[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-grafana-import-dashboards":3,"mdc--fvexm-key":34,"related-repo-grafana-import-dashboards":719,"related-org-grafana-import-dashboards":826},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":29,"sourceUrl":32,"mdContent":33},"import-dashboards","import Grafana dashboards as Go code","Imports existing Grafana dashboards as Go builder code via gcx. Use when the user wants to convert live dashboards to builder code, migrate dashboards to code, or reverse-engineer a dashboard from a Grafana instance. Triggers on \"import dashboard\", \"convert to code\", \"dashboard as code\", \"export dashboard\". For pulling dashboards as YAML\u002FJSON resource files rather than Go code, use manage-dashboards instead.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"grafana","Grafana","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fgrafana.jpg",[12,16,17,20],{"name":13,"slug":14,"type":15},"Dashboards","dashboards","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"Code Analysis","code-analysis",{"name":21,"slug":22,"type":15},"Go","go",430,"https:\u002F\u002Fgithub.com\u002Fgrafana\u002Fgcx","2026-07-15T05:34:10.690161",null,29,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":31},[],"A CLI for managing Grafana Cloud resources. Optimized for agentic usage.","https:\u002F\u002Fgithub.com\u002Fgrafana\u002Fgcx\u002Ftree\u002FHEAD\u002Fclaude-plugin\u002Fskills\u002Fimport-dashboards","---\nname: import-dashboards\ndescription: >\n  Imports existing Grafana dashboards as Go builder code via gcx. Use when\n  the user wants to convert live dashboards to builder code, migrate\n  dashboards to code, or reverse-engineer a dashboard from a Grafana\n  instance. Triggers on\n  \"import dashboard\", \"convert to code\", \"dashboard as code\", \"export dashboard\".\n  For pulling dashboards as YAML\u002FJSON resource files rather than Go code,\n  use manage-dashboards instead.\n---\n\n# Import Dashboards as Code\n\nImport existing dashboards from a Grafana instance and convert them to Go\nbuilder code using `gcx dev import`.\n\n## Prerequisites\n\n1. gcx installed and configured with a Grafana connection\n   (`gcx config check` should show a valid context)\n2. The target Grafana instance must be reachable\n\n## Import Commands\n\n### Import All Dashboards\n\n```bash\ngcx dev import dashboards\n```\n\nWrites Go files to `imported\u002F` (default). Each dashboard becomes a function\nreturning `*resource.ManifestBuilder`.\n\n### Import a Specific Dashboard\n\n```bash\ngcx dev import dashboards\u002Fmy-dashboard-uid\n```\n\n### Import to a Custom Directory\n\n```bash\ngcx dev import dashboards --path src\u002Fgrafana\n```\n\n### Import Multiple Resource Types\n\n```bash\ngcx dev import dashboards folders\n```\n\n## How It Works\n\n```\nGrafana Instance\n    │\n    ▼\ngcx dev import dashboards\u002Ffoo\n    │\n    ├── 1. Fetches resource via K8s API (\u002Fapis endpoint)\n    ├── 2. Detects the resource API version\n    ├── 3. Runs version-specific converter (JSON → SDK builder code)\n    ├── 4. Wraps in resource.NewManifestBuilder()\n    └── 5. Writes to imported\u002F\u003Csnake_case_name>.go\n```\n\nThe converter produces Go code using the grafana-foundation-sdk builder\npattern — the same pattern used by `dev generate` and `dev scaffold`.\n\n## Output Format\n\nEach imported file looks like:\n\n```go\npackage dashboards\n\nimport (\n    \"github.com\u002Fgrafana\u002Fgrafana-foundation-sdk\u002Fgo\u002Fdashboardv2beta1\"\n    \"github.com\u002Fgrafana\u002Fgrafana-foundation-sdk\u002Fgo\u002Fresource\"\n)\n\nfunc MyDashboard() *resource.ManifestBuilder {\n    \u002F\u002F ... builder code generated from the live dashboard\n}\n```\n\n## Workflow: Import → Edit → Push\n\n```bash\n# 1. Import from Grafana\ngcx dev import dashboards --path internal\u002Fdashboards\n\n# 2. Review and edit the generated code\n#    (fix up builder calls, add variables, etc.)\n\n# 3. Render manifests from the builders. In a gcx-scaffolded project,\n#    `go run .` writes JSON manifests to .\u002Fresources\ngo run .\n\n# 4. Push back to Grafana\ngcx resources push\n```\n\n## Common Issues\n\n| Issue | Fix |\n|-------|-----|\n| \"no converter found\" | The resource's API version has no converter; the error message names the unsupported version |\n| Auth error (401\u002F403) | Run `gcx config check` to verify credentials |\n| Empty import | The selector matched no resources; check UID with `gcx resources get dashboards` |\n| Build fails with `undefined: cog` (or another lowercase SDK identifier) | Older gcx versions omit SDK imports from generated files. Add the missing import `github.com\u002Fgrafana\u002Fgrafana-foundation-sdk\u002Fgo\u002F\u003Cpkg>` for each undefined identifier — `variants` is nested at `go\u002Fcog\u002Fvariants`. Newer gcx emits complete imports |\n| Imported code doesn't compile for other reasons | Complex dashboards can produce converter output that needs manual fixup: build, read the first error, fix, repeat |\n",{"data":35,"body":36},{"name":4,"description":6},{"type":37,"children":38},"root",[39,48,63,70,93,99,106,145,165,171,198,204,241,247,278,284,294,314,320,325,422,428,569,575,713],{"type":40,"tag":41,"props":42,"children":44},"element","h1",{"id":43},"import-dashboards-as-code",[45],{"type":46,"value":47},"text","Import Dashboards as Code",{"type":40,"tag":49,"props":50,"children":51},"p",{},[52,54,61],{"type":46,"value":53},"Import existing dashboards from a Grafana instance and convert them to Go\nbuilder code using ",{"type":40,"tag":55,"props":56,"children":58},"code",{"className":57},[],[59],{"type":46,"value":60},"gcx dev import",{"type":46,"value":62},".",{"type":40,"tag":64,"props":65,"children":67},"h2",{"id":66},"prerequisites",[68],{"type":46,"value":69},"Prerequisites",{"type":40,"tag":71,"props":72,"children":73},"ol",{},[74,88],{"type":40,"tag":75,"props":76,"children":77},"li",{},[78,80,86],{"type":46,"value":79},"gcx installed and configured with a Grafana connection\n(",{"type":40,"tag":55,"props":81,"children":83},{"className":82},[],[84],{"type":46,"value":85},"gcx config check",{"type":46,"value":87}," should show a valid context)",{"type":40,"tag":75,"props":89,"children":90},{},[91],{"type":46,"value":92},"The target Grafana instance must be reachable",{"type":40,"tag":64,"props":94,"children":96},{"id":95},"import-commands",[97],{"type":46,"value":98},"Import Commands",{"type":40,"tag":100,"props":101,"children":103},"h3",{"id":102},"import-all-dashboards",[104],{"type":46,"value":105},"Import All Dashboards",{"type":40,"tag":107,"props":108,"children":113},"pre",{"className":109,"code":110,"language":111,"meta":112,"style":112},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","gcx dev import dashboards\n","bash","",[114],{"type":40,"tag":55,"props":115,"children":116},{"__ignoreMap":112},[117],{"type":40,"tag":118,"props":119,"children":122},"span",{"class":120,"line":121},"line",1,[123,129,135,140],{"type":40,"tag":118,"props":124,"children":126},{"style":125},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[127],{"type":46,"value":128},"gcx",{"type":40,"tag":118,"props":130,"children":132},{"style":131},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[133],{"type":46,"value":134}," dev",{"type":40,"tag":118,"props":136,"children":137},{"style":131},[138],{"type":46,"value":139}," import",{"type":40,"tag":118,"props":141,"children":142},{"style":131},[143],{"type":46,"value":144}," dashboards\n",{"type":40,"tag":49,"props":146,"children":147},{},[148,150,156,158,164],{"type":46,"value":149},"Writes Go files to ",{"type":40,"tag":55,"props":151,"children":153},{"className":152},[],[154],{"type":46,"value":155},"imported\u002F",{"type":46,"value":157}," (default). Each dashboard becomes a function\nreturning ",{"type":40,"tag":55,"props":159,"children":161},{"className":160},[],[162],{"type":46,"value":163},"*resource.ManifestBuilder",{"type":46,"value":62},{"type":40,"tag":100,"props":166,"children":168},{"id":167},"import-a-specific-dashboard",[169],{"type":46,"value":170},"Import a Specific Dashboard",{"type":40,"tag":107,"props":172,"children":174},{"className":109,"code":173,"language":111,"meta":112,"style":112},"gcx dev import dashboards\u002Fmy-dashboard-uid\n",[175],{"type":40,"tag":55,"props":176,"children":177},{"__ignoreMap":112},[178],{"type":40,"tag":118,"props":179,"children":180},{"class":120,"line":121},[181,185,189,193],{"type":40,"tag":118,"props":182,"children":183},{"style":125},[184],{"type":46,"value":128},{"type":40,"tag":118,"props":186,"children":187},{"style":131},[188],{"type":46,"value":134},{"type":40,"tag":118,"props":190,"children":191},{"style":131},[192],{"type":46,"value":139},{"type":40,"tag":118,"props":194,"children":195},{"style":131},[196],{"type":46,"value":197}," dashboards\u002Fmy-dashboard-uid\n",{"type":40,"tag":100,"props":199,"children":201},{"id":200},"import-to-a-custom-directory",[202],{"type":46,"value":203},"Import to a Custom Directory",{"type":40,"tag":107,"props":205,"children":207},{"className":109,"code":206,"language":111,"meta":112,"style":112},"gcx dev import dashboards --path src\u002Fgrafana\n",[208],{"type":40,"tag":55,"props":209,"children":210},{"__ignoreMap":112},[211],{"type":40,"tag":118,"props":212,"children":213},{"class":120,"line":121},[214,218,222,226,231,236],{"type":40,"tag":118,"props":215,"children":216},{"style":125},[217],{"type":46,"value":128},{"type":40,"tag":118,"props":219,"children":220},{"style":131},[221],{"type":46,"value":134},{"type":40,"tag":118,"props":223,"children":224},{"style":131},[225],{"type":46,"value":139},{"type":40,"tag":118,"props":227,"children":228},{"style":131},[229],{"type":46,"value":230}," dashboards",{"type":40,"tag":118,"props":232,"children":233},{"style":131},[234],{"type":46,"value":235}," --path",{"type":40,"tag":118,"props":237,"children":238},{"style":131},[239],{"type":46,"value":240}," src\u002Fgrafana\n",{"type":40,"tag":100,"props":242,"children":244},{"id":243},"import-multiple-resource-types",[245],{"type":46,"value":246},"Import Multiple Resource Types",{"type":40,"tag":107,"props":248,"children":250},{"className":109,"code":249,"language":111,"meta":112,"style":112},"gcx dev import dashboards folders\n",[251],{"type":40,"tag":55,"props":252,"children":253},{"__ignoreMap":112},[254],{"type":40,"tag":118,"props":255,"children":256},{"class":120,"line":121},[257,261,265,269,273],{"type":40,"tag":118,"props":258,"children":259},{"style":125},[260],{"type":46,"value":128},{"type":40,"tag":118,"props":262,"children":263},{"style":131},[264],{"type":46,"value":134},{"type":40,"tag":118,"props":266,"children":267},{"style":131},[268],{"type":46,"value":139},{"type":40,"tag":118,"props":270,"children":271},{"style":131},[272],{"type":46,"value":230},{"type":40,"tag":118,"props":274,"children":275},{"style":131},[276],{"type":46,"value":277}," folders\n",{"type":40,"tag":64,"props":279,"children":281},{"id":280},"how-it-works",[282],{"type":46,"value":283},"How It Works",{"type":40,"tag":107,"props":285,"children":289},{"className":286,"code":288,"language":46},[287],"language-text","Grafana Instance\n    │\n    ▼\ngcx dev import dashboards\u002Ffoo\n    │\n    ├── 1. Fetches resource via K8s API (\u002Fapis endpoint)\n    ├── 2. Detects the resource API version\n    ├── 3. Runs version-specific converter (JSON → SDK builder code)\n    ├── 4. Wraps in resource.NewManifestBuilder()\n    └── 5. Writes to imported\u002F\u003Csnake_case_name>.go\n",[290],{"type":40,"tag":55,"props":291,"children":292},{"__ignoreMap":112},[293],{"type":46,"value":288},{"type":40,"tag":49,"props":295,"children":296},{},[297,299,305,307,313],{"type":46,"value":298},"The converter produces Go code using the grafana-foundation-sdk builder\npattern — the same pattern used by ",{"type":40,"tag":55,"props":300,"children":302},{"className":301},[],[303],{"type":46,"value":304},"dev generate",{"type":46,"value":306}," and ",{"type":40,"tag":55,"props":308,"children":310},{"className":309},[],[311],{"type":46,"value":312},"dev scaffold",{"type":46,"value":62},{"type":40,"tag":64,"props":315,"children":317},{"id":316},"output-format",[318],{"type":46,"value":319},"Output Format",{"type":40,"tag":49,"props":321,"children":322},{},[323],{"type":46,"value":324},"Each imported file looks like:",{"type":40,"tag":107,"props":326,"children":329},{"className":327,"code":328,"language":22,"meta":112,"style":112},"language-go shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","package dashboards\n\nimport (\n    \"github.com\u002Fgrafana\u002Fgrafana-foundation-sdk\u002Fgo\u002Fdashboardv2beta1\"\n    \"github.com\u002Fgrafana\u002Fgrafana-foundation-sdk\u002Fgo\u002Fresource\"\n)\n\nfunc MyDashboard() *resource.ManifestBuilder {\n    \u002F\u002F ... builder code generated from the live dashboard\n}\n",[330],{"type":40,"tag":55,"props":331,"children":332},{"__ignoreMap":112},[333,341,351,360,369,378,387,395,404,413],{"type":40,"tag":118,"props":334,"children":335},{"class":120,"line":121},[336],{"type":40,"tag":118,"props":337,"children":338},{},[339],{"type":46,"value":340},"package dashboards\n",{"type":40,"tag":118,"props":342,"children":344},{"class":120,"line":343},2,[345],{"type":40,"tag":118,"props":346,"children":348},{"emptyLinePlaceholder":347},true,[349],{"type":46,"value":350},"\n",{"type":40,"tag":118,"props":352,"children":354},{"class":120,"line":353},3,[355],{"type":40,"tag":118,"props":356,"children":357},{},[358],{"type":46,"value":359},"import (\n",{"type":40,"tag":118,"props":361,"children":363},{"class":120,"line":362},4,[364],{"type":40,"tag":118,"props":365,"children":366},{},[367],{"type":46,"value":368},"    \"github.com\u002Fgrafana\u002Fgrafana-foundation-sdk\u002Fgo\u002Fdashboardv2beta1\"\n",{"type":40,"tag":118,"props":370,"children":372},{"class":120,"line":371},5,[373],{"type":40,"tag":118,"props":374,"children":375},{},[376],{"type":46,"value":377},"    \"github.com\u002Fgrafana\u002Fgrafana-foundation-sdk\u002Fgo\u002Fresource\"\n",{"type":40,"tag":118,"props":379,"children":381},{"class":120,"line":380},6,[382],{"type":40,"tag":118,"props":383,"children":384},{},[385],{"type":46,"value":386},")\n",{"type":40,"tag":118,"props":388,"children":390},{"class":120,"line":389},7,[391],{"type":40,"tag":118,"props":392,"children":393},{"emptyLinePlaceholder":347},[394],{"type":46,"value":350},{"type":40,"tag":118,"props":396,"children":398},{"class":120,"line":397},8,[399],{"type":40,"tag":118,"props":400,"children":401},{},[402],{"type":46,"value":403},"func MyDashboard() *resource.ManifestBuilder {\n",{"type":40,"tag":118,"props":405,"children":407},{"class":120,"line":406},9,[408],{"type":40,"tag":118,"props":409,"children":410},{},[411],{"type":46,"value":412},"    \u002F\u002F ... builder code generated from the live dashboard\n",{"type":40,"tag":118,"props":414,"children":416},{"class":120,"line":415},10,[417],{"type":40,"tag":118,"props":418,"children":419},{},[420],{"type":46,"value":421},"}\n",{"type":40,"tag":64,"props":423,"children":425},{"id":424},"workflow-import-edit-push",[426],{"type":46,"value":427},"Workflow: Import → Edit → Push",{"type":40,"tag":107,"props":429,"children":431},{"className":109,"code":430,"language":111,"meta":112,"style":112},"# 1. Import from Grafana\ngcx dev import dashboards --path internal\u002Fdashboards\n\n# 2. Review and edit the generated code\n#    (fix up builder calls, add variables, etc.)\n\n# 3. Render manifests from the builders. In a gcx-scaffolded project,\n#    `go run .` writes JSON manifests to .\u002Fresources\ngo run .\n\n# 4. Push back to Grafana\ngcx resources push\n",[432],{"type":40,"tag":55,"props":433,"children":434},{"__ignoreMap":112},[435,444,472,479,487,495,502,510,518,535,542,551],{"type":40,"tag":118,"props":436,"children":437},{"class":120,"line":121},[438],{"type":40,"tag":118,"props":439,"children":441},{"style":440},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[442],{"type":46,"value":443},"# 1. Import from Grafana\n",{"type":40,"tag":118,"props":445,"children":446},{"class":120,"line":343},[447,451,455,459,463,467],{"type":40,"tag":118,"props":448,"children":449},{"style":125},[450],{"type":46,"value":128},{"type":40,"tag":118,"props":452,"children":453},{"style":131},[454],{"type":46,"value":134},{"type":40,"tag":118,"props":456,"children":457},{"style":131},[458],{"type":46,"value":139},{"type":40,"tag":118,"props":460,"children":461},{"style":131},[462],{"type":46,"value":230},{"type":40,"tag":118,"props":464,"children":465},{"style":131},[466],{"type":46,"value":235},{"type":40,"tag":118,"props":468,"children":469},{"style":131},[470],{"type":46,"value":471}," internal\u002Fdashboards\n",{"type":40,"tag":118,"props":473,"children":474},{"class":120,"line":353},[475],{"type":40,"tag":118,"props":476,"children":477},{"emptyLinePlaceholder":347},[478],{"type":46,"value":350},{"type":40,"tag":118,"props":480,"children":481},{"class":120,"line":362},[482],{"type":40,"tag":118,"props":483,"children":484},{"style":440},[485],{"type":46,"value":486},"# 2. Review and edit the generated code\n",{"type":40,"tag":118,"props":488,"children":489},{"class":120,"line":371},[490],{"type":40,"tag":118,"props":491,"children":492},{"style":440},[493],{"type":46,"value":494},"#    (fix up builder calls, add variables, etc.)\n",{"type":40,"tag":118,"props":496,"children":497},{"class":120,"line":380},[498],{"type":40,"tag":118,"props":499,"children":500},{"emptyLinePlaceholder":347},[501],{"type":46,"value":350},{"type":40,"tag":118,"props":503,"children":504},{"class":120,"line":389},[505],{"type":40,"tag":118,"props":506,"children":507},{"style":440},[508],{"type":46,"value":509},"# 3. Render manifests from the builders. In a gcx-scaffolded project,\n",{"type":40,"tag":118,"props":511,"children":512},{"class":120,"line":397},[513],{"type":40,"tag":118,"props":514,"children":515},{"style":440},[516],{"type":46,"value":517},"#    `go run .` writes JSON manifests to .\u002Fresources\n",{"type":40,"tag":118,"props":519,"children":520},{"class":120,"line":406},[521,525,530],{"type":40,"tag":118,"props":522,"children":523},{"style":125},[524],{"type":46,"value":22},{"type":40,"tag":118,"props":526,"children":527},{"style":131},[528],{"type":46,"value":529}," run",{"type":40,"tag":118,"props":531,"children":532},{"style":131},[533],{"type":46,"value":534}," .\n",{"type":40,"tag":118,"props":536,"children":537},{"class":120,"line":415},[538],{"type":40,"tag":118,"props":539,"children":540},{"emptyLinePlaceholder":347},[541],{"type":46,"value":350},{"type":40,"tag":118,"props":543,"children":545},{"class":120,"line":544},11,[546],{"type":40,"tag":118,"props":547,"children":548},{"style":440},[549],{"type":46,"value":550},"# 4. Push back to Grafana\n",{"type":40,"tag":118,"props":552,"children":554},{"class":120,"line":553},12,[555,559,564],{"type":40,"tag":118,"props":556,"children":557},{"style":125},[558],{"type":46,"value":128},{"type":40,"tag":118,"props":560,"children":561},{"style":131},[562],{"type":46,"value":563}," resources",{"type":40,"tag":118,"props":565,"children":566},{"style":131},[567],{"type":46,"value":568}," push\n",{"type":40,"tag":64,"props":570,"children":572},{"id":571},"common-issues",[573],{"type":46,"value":574},"Common Issues",{"type":40,"tag":576,"props":577,"children":578},"table",{},[579,598],{"type":40,"tag":580,"props":581,"children":582},"thead",{},[583],{"type":40,"tag":584,"props":585,"children":586},"tr",{},[587,593],{"type":40,"tag":588,"props":589,"children":590},"th",{},[591],{"type":46,"value":592},"Issue",{"type":40,"tag":588,"props":594,"children":595},{},[596],{"type":46,"value":597},"Fix",{"type":40,"tag":599,"props":600,"children":601},"tbody",{},[602,616,636,655,700],{"type":40,"tag":584,"props":603,"children":604},{},[605,611],{"type":40,"tag":606,"props":607,"children":608},"td",{},[609],{"type":46,"value":610},"\"no converter found\"",{"type":40,"tag":606,"props":612,"children":613},{},[614],{"type":46,"value":615},"The resource's API version has no converter; the error message names the unsupported version",{"type":40,"tag":584,"props":617,"children":618},{},[619,624],{"type":40,"tag":606,"props":620,"children":621},{},[622],{"type":46,"value":623},"Auth error (401\u002F403)",{"type":40,"tag":606,"props":625,"children":626},{},[627,629,634],{"type":46,"value":628},"Run ",{"type":40,"tag":55,"props":630,"children":632},{"className":631},[],[633],{"type":46,"value":85},{"type":46,"value":635}," to verify credentials",{"type":40,"tag":584,"props":637,"children":638},{},[639,644],{"type":40,"tag":606,"props":640,"children":641},{},[642],{"type":46,"value":643},"Empty import",{"type":40,"tag":606,"props":645,"children":646},{},[647,649],{"type":46,"value":648},"The selector matched no resources; check UID with ",{"type":40,"tag":55,"props":650,"children":652},{"className":651},[],[653],{"type":46,"value":654},"gcx resources get dashboards",{"type":40,"tag":584,"props":656,"children":657},{},[658,671],{"type":40,"tag":606,"props":659,"children":660},{},[661,663,669],{"type":46,"value":662},"Build fails with ",{"type":40,"tag":55,"props":664,"children":666},{"className":665},[],[667],{"type":46,"value":668},"undefined: cog",{"type":46,"value":670}," (or another lowercase SDK identifier)",{"type":40,"tag":606,"props":672,"children":673},{},[674,676,682,684,690,692,698],{"type":46,"value":675},"Older gcx versions omit SDK imports from generated files. Add the missing import ",{"type":40,"tag":55,"props":677,"children":679},{"className":678},[],[680],{"type":46,"value":681},"github.com\u002Fgrafana\u002Fgrafana-foundation-sdk\u002Fgo\u002F\u003Cpkg>",{"type":46,"value":683}," for each undefined identifier — ",{"type":40,"tag":55,"props":685,"children":687},{"className":686},[],[688],{"type":46,"value":689},"variants",{"type":46,"value":691}," is nested at ",{"type":40,"tag":55,"props":693,"children":695},{"className":694},[],[696],{"type":46,"value":697},"go\u002Fcog\u002Fvariants",{"type":46,"value":699},". Newer gcx emits complete imports",{"type":40,"tag":584,"props":701,"children":702},{},[703,708],{"type":40,"tag":606,"props":704,"children":705},{},[706],{"type":46,"value":707},"Imported code doesn't compile for other reasons",{"type":40,"tag":606,"props":709,"children":710},{},[711],{"type":46,"value":712},"Complex dashboards can produce converter output that needs manual fixup: build, read the first error, fix, repeat",{"type":40,"tag":714,"props":715,"children":716},"style",{},[717],{"type":46,"value":718},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":720,"total":825},[721,738,754,767,782,797,812],{"slug":722,"name":722,"fn":723,"description":724,"org":725,"tags":726,"stars":23,"repoUrl":24,"updatedAt":737},"agento11y","manage Grafana Agent Observability resources","Inspects and manages Grafana Agent Observability resources via gcx: conversations, generations, evaluators, rules, scores, and templates. Use when the user wants to list or search conversations, inspect generations, manage evaluators (upsert, test, delete), set up evaluation rules, check scores, or browse evaluator templates. Trigger on phrases like \"list conversations\", \"search generations\", \"what did the agent do\", \"debug LLM conversation\", \"create evaluator\", \"set up evaluation rule\", \"test evaluator\", \"check scores\", \"evaluate generation quality\", or \"set up online evaluation\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[727,730,731,734],{"name":728,"slug":729,"type":15},"Agents","agents",{"name":9,"slug":8,"type":15},{"name":732,"slug":733,"type":15},"Monitoring","monitoring",{"name":735,"slug":736,"type":15},"Observability","observability","2026-07-25T05:30:40.29622",{"slug":739,"name":739,"fn":740,"description":741,"org":742,"tags":743,"stars":23,"repoUrl":24,"updatedAt":753},"agento11y-instrument","instrument LLM apps for agent observability","Sets up and instruments a developer's own LLM app or agent to send generations and agentic workflow to Grafana Agent Observability (the Agent Observability SDKs) — greenfield setup, fixing broken instrumentation, or filling gaps in existing instrumentation. Uses gcx for the parts a static prompt can't do: `gcx login` \u002F `gcx cloud stacks` to find the stack, and `gcx agento11y agents|conversations|generations` to VERIFY that data actually lands — so it iterates (instrument → run → verify → fix) until generations arrive, not blindly. Reads the app's code, detects language\u002Fframework, classifies instrumentation state (none \u002F partial \u002F broken), then runs a fixed gap checklist whose #1 item is the silent failure no other prompt catches: the SDK emits OTel spans\u002Fmetrics but never creates a TracerProvider\u002FMeterProvider, so without them all metrics go to a no-op and are lost. Also checks agent_version (required for per-version Performance charts), set_result completeness, SYNC vs STREAM, parent_generation_ids DAG links, and workflow-step coverage. Recommends changes citing file:line and, only with explicit confirmation, applies minimal diffs that don't change app behavior. Pulls SDK reference from agento11y's llms.txt rather than restating it, and hands off to `agento11y-test-starter` once data flows. It does NOT write test suites or set up tenant evaluations, rules, or guards — offline test suites are `agento11y-test-starter`, tenant eval rules + guards are `agento11y-prod-setup`; does NOT install coding-agent telemetry plugins (that is llms.txt \"Path A\"); does NOT mint or store credentials or invent endpoints. Trigger on phrases like \"instrument my app\", \"send my agent's traces to Grafana\", \"set up AI observability for my app\", \"my generations aren't showing up\", \"why is Performance empty\", \"add Agent Observability to my code\", \"fix my instrumentation\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[744,745,746,749,752],{"name":728,"slug":729,"type":15},{"name":9,"slug":8,"type":15},{"name":747,"slug":748,"type":15},"Instrumentation","instrumentation",{"name":750,"slug":751,"type":15},"LLM","llm",{"name":735,"slug":736,"type":15},"2026-07-31T05:53:52.580237",{"slug":755,"name":755,"fn":756,"description":757,"org":758,"tags":759,"stars":23,"repoUrl":24,"updatedAt":766},"agento11y-prod-setup","setup production evaluation for AI agents","Sets up production evaluation and guardrails for a DEPLOYED AI agent in Grafana Agent Observability, grounded in the agent's own code and its real ingested traffic. The judgment layer on top of the `agento11y` skill: it reads the agent's source (system prompt, tools, entrypoint) AND samples its live traffic via gcx, checks what evaluators\u002Frules\u002Fguards already exist, then recommends only what's missing — online eval rules (score live conversations for regressions) and guards (warn-first request-path policies that redact \u002F tool-filter and may later be promoted to deny). It drafts reviewable YAML and, only with explicit confirmation, applies via `gcx agento11y`. New guards are drafted in warn mode (safe on live traffic — warn records but never blocks). It DOES create stack-level objects — that is the point — but every write is confirmed. It never rewrites or redeploys the agent. Trigger on phrases like \"set up production evaluation\", \"my agent is in prod what should I evaluate\", \"catch quality regressions\", \"add guardrails to my agent\", \"redact PII from my agent\", \"block dangerous tools\", \"set up online evals and guards\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[760,761,764,765],{"name":728,"slug":729,"type":15},{"name":762,"slug":763,"type":15},"Evals","evals",{"name":9,"slug":8,"type":15},{"name":735,"slug":736,"type":15},"2026-07-31T05:53:53.576347",{"slug":768,"name":768,"fn":769,"description":770,"org":771,"tags":772,"stars":23,"repoUrl":24,"updatedAt":781},"agento11y-test-starter","build and run agent test suites","Use early in an AI-agent project — before ship, before real traffic — to build a starter test suite for the agent and run it offline. Reads the agent's own code (system prompt, tools, task), writes a labeled draft suite of test cases (happy\u002Fedge\u002Fadversarial) grounded in real lines, and recommends how to score each case (the evaluators\u002Fjudges the offline runner uses). Assesses how runnable the agent is: for an easily-invoked agent it generates a runner stub (run_experiment.py) with two holes to fill and can optionally run it (only with permission, only against the endpoint the developer configured); for agents needing a harness or full runtime it points to the existing eval infra. It runs OFFLINE and never creates tenant-level evaluators, rules, or guards — that is `agento11y-prod-setup`, for a deployed agent with real traffic. Trigger on phrases like \"how do I test my agent before shipping\", \"write test cases for my agent\", \"set up tests for my agent\", \"check my agent before prod\", \"I have no traffic yet, how do I evaluate it\", \"test my agent offline\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[773,774,775,778],{"name":728,"slug":729,"type":15},{"name":9,"slug":8,"type":15},{"name":776,"slug":777,"type":15},"QA","qa",{"name":779,"slug":780,"type":15},"Testing","testing","2026-07-31T05:53:51.62785",{"slug":783,"name":783,"fn":784,"description":785,"org":786,"tags":787,"stars":23,"repoUrl":24,"updatedAt":796},"create-dashboard","create Grafana dashboards with gcx","Designs and creates Grafana dashboards with gcx, using `gcx dashboards snapshot` as a visual feedback loop. Use when the user wants to create a new Grafana dashboard, add panels, variables, or annotations to an existing dashboard, design dashboard panels, variables, queries, or layout, or make a material visual redesign. Triggers on \"create dashboard\", \"new dashboard\", \"build dashboard\", \"dashboard for \u003Cservice>\", \"add panels\", \"add variable\", \"add annotation\", \"improve this dashboard\", or \"iterate on a dashboard\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[788,789,792,795],{"name":13,"slug":14,"type":15},{"name":790,"slug":791,"type":15},"Data Visualization","data-visualization",{"name":793,"slug":794,"type":15},"Design","design",{"name":9,"slug":8,"type":15},"2026-07-25T05:30:46.289717",{"slug":798,"name":798,"fn":799,"description":800,"org":801,"tags":802,"stars":23,"repoUrl":24,"updatedAt":811},"debug-with-grafana","investigate application issues with Grafana","Structured workflow for investigating application problems with Grafana observability data (metrics, logs, traces) via gcx. Covers live firefighting AND retrospective incident analysis: incident triage, root-cause analysis, blast-radius checks (did an incident spill into other services), verifying whether a deployment or rollout triggered an incident, finding which service, endpoint, or path owns the most errors or slow requests, checking whether retries or queue backlogs piled up, and quantifying error or latency shares over a time window. Trigger on: \"my API is returning 500 errors\", \"latency is spiking\", \"investigate why requests are failing\", \"triage the incident\", \"blast radius\", \"root cause\", \"did the rollout cause it\", \"which endpoint owns the most 5xx\", \"did retries pile up\", or any request to analyse an earlier incident window using telemetry. For authoring dashboards use create-dashboard; for dashboard inventory use manage-dashboards.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[803,806,807,810],{"name":804,"slug":805,"type":15},"Debugging","debugging",{"name":9,"slug":8,"type":15},{"name":808,"slug":809,"type":15},"Incident Response","incident-response",{"name":735,"slug":736,"type":15},"2026-07-18T05:11:10.445428",{"slug":813,"name":813,"fn":814,"description":815,"org":816,"tags":817,"stars":23,"repoUrl":24,"updatedAt":824},"diagnose-entity-graph","diagnose Grafana Entity Graph issues","Diagnose Entity Graph problems: missing entities, missing edges, disconnected clusters, or filtering issues. Use when the user reports that Entity Graph doesn't look right, services are missing, edges aren't appearing, or environments can't be filtered. Triggers for: \"entity graph is empty\", \"services missing from entity graph\", \"no edges in entity graph\", \"disconnected services\", \"can't filter entity graph\", \"entity graph not working\", \"diagnose entity graph\", \"debug knowledge graph\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[818,819,820,823],{"name":804,"slug":805,"type":15},{"name":9,"slug":8,"type":15},{"name":821,"slug":822,"type":15},"Graph Analysis","graph-analysis",{"name":735,"slug":736,"type":15},"2026-07-25T05:30:39.380934",24,{"items":827,"total":960},[828,845,864,884,891,899,906,913,920,927,934,948],{"slug":829,"name":829,"fn":830,"description":831,"org":832,"tags":833,"stars":842,"repoUrl":843,"updatedAt":844},"faro-setup-web","instrument web apps with Grafana Faro","Instruments a web app with Grafana Faro Web SDK for frontend observability. Use when setting up error tracking, Web Vitals, session monitoring, or distributed tracing in a browser app.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[834,837,840,841],{"name":835,"slug":836,"type":15},"Distributed Tracing","distributed-tracing",{"name":838,"slug":839,"type":15},"Frontend","frontend",{"name":732,"slug":733,"type":15},{"name":735,"slug":736,"type":15},1103,"https:\u002F\u002Fgithub.com\u002Fgrafana\u002Ffaro-web-sdk","2026-07-12T07:43:24.63314",{"slug":846,"name":846,"fn":847,"description":848,"org":849,"tags":850,"stars":861,"repoUrl":862,"updatedAt":863},"configuring-yesoreyeram-infinity-datasource","configure Grafana Infinity data source","Configure the Infinity data source — base URL and allowed hosts, the authentication methods (basic, bearer token, API key, digest, OAuth passthrough, OAuth 2.0 client credentials\u002FJWT, Azure, Azure Blob, AWS), TLS, custom HTTP headers, network and security settings, the custom health check, and provisioning with a config file. Use when a user asks how to set up, configure, or change settings for the Infinity data source; how to authenticate to an API; how to allow hosts; how to provision it as YAML; or how to troubleshoot connection, authentication, or health-check issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[851,854,857,860],{"name":852,"slug":853,"type":15},"API Development","api-development",{"name":855,"slug":856,"type":15},"Authentication","authentication",{"name":858,"slug":859,"type":15},"Configuration","configuration",{"name":9,"slug":8,"type":15},1056,"https:\u002F\u002Fgithub.com\u002Fgrafana\u002Fgrafana-infinity-datasource","2026-07-12T07:43:25.939136",{"slug":865,"name":865,"fn":866,"description":867,"org":868,"tags":869,"stars":861,"repoUrl":862,"updatedAt":883},"querying-yesoreyeram-infinity-datasource","query data with Infinity datasource","Build queries with the Infinity data source — the query types (JSON, CSV, TSV, XML, GraphQL, HTML, UQL, GROQ, Google Sheets, Series, Transformations), the parsers (Frontend\u002Fsimple, Backend JSONata, JQ, UQL, GROQ) and which support alerting, the sources (URL, Inline, Reference, Azure Blob, Random walk), output formats (table, timeseries, logs, trace, node graph, dataframe), root selector and columns, computed columns\u002Ffilters\u002Fsummarize, pagination, and template variables. Use when a user asks how to query Infinity; how to fetch JSON\u002FCSV\u002FXML\u002FGraphQL\u002FHTML from a URL or inline; how to select rows and columns; how to transform data with UQL\u002FGROQ\u002FJSONata\u002FJQ; how to make a query work with alerting; how to paginate; or how to use variables in a query.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[870,873,876,877,880],{"name":871,"slug":872,"type":15},"CSV","csv",{"name":874,"slug":875,"type":15},"Data Analysis","data-analysis",{"name":9,"slug":8,"type":15},{"name":878,"slug":879,"type":15},"GraphQL","graphql",{"name":881,"slug":882,"type":15},"JSON","json","2026-07-15T05:34:05.773947",{"slug":722,"name":722,"fn":723,"description":724,"org":885,"tags":886,"stars":23,"repoUrl":24,"updatedAt":737},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[887,888,889,890],{"name":728,"slug":729,"type":15},{"name":9,"slug":8,"type":15},{"name":732,"slug":733,"type":15},{"name":735,"slug":736,"type":15},{"slug":739,"name":739,"fn":740,"description":741,"org":892,"tags":893,"stars":23,"repoUrl":24,"updatedAt":753},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[894,895,896,897,898],{"name":728,"slug":729,"type":15},{"name":9,"slug":8,"type":15},{"name":747,"slug":748,"type":15},{"name":750,"slug":751,"type":15},{"name":735,"slug":736,"type":15},{"slug":755,"name":755,"fn":756,"description":757,"org":900,"tags":901,"stars":23,"repoUrl":24,"updatedAt":766},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[902,903,904,905],{"name":728,"slug":729,"type":15},{"name":762,"slug":763,"type":15},{"name":9,"slug":8,"type":15},{"name":735,"slug":736,"type":15},{"slug":768,"name":768,"fn":769,"description":770,"org":907,"tags":908,"stars":23,"repoUrl":24,"updatedAt":781},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[909,910,911,912],{"name":728,"slug":729,"type":15},{"name":9,"slug":8,"type":15},{"name":776,"slug":777,"type":15},{"name":779,"slug":780,"type":15},{"slug":783,"name":783,"fn":784,"description":785,"org":914,"tags":915,"stars":23,"repoUrl":24,"updatedAt":796},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[916,917,918,919],{"name":13,"slug":14,"type":15},{"name":790,"slug":791,"type":15},{"name":793,"slug":794,"type":15},{"name":9,"slug":8,"type":15},{"slug":798,"name":798,"fn":799,"description":800,"org":921,"tags":922,"stars":23,"repoUrl":24,"updatedAt":811},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[923,924,925,926],{"name":804,"slug":805,"type":15},{"name":9,"slug":8,"type":15},{"name":808,"slug":809,"type":15},{"name":735,"slug":736,"type":15},{"slug":813,"name":813,"fn":814,"description":815,"org":928,"tags":929,"stars":23,"repoUrl":24,"updatedAt":824},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[930,931,932,933],{"name":804,"slug":805,"type":15},{"name":9,"slug":8,"type":15},{"name":821,"slug":822,"type":15},{"name":735,"slug":736,"type":15},{"slug":128,"name":128,"fn":935,"description":936,"org":937,"tags":938,"stars":23,"repoUrl":24,"updatedAt":947},"manage Grafana Cloud resources via gcx","Manages Grafana Cloud resources via the gcx CLI. Trigger when the user wants to inspect, create, update, delete, query, or automate any Grafana resource - dashboards, datasources, alerts, SLOs, synthetic checks, oncall, incidents, fleet, k6, knowledge graph, or adaptive telemetry.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[939,942,943,944],{"name":940,"slug":941,"type":15},"CLI","cli",{"name":9,"slug":8,"type":15},{"name":732,"slug":733,"type":15},{"name":945,"slug":946,"type":15},"Operations","operations","2026-07-31T05:53:50.587304",{"slug":949,"name":949,"fn":950,"description":951,"org":952,"tags":953,"stars":23,"repoUrl":24,"updatedAt":959},"gcx-demo","present gcx demo tours","Run a narrated, read-only demo tour of gcx for customer or colleague presentations. Showcases the breadth of gcx across every Grafana Cloud product area — resources, datasources, metrics, logs, traces, SLOs, alerts, synthetic monitoring, IRM, k6, fleet, and more. All commands are strictly read-only. Trigger when the user says \"demo gcx\", \"show off gcx\", \"customer demo\", \"gcx tour\", or \"\u002Fgcx-demo\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[954,955,956],{"name":940,"slug":941,"type":15},{"name":9,"slug":8,"type":15},{"name":957,"slug":958,"type":15},"Presentations","presentations","2026-07-25T05:30:45.282458",80]