grid-dashboard
БесплатноБез исполняемых скриптовНе проверенYAML format reference for grid dashboards rendered via preview_grid_dashboard. MUST be read before writing any dashboard YAML — defines the page structure, 6…
от treasure-data★ 23 звезды на GitHubОб этом скилле
Grid Dashboard
Build visual dashboards rendered in the artifact panel via preview_grid_dashboard. The agent writes a YAML file defining pages of grid cells; the MCP App renders them with a page selector.
(IMPORTANT): Include all analysis findings in the dashboard — do not omit relevant insights, metrics, or supporting facts. Build incrementally (see "Building YAML Incrementally" below).
YAML Structure
The YAML is page-based: top-level pages object where each key is a page identifier (e.g., URL, label) and each value defines a grid with cells.
pages:
"Page A":
title: "Page A Dashboard" # optional — shown as header
description: "Brief description" # optional — shown below title
grid:
columns: 3 # number of columns
rows: 3 # number of rows
cells:
- pos: "1-1" # row-column (1-based)
type: kpi # cell type
title: "Cell Title" # optional — uppercase label above content
kpi: # type-specific config
value: "1,234"
change: "+12%"
trend: up
"Page B":
title: "Page B Dashboard"
grid:
columns: 4
rows: 8
cells:
- pos: "1-1"
type: kpi
# ...
The UI renders a select box at the top to switch between pages.
Building YAML Incrementally
CRITICAL: Large dashboards MUST be built incrementally. Do NOT attempt to write the entire YAML in a single tool call — this causes output truncation mid-generation.
Multi-page dashboards — build one page at a time:
- Write the file with
pages:header and the first page's complete grid + cells - Edit the file to append the next page
- Repeat step 2 until all pages are written
- Call
preview_grid_dashboardonce at the end
Single pages with many cells (12+ rows) — build in row batches:
- Write the file with
pages:header, grid config, and the first 4–6 rows of cells - Edit to append the next 4–6 rows at the end of the
cellsarray - Repeat until all rows are written
- Call
preview_grid_dashboardonce at the end
Each tool call should produce a manageable amount of YAML. Never write more than ~6 grid rows in a single tool call.
Grid Layout
This is NOT a CSS framework 12-column grid (like Bootstrap). columns is the literal number of columns displayed. If you want 3 columns, set columns: 3 — do NOT set columns: 12 and merge cells to simulate 3 columns. The tool validates cell positions and will return errors for invalid formats.
grid.columnsandgrid.rowsmust be numbers matching the actual cell count (not strings, notauto). Do not declare more rows/columns than cells occupypos: "row-col"— 1-based coordinates (e.g.,"1-1"= top-left)- Cell merging:
pos: ["1-1", "1-3"]merges from row 1 col 1 to row 1 col 3. MUST be a YAML array of two strings - Each row has a fixed height range (120px–360px) — do not overfill cells
- Horizontal merging is useful — tables and charts benefit from full-width display (e.g.,
pos: ["3-1", "3-4"]) - Vertical merging is rarely needed — each row is at least 120px tall, so spanning 3 rows creates 360px+ of height, which is excessive for most content. Only merge vertically for very long markdown or tables with many rows. In most cases, let each cell occupy a single row.
Correct pos format:
pos: "1-1" # single cell at row 1, column 1
pos: ["1-1", "1-3"] # merged cell from (1,1) to (1,3)
pos: ["3-1", "5-4"] # merged cell spanning rows 3-5 and columns 1-4
WRONG — these will cause tool errors:
pos: "1-1:1-3" # ✗ colon separator
pos: "1-1to1-3" # ✗ "to" separator
pos: "1-1,1-3" # ✗ comma in string
pos: [1, 1] # ✗ numbers instead of "row-col" strings
Common grid sizes:
- 3×3 — compact overview (9 cells)
- 4×4 — standard dashboard (16 cells)
- 4×6 — detailed analysis with tables (24 cells)
Cell Types
kpi — Metric Card
Large number with optional trend indicator. Use for headline metrics in the top row.
- pos: "1-1"
type: kpi
title: "Total Revenue"
kpi:
value: "$1.2M" # string or number — displayed large
change: "+15.3%" # optional — shown below value
trend: up # optional — up | down | flat (colors the change)
subtitle: "vs. last quarter" # optional — small text below change
gauge — Half-Circle Meter
Score visualization with color thresholds. Use for scores, completion rates, health indicators.
- pos: "2-1"
type: gauge
title: "Health Score"
gauge:
value: 72 # current value
max: 100 # maximum value
label: "B" # optional — displayed in center (defaults to value)
thresholds: # optional — color breakpoints (use hex valu
Установить grid-dashboard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл grid-dashboard?
YAML format reference for grid dashboards rendered via preview_grid_dashboard. MUST be read before writing any dashboard YAML — defines the page structure, 6 cell types (kpi, gauge, scores, table, chart, markdown), grid layout rules, cell merging syntax, and incremental build workflow. Required by seo-analysis and any skill that produces visual data dashboards.
Как установить скилл grid-dashboard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл grid-dashboard запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic