grafana

Manage Grafana dashboards, alerts, and data sources via the HTTP API.

16|2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/kubiyabot/skill --skill grafana-kubiyabot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grafana
Source: https://github.com/kubiyabot/skill/tree/main/examples/wasm-skills/grafana-skill
Command: npx skills add https://github.com/kubiyabot/skill --skill grafana-kubiyabot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Grafana environments often host dashboards, alerts, and data sources across multiple teams and instances. This Skill provides a programmable interface to manage Grafana resources from the command line or an agent, enabling consistent configuration and faster incident response.

Core Features & Use Cases

  • List dashboards with optional filtering (folder, tag, query, limit) to quickly locate dashboards.
  • Get dashboard details including panels for review or migration.
  • List, get, and silence alerts to coordinate incident response and maintenance windows.
  • List and query data sources to verify connections and gather metrics across Grafana instances.
  • Use Case: When managing a fleet of Grafana instances, audit dashboards and alerts and export configurations for compliance or migrations.

Quick Start

Use the grafana skill to list dashboards, get a dashboard by UID, or manage alerts:

  • skill run grafana list-dashboards
  • skill run grafana get-dashboard --uid abc123
  • skill run grafana list-alerts

Frequently Asked Questions about grafana

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

FAQPage Schema
How do I manage Grafana dashboards and alerts from the command line?

You can manage Grafana dashboards and alerts from the command line by using the Grafana HTTP API to list, retrieve, and silence alerts across multiple instances. This provides a programmable interface for consistent configuration and faster incident response.

Can I silence Grafana alerts during a maintenance window via an API?

Yes, you can silence Grafana alerts during a maintenance window via the API. The skill exposes a silence-alert tool that allows you to programmatically coordinate incident response and suppress notifications directly from the CLI.

What do I need to configure before querying Grafana data sources programmatically?

Before querying Grafana data sources programmatically, you need to configure your GRAFANA_URL and GRAFANA_API_KEY. Once these environment variables are set, you can use the query-datasource tool to verify connections and gather metrics.

How do I list and filter Grafana dashboards by folder or tag?

To list and filter Grafana dashboards by folder or tag, use the list-dashboards tool with optional parameters for folder, tag, query, and limit. This allows you to quickly locate specific dashboards across your Grafana instances for review or migration.

Is there a way to audit Grafana dashboard configurations across multiple instances?

Yes, you can audit Grafana dashboard configurations across multiple instances by using the list-dashboards and get-dashboard tools to retrieve dashboard details including panels. This is useful for exporting configurations for compliance checks or fleet migrations.

What are the limitations of managing Grafana alerts via the HTTP API?

The HTTP API allows listing, getting, and silencing Grafana alerts but does not explicitly support creating or modifying alert rules. It is primarily designed for read operations, query tasks, and incident response coordination rather than full alert lifecycle management.