技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.2
统计:⭐ 0 · 435 · 2 current installs · 2 all-time installs
⭐ 0
安装量(当前) 2
🛡 VirusTotal :良性 · OpenClaw :良性
Package:darkstards9/rpe-grafana
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill's code, instructions, and required credentials are coherent with its stated purpose of reading Grafana dashboard panel values; nothing in the bundle indicates misdirection or hidden exfiltration, though you should supply a read-only Grafana credential and be aware it will execute panel-backed datasource queries via Grafana.
目的
Name/description match what the code implements: listing dashboards, listing panels, and calling Grafana endpoints to read panel-backed data. Required env vars (GRAFANA_URL, GRAFANA_USER, GRAFANA_PASSWORD) are appropriate for accessing Grafana.
说明范围
SKILL.md and index.js stick to reading dashboards/panels and calling Grafana APIs. The skill fetches dashboard JSON and then posts to Grafana's /api/ds/query to have Grafana execute datasource queries — this is expected behaviour for returning panel values, but it means Grafana will in turn query backend datasources. The SKILL.md says you can supply a password or API key; the code uses HTTP Basic auth (Authorization: Basic ...) which may not w…
安装机制
No install/download steps; code is included in the bundle (index.js) and will be loaded by the platform. No network installs or external archives are pulled at install time.
证书
Only Grafana access credentials are requested, which is proportionate. Recommendation: provide a least-privilege read-only (Viewer) account or a properly-scoped API key. Avoid using high-privilege/admin credentials. Also note the code defaults user to 'admin' when none provided, which could lead to unintended privilege usage.
持久
always is false and the skill does not request special platform privileges or modify other skills' configs. It registers optional tools for autonomous invocation (platform default) but does not request permanent elevated presence.
综合结论
This skill appears to do what it says: it reads Grafana dashboards and executes the panel-backed queries via Grafana's own datasource API. Before installing: 1) use a least-privilege Grafana credential (Viewer role or a narrowly scoped API key) rather than an admin account; 2) be aware the skill will cause Grafana to query your datasources (possible load/cost or side effects); 3) check that your Grafana API-key usage matches the skill's Basic …
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「rpe-grafana」。简介:Read current values from Grafana dashboards without knowing the underlying quer…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/darkstards9/rpe-grafana/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
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`:
```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