🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

rpe-grafana

by @darkstards9

Read current values from Grafana dashboards without knowing the underlying queries. Use when: asked about values visible in a Grafana dashboard (sensor readi...

Versionv1.0.2
Downloads1,224
TERMINAL
clawhub install rpe-grafana

πŸ“– About This Skill


name: rpe-grafana description: "Read current values from Grafana dashboards without knowing the underlying queries. Use when: asked about values visible in a Grafana dashboard (sensor readings, metrics, stats). Navigate by dashboard and panel name β€” no PromQL/SQL needed. NOT for: writing to Grafana, admin operations, or raw query execution." metadata: { "openclaw": { "emoji": "πŸ“Š", "requires": { "env": ["GRAFANA_URL", "GRAFANA_USER", "GRAFANA_PASSWORD"] }, "install": [ { "id": "config", "kind": "config", "label": "Configure Grafana credentials in openclaw.json", }, ], }, }

Grafana Skill

Read current values from any Grafana dashboard without writing queries. The plugin navigates by dashboard and panel name, extracts the panel's existing query configuration, and returns a compact summary β€” no PromQL, SQL, or datasource knowledge required.

Works with any Grafana datasource (Prometheus, InfluxDB, MySQL, …).

When to Use

βœ… USE this skill when:

  • Asked about a value that's visible in a Grafana dashboard
  • Listing what dashboards or panels are available
  • Retrieving the current or recent value of a metric by panel name
  • When NOT to Use

    ❌ DON'T use this skill when:

  • Writing, modifying, or creating dashboards β†’ use Grafana UI
  • Admin operations (users, datasource config, alerts) β†’ use Grafana API directly
  • You need to run an arbitrary query not backed by an existing panel
  • Setup

    Add to your openclaw.json:

    {
      "plugins": {
        "entries": {
          "rpe-grafana": {
            "enabled": true,
            "config": {
              "url": "http://your-grafana:3000",
              "user": "your-username",
              "password": "your-password"
            }
          }
        }
      }
    }
    

    Or set environment variables:

  • GRAFANA_URL - Grafana base URL
  • GRAFANA_USER - Username
  • GRAFANA_PASSWORD - Password or API key
  • Tools

    grafana_list_dashboards

    List all available dashboards.

    Parameters: none

    Returns: [{ uid, title }]

    grafana_list_panels

    List all panels in a dashboard.

    Parameters:

  • dashboard_uid (required) - Dashboard UID from grafana_list_dashboards
  • Returns: [{ id, title }]

    grafana_query_panel

    Read the current data for a specific panel. Fetches the panel's query configuration from the dashboard and executes it via Grafana's datasource API β€” no query language knowledge needed.

    Parameters:

  • dashboard_uid (required) - Dashboard UID
  • panel_id (required) - Panel ID from grafana_list_panels
  • from (optional) - Start of time range (default: now-1h)
  • to (optional) - End of time range (default: now)
  • Returns: [{ refId, name, lastValue, unit }]

    Typical Workflow

    1. grafana_list_dashboards β†’ find the dashboard UID 2. grafana_list_panels β†’ find the panel ID by title 3. grafana_query_panel β†’ get the current value

    Notes

  • Requires a Grafana user with read access (Viewer role is sufficient)
  • Dashboard UIDs are stable identifiers; panel IDs are unique within a dashboard
  • Row panels are flattened automatically
  • ⚑ When to Use

    TriggerAction
    - Asked about a value that's visible in a Grafana dashboard
    - Listing what dashboards or panels are available
    - Retrieving the current or recent value of a metric by panel name

    βš™οΈ Configuration

    Add to your openclaw.json:

    {
      "plugins": {
        "entries": {
          "rpe-grafana": {
            "enabled": true,
            "config": {
              "url": "http://your-grafana:3000",
              "user": "your-username",
              "password": "your-password"
            }
          }
        }
      }
    }
    

    Or set environment variables:

  • GRAFANA_URL - Grafana base URL
  • GRAFANA_USER - Username
  • GRAFANA_PASSWORD - Password or API key
  • πŸ“‹ Tips & Best Practices

  • Requires a Grafana user with read access (Viewer role is sufficient)
  • Dashboard UIDs are stable identifiers; panel IDs are unique within a dashboard
  • Row panels are flattened automatically