Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Grafana Dashboard Audit and Cleanup

    by Saizul Amin

    1

    This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Grafana Dashboard Audit and Cleanup

    Grafana Dashboard Audit and Cleanup

    Example session with this skill installed

    Run the Grafana Dashboard Audit and Cleanup skill on my project and give me a prioritised list of what to fix, with exact changes.

    • Read your context and instructions
    • Compiled the grafana dashboard audit

    Here is what the Grafana Dashboard Audit and Cleanup skill produced.

    Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.

    Output

    MEDIUM dashboard.refresh_too_fast: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)': auto-refresh every 5s runs every query for every viewer
           -> use 30s or more (and set min_refresh_interval on the server)
    MEDIUM panel.deprecated_type: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)' panel 'Requests': 'graph' is deprecated (Angular panels are removed in Grafana 12)
           -> migrate to timeseries
    MEDIUM query.counter_without_rate: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)' panel 'Requests': counter 'http_requests_total' is graphed without rate()/increase()
           -> wrap it: sum(rate(x_total[$__rate_interval]))
    MEDIUM panel.duplicate_id: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)' panel '1': panel id 1 is used twice
    MEDIUM panel.deprecated_type: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)' panel '1': 'singlestat' is deprecated (Angular panels are removed in Grafana 12)
           -> migrate to stat
    MEDIUM panel.deprecated_type: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)' panel 'Codes': 'grafana-piechart-panel' is deprecated (Angular panels are removed in Grafana 12)
           -> migrate to piechart
    MEDIUM datasource.hardcoded: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)': datasource 'P1809F7CD0C75ACF3' hard-coded in 2 panel/query reference(s) (1, Latency)
           -> add a datasource variable and use ${datasource} so the dashboard works in other Grafana instances
    MEDIUM datasource.hardcoded: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)': datasource 'Prometheus' hard-coded in 1 panel/query reference(s) (Requests)
           -> add a datasource variable and use ${datasource} so the dashboard works in other Grafana instances
    MEDIUM variable.undefined: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)': $cluster is used but not defined in templating
           -> define it or fix the name
    LOW    dashboard.no_uid: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)': no uid: links and provisioning break when it is re-imported
           -> set a stable uid (lowercase, max 40 chars)
    LOW    panel.no_unit: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)' panel 'Requests': no unit: numbers are shown without seconds/bytes/percent
           -> set Standard options > Unit
    LOW    panel.no_title: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)' panel '1': singlestat has no title
    LOW    panel.no_unit: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)' panel '1': no unit: numbers are shown without seconds/bytes/percent
           -> set Standard options > Unit
    LOW    query.fixed_rate_window: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/observability-skills/tests/fixtures/grafana/dashboard-bad.json 'API (old)' panel '1': rate() over a fixed [1m] window
           -> use [$__rate_interval] so the window follows the scrape interval and zoom level
    LOW    panel.no_unit: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scra
    

    What you do next

    1. Fix the highest-severity items first.
    2. Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
    3. Keep the skill installed and re-run it whenever the project changes.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Audit Grafana dashboard JSON with a deterministic script and improve it - hard-coded datasource UIDs or names instead of a datasource variable, deprecated Angular panels (graph, singlestat, table-old, piechart and worldmap plugins) that stop working in Grafana 12, panels without title or unit, duplicate panel ids, auto-refresh under 30s, too many panels, undefined and unused template variables, multi-value variables without a custom All value, counters graphed without rate(), fixed rate windows instead of $__rate_interval, old schemaVersion and missing uid. Works on UI exports, /api/dashboards responses and provisioning folders.

    Who it's for

    Use when the user shares a dashboard JSON, asks to clean up, review, migrate or speed up Grafana dashboards, prepares dashboards for another Grafana instance or for Git provisioning, or upgrades to Grafana 11/12.

    What's inside

    • Tested, offline Python script(s): dashboard_audit.py (deterministic results, standard library only unless noted)
    • Reference guides: dashboard-design.md, checks.md
    • Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Workflow

    Why it's worth it

    Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.

    Works with every major AI agent

    Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.

    Requirements

    • Python 3.8+ for the bundled scripts
    • No API keys, no account, runs locally

    Open source: saizul/observability-skills on GitHub (MIT licence, by Saizul Amin).

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    Audit Grafana dashboard JSON with a deterministic script and improve it - hard-coded datasource UIDs or names instead of a datasource variable, deprecated Angular panels (graph, singlestat, table-old, piechart and worldmap plugins) that stop working in Grafana 12, panels without title or unit, du...

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Grafana Dashboard Audit and Cleanup on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.