← 返回 Skills 市场
qwqcode

Grafana Readonly

作者 qwqcode · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
212
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install grafana-readonly
功能描述
Read existing Grafana dashboards and panels without modifying them. Use when answering questions about values already visible in Grafana, locating the right...
使用说明 (SKILL.md)

Grafana Readonly

Use this skill as the default Grafana entrypoint for analytics work.

Core workflow

  1. Find the relevant dashboard.
  2. Inspect its panels and variables.
  3. Prefer reading or rerunning an existing panel before writing a new query.
  4. Stay read-only unless the user explicitly asks for creation or modification work.

Default task order

1. Locate the dashboard

Use dashboard search/list actions first.

Prefer this when the user asks things like:

  • “这个指标在哪个看板里?”
  • “有没有收入/LTV/注册转化相关看板?”
  • “帮我找睡眠内容消费的图表”

2. Inspect the dashboard structure

After finding a likely dashboard, read:

  • dashboard title / uid
  • panel list
  • variable list
  • default time range or refresh settings if available

Do this before answering confidently. Many mistakes come from grabbing the wrong panel.

3. Inspect the panel query

Before explaining a metric definition, extract the panel query/config.

Look for:

  • datasource
  • query language / query text
  • ref IDs / multiple queries
  • variable references
  • transformations

Use this when the user asks:

  • “这个图怎么算的?”
  • “这个 DAU 的口径是什么?”
  • “这个 panel 背后查的是哪张表/哪个 datasource?”

4. Rerun the panel query

When the user wants the same chart under another condition, rerun the existing panel query with:

  • a different time range
  • different variables
  • a different format if supported

Prefer rerunning an existing panel over inventing a new query.

Read-only rules

  • Do not create dashboards in this skill.
  • Do not update dashboards in this skill.
  • Do not delete dashboards, panels, alerts, or annotations.
  • If the task requires new dashboard creation, hand off to a build-oriented skill or explicit implementation flow.

Answering rules

When replying after Grafana reads, provide:

  • the answer first
  • the panel/dashboard used
  • any key variable or time-range assumptions
  • uncertainty if the panel does not fully match the question

Do not dump raw Grafana JSON unless the user explicitly wants it.

Minimum action coverage

This skill is expected to support these read paths:

  • search dashboards
  • get dashboard details
  • list panels
  • get panel query
  • list variables
  • run panel query

If an installed Grafana skill does not cover most of these, treat it as partial coverage and plan a local supplement.

When Grafana is not enough

Escalate beyond this skill when:

  • no matching dashboard/panel exists
  • the user needs an arbitrary new SQL query
  • the needed split is not supported by existing variables
  • the user is asking for a new dashboard design

In those cases, switch to the analytics workflow skill and decide whether to use Grafana datasource queries or direct ClickHouse.

References

Read these only when needed:

  • references/action-checklist.md for the concrete Grafana action matrix and MVP coverage
  • references/evaluation-notes.md for why rpe-grafana is a lightweight candidate and where it likely falls short
安全使用建议
This skill is a safe, read-only set of runtime instructions and won’t itself access your Grafana or databases — it only tells an agent how to behave. Before installing/use, check which Grafana connector or skill your agent will use to actually perform searches and queries: ensure that connector requests only a read-only Grafana API token and does not require database credentials (ClickHouse, etc.) unless you explicitly want direct datasource queries. If you want to prevent any write actions, verify the Grafana integration can be restricted to read-only API tokens and watch for any separate analytics skill that might attempt to run direct DB queries when Grafana is insufficient.
功能分析
Type: OpenClaw Skill Name: grafana-readonly Version: 1.0.0 The skill bundle defines a read-only interface for interacting with Grafana dashboards for analytics purposes. The instructions in SKILL.md and the reference files (action-checklist.md, evaluation-notes.md) focus on searching, inspecting, and querying existing panels while explicitly forbidding any modification or creation of resources. No malicious code, data exfiltration attempts, or harmful prompt injections were identified.
能力评估
Purpose & Capability
The name and description (read-only Grafana dashboard/panel inspection) match the SKILL.md: all instructions focus on searching dashboards, inspecting panels/variables, extracting queries, and rerunning panel queries. The skill does not request unrelated binaries, environment variables, or config paths. It explicitly limits itself to read-only workflows.
Instruction Scope
The instructions stay within a read-only analytics scope and explicitly forbid writes. One area to note: 'rerun the panel query' and the escalation guidance ('decide whether to use Grafana datasource queries or direct ClickHouse') imply the need for a live Grafana connector or datasource access; the skill itself contains no concrete API calls or auth instructions, so in practice another connector/skill will perform those actions. This is sensible but worth verifying in your environment (see user guidance).
Install Mechanism
Instruction-only skill with no install spec and no code files that would be written to disk. Lowest-risk category for installation behavior.
Credentials
The skill declares no environment variables, credentials, or config paths. That aligns with a read-only instruction-only helper; however, the actual runtime ability to read dashboards/panels will depend on a separate Grafana integration which will require credentials — confirm that integration requests only a read-only Grafana API token.
Persistence & Privilege
No 'always: true' flag and no requests to modify agent configuration or other skills. The skill is user-invocable and may be called autonomously by agents (platform default), which is expected for a helper skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install grafana-readonly
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /grafana-readonly 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of grafana-readonly—provides read-only access to existing Grafana dashboards and panels. - Enables searching and viewing dashboards, panels, queries, and variables without modification. - Supports rerunning existing panel queries with new time ranges or variables. - Explicitly prevents dashboard or panel creation, update, or deletion. - Offers clear task and answering guidance for Grafana-first analytics workflows. - Includes escalation guidance when read-only access is insufficient.
元数据
Slug grafana-readonly
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Grafana Readonly 是什么?

Read existing Grafana dashboards and panels without modifying them. Use when answering questions about values already visible in Grafana, locating the right... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 212 次。

如何安装 Grafana Readonly?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install grafana-readonly」即可一键安装,无需额外配置。

Grafana Readonly 是免费的吗?

是的,Grafana Readonly 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Grafana Readonly 支持哪些平台?

Grafana Readonly 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Grafana Readonly?

由 qwqcode(@qwqcode)开发并维护,当前版本 v1.0.0。

💬 留言讨论