consensys/ask-o11y-plugin/building-dashboards
Claude Code and agent skill by consensys/ask-o11y-plugin
- community
Checking that the SKILL.md file is still in the repository.
Creates and updates Grafana dashboards panel by panel through the dashboard MCP tools, with correct panel types, units, thresholds, and template variables. Use when the user asks to build, create, modify, or extend a dashboard — even when they say "add a panel", "make a chart", "dashboard for this service", or "visualize this metric" without saying dashboard.
Install
npx vskill@latest install consensys/ask-o11y-plugin/building-dashboardsSKILL.md
Dashboard creation workflow
Always create dashboards step by step — never generate a single large dashboard JSON with many panels in one call. Large payloads often exceed size limits and fail silently.
- First: Create an empty dashboard (minimal JSON: title, optional folder UID, empty or minimal
panelsarray). - Then: Add panels iteratively — use the update dashboard tool to add one or a few panels at a time (e.g., add a row or 1–2 panels per call).
- If the user wants many panels: Create the shell, then add panels in small batches until the dashboard is complete.
This keeps each tool call payload small and reliable.
Panel queries — Prefer label matchers and aggregation in PromQL so panels stay fast; set sensible time ranges per panel. When unsure which metric names exist, run the metric-name listing tool with a targeted regex before writing panel queries.
Panel type selection
| Data shape | Panel type | |
|---|---|---|
| Metric over time | timeseries | |
| Single value (+ trend) | stat | |
| Value against min/max | gauge | |
| Comparison across items | barchart / bar gauge | |
| Multi-column rows | table | |
| Distribution over time | heatmap | |
| Histogram of one window | histogram | |
| Part of a whole | piechart | |
| Log streams | logs | |
| Trace results | traces |
Panel JSON essentials
gridPosis a 24-column grid (full=24, half=12, third=8) with height ≈ 30px per unit- Set
fieldConfig.defaults.unit(reqps,percentunit,bytes,ms,short) or numbers render raw - Thresholds: green/yellow/red
stepswith the first step atvalue: null legendFormatnames series readably; substitute label values with${__field.labels.instance}-style placeholders- Template variables:
{ "name":"job", "type":"query", "query":{"query":"label_values(up, job)"}, "refresh":2, "includeAll":true, "multi":true }— chained variables refine the next dropdown
See references/dashboard-json.md for the full schema — panel JSON, units table, variables, transformations (e.g. an "Error %" calculateField), data links, and deploy annotations.
Verify after every update
After each create/update call, confirm success from the tool response (updated version number / saved state), and after the final panel re-read the dashboard and confirm the panel count and titles. A silent failure leaves the user with a stale dashboard.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpkg/skills/bundled/building-dashboards/SKILL.md
Popularity
- Repository stars
- 42
- Repository forks
- 13
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/consensys/ask-o11y-plugin/building-dashboards)