manage-dashboards

manage-dashboards is a skill for Claude Code from grafana/gcx. It costs 69 tokens per session (1,735 once invoked), scanned A, original, Apache-2.0.

A tool for listing, searching, inspecting, creating, updating, deleting, restoring, validating, and moving existing Grafana dashboards. It can inspect saved panels, queries, data sources, variables, and expressions.

In plain words
What is it for?
Use it to audit dashboard contents, find dashboards, review their configuration, or perform supported dashboard management tasks.
Why use it?
It shows what a dashboard actually contains and helps manage it safely across Grafana environments.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the gcx plugin — 24 skills, 1 agent shipped together

Good fit Use it to audit dashboard contents, find dashboards, review their configuration, or perform supported dashboard management tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/grafana/gcx/manage-dashboards
About the project

gcx is a command-line tool that lets people and AI coding agents manage and inspect Grafana Cloud, Enterprise, and open-source instances. It provides access to dashboards, alerts, SLOs, metrics, logs, and traces, with workflows for alert investigation, dashboard management, GitOps, and observability setup. Its catalogue entries provide agent instructions and extensions for using gcx.

grafana/gcx · 817 stars · on GitHub · grafana.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add grafana/gcx --skill manage-dashboards
Clone the repo
git clone --depth 1 https://github.com/grafana/gcx

Made for: Claude Code.

Or install gcx, the plugin that ships this one along with the rest of its 24 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for manage-dashboards

README.md
[![agentmods](https://agentmods.dev/badge/skills/grafana/gcx/manage-dashboards/github.svg)](https://agentmods.dev/skills/grafana/gcx/manage-dashboards)
Your own site
<a href="https://agentmods.dev/skills/grafana/gcx/manage-dashboards"><img src="https://agentmods.dev/badge/skills/grafana/gcx/manage-dashboards/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for manage-dashboards

Your own site · 80×15
<a href="https://agentmods.dev/skills/grafana/gcx/manage-dashboards"><img src="https://agentmods.dev/badge/skills/grafana/gcx/manage-dashboards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,735 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.01735
Opus 5.5 $0.00028 $0.00694
Sonnet 5.5 $0.00014 $0.00347
Haiku 4.5 $0.00007 $0.00173

Measured 14d ago against content hash 57d0e80fe367, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

manage-dashboards scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

claude-plugin/skills/manage-dashboards/SKILL.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Manage Dashboards

Use gcx dedicated commands first. Only use gcx api when a dedicated command cannot perform the requested operation.

Routing

User intent Use
Build a new dashboard from an idea, service, SLO, incident, or set of metrics create-dashboard
Redesign layout, choose panels/queries, or visually iterate dashboard quality create-dashboard
Generate a Go builder skeleton only generate-resource-stubs
Convert an existing live dashboard to Go code import-dashboards
List, search, inspect, delete, restore, pull, push, validate, promote, or snapshot existing dashboards this skill
Configure gcx/auth first setup-gcx

Preflight for Mutations

Before any create/update/delete/push/restore operation:

gcx config current-context
gcx config check

Use --context <name> when the user named a target environment. Do not switch the global context unless the user asked for it.

For writes, read current state first and preserve folder/manager intent:

gcx dashboards get <dashboard-name> -o json
gcx resources get folders -o json

Manager boundary: gcx protects resources managed by another tool. If a push fails because of grafana.app/managed-by, stop and ask/confirm before using --include-managed.

Typical Update Workflow

  1. Preflight — gcx config check, then fetch current state with gcx dashboards get <name> -o json
  2. Edit — write the modified YAML locally
  3. Validate and push — gcx resources validate -p <path> -o json, gcx resources push -p <path> --dry-run, gcx resources push -p <path>
  4. Verify — gcx dashboards get <name> -o json

Operation Reference

Use JSON/YAML for programmatic work and table/wide output for human summaries.

Operation Command pattern
List datasources gcx datasources list -o json
Prometheus metric names gcx datasources prometheus labels -d <uid> --label __name__
Prometheus label values gcx datasources prometheus labels -d <uid> --label <label>
Prometheus metric metadata gcx datasources prometheus metadata -d <uid>
Loki label names gcx datasources loki labels -d <uid>
Loki label values gcx datasources loki labels -d <uid> --label <label>
Tempo attribute names gcx datasources tempo labels -d <uid>
Tempo attribute values gcx datasources tempo labels -d <uid> -l resource.service.name --llm -o json
Pyroscope profile types gcx datasources pyroscope list-profile-types -d <uid>
Pyroscope label values gcx datasources pyroscope labels -d <uid> --label service_name
Other datasource types Check gcx datasources <type> --help for dedicated subcommands before using gcx api
List dashboards gcx dashboards list -o wide
Search by text/tag/folder gcx dashboards search "<query>" --tag <tag> --folder <folder-name> -o json
Get one dashboard gcx dashboards get <dashboard-name> -o json
Create from finished file gcx dashboards create -f <dashboard.yaml>
Update from finished file gcx dashboards update <dashboard-name> -f <dashboard.yaml>
Delete with confirmation gcx dashboards delete <dashboard-name>
Delete non-interactively gcx dashboards delete <dashboard-name> --force
Version history gcx dashboards list-versions <dashboard-name>
Restore version gcx dashboards versions restore <dashboard-name> <version> --message "<why>"
Pull dashboards/folders gcx resources pull dashboards folders -p <dir> -o yaml
Pull one dashboard gcx resources pull dashboards/<dashboard-name> -p <dir> -o yaml
Validate local files gcx resources validate -p <path> -o json
Preview push gcx resources push -p <path> --dry-run
Push local files gcx resources push -p <path>
Delete by selector gcx resources delete dashboards/<dashboard-name>
Edit in $EDITOR gcx resources edit dashboards/<dashboard-name> -o yaml
List resource kinds gcx resources list-types

Read the full file on GitHub · 151 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago Changed · -9 lines · -117 tokens per session 57d0e80fe367
  2. 2mo ago First seen · 160 lines · 186 tokens per session scan A 338c2876d7f0

Subscribe to this mod's changes

manage-dashboards is a skill published in the GitHub repository grafana/gcx (817 stars, last pushed today), licensed Apache-2.0. It adds 69 tokens to every session and 1,735 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

manage-dashboards compared with skills from other repositories

manage-dashboards next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
manage-dashboardsgrafana/gcxSkill817todayApache-2.0A69Claude Code
imagegenopenai/codexSkill133ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill195ktodayMITA53Claude Code, Codex