← Back to Skills Marketplace
2019
Downloads
4
Stars
24
Active Installs
1
Versions
Install in OpenClaw
/install grafana
Description
Avoid common Grafana mistakes — query pitfalls, variable templating, alerting traps, and provisioning gotchas.
README (SKILL.md)
Variables and Templating
- Multi-value variable needs
$__allin regex — or only first value used ${var:csv}for comma-separated —${var:pipe}for pipe-separated in regex- Variable in query:
$varor${var}— different escaping per data source $__intervalauto-adjusts to time range — use for aggregation window- Chained variables: child depends on parent — set "Refresh" to "On time range change"
Prometheus Queries
rate()needs range vector —rate(requests_total[5m])notrate(requests_total)rate()for counters,deriv()for gauges — rate handles counter resets$__rate_intervalover hardcoded — adapts to scrape interval and dashboard range- Labels in legend:
{{label}}— multiple:{{instance}} - {{job}} - Regex filter:
metric{label=~"val1|val2"}—!~for negative match
Panel Configuration
- "No data" vs "null" are different — configure in display options
- Thresholds work on last value — not all values in range
- Min/max must match your data range — auto-scaling can hide anomalies
- Time series for trends, stat for current value — choose visualization wisely
Alerting
- Alert evaluates on server — not browser, query must work without variables
- Variables not supported in alerts — hardcode values or use templates
- Multiple conditions: AND is default — configure for OR if needed
- Alert state "Pending" before "Firing" — for duration, prevents flapping
- Notification channel must be configured — alert without channel = no notification
Dashboard Provisioning
- JSON export includes data source UID — will fail if different on import
- Use data source variables —
${DS_PROMETHEUS}substituted at runtime - Provisioned dashboards read-only by default —
allowEditing: truein provisioning - Folder must exist before dashboard provisioning — or import fails silently
Data Sources
- "Server" mode proxies through Grafana — hides credentials from browser
- "Browser" mode direct from browser — faster but exposes URL/auth
- Test connection catches most issues — but not query-specific problems
- TLS skip verify for self-signed — but fix proper certs for production
Transformations
- Order matters — transformations apply in sequence
- Outer join for combining queries — match on time or label
- Reduce for aggregating time series — last, mean, max, etc.
- Add field from calculation — combine metrics client-side
Common Mistakes
- Time range selector affects variable queries — unexpected results with "All time"
- Dashboard saved but datasource not — works locally, breaks on import
- Alert rule in dashboard vs Grafana alerting — different systems, don't mix
- Panel queries run on every refresh — high-cardinality queries slow dashboard
- Annotation queries add DB load — use sparingly on busy dashboards
Usage Guidance
This skill is a read-only collection of Grafana best practices and poses low technical risk: it requires no credentials, installs, or access to your system. Two practical considerations before installing: (1) provenance — the registry entry lists an unknown source and no homepage, so verify the author or cross-check the recommendations against official Grafana docs to ensure accuracy and currency; (2) feature expectation — this skill only provides guidance (not automated provisioning or API actions). If you want an agent that actually connects to or modifies Grafana, look for a skill that explicitly requests the appropriate datasource/API credentials and has a trustworthy source.
Capability Analysis
Type: OpenClaw Skill
Name: grafana
Version: 1.0.0
The skill bundle contains standard metadata in `_meta.json` and a `SKILL.md` file providing informational tips and best practices for using Grafana. The `SKILL.md` content is purely educational and does not contain any instructions for the AI agent to perform actions, execute commands, access files, make network calls, or manipulate its own behavior. There is no evidence of prompt injection attempts, data exfiltration, malicious execution, or other high-risk behaviors.
Capability Assessment
Purpose & Capability
Name/description promise Grafana tips and the SKILL.md contains only Grafana-related guidance (queries, templating, alerting, provisioning, transforms). No unrelated binaries, env vars, or config paths are required.
Instruction Scope
The SKILL.md is a static set of recommendations and does not instruct the agent to read local files, access environment variables, run shell commands, or transmit data to external endpoints. It stays within the stated scope of providing advice about Grafana.
Install Mechanism
There is no install spec and no code files; nothing is written to disk or downloaded. This is the lowest-risk install model (instruction-only).
Credentials
The skill declares no required environment variables, no credentials, and no config paths. That is proportionate for a documentation/advice skill.
Persistence & Privilege
Flags are default (always: false, user-invocable, model invocation allowed). The skill does not request elevated persistence or modify other skills; its privileges are appropriate for an advice-only skill.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install grafana - After installation, invoke the skill by name or use
/grafana - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Frequently Asked Questions
What is Grafana?
Avoid common Grafana mistakes — query pitfalls, variable templating, alerting traps, and provisioning gotchas. It is an AI Agent Skill for Claude Code / OpenClaw, with 2019 downloads so far.
How do I install Grafana?
Run "/install grafana" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Grafana free?
Yes, Grafana is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Grafana support?
Grafana is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).
Who created Grafana?
It is built and maintained by Iván (@ivangdavila); the current version is v1.0.0.
More Skills