claude-dashboard
What it does
This skill builds a local dashboard or metrics page from datasets you have, showing charts, key numbers and tables with clear sources. It is for people who want a recurring report or KPI tracker they can refresh.
When to use it
- ✓When you want a dashboard, KPI tracker or scorecard built over a CSV, JSON or spreadsheet export.
- ✓When you want numbers shown with a panel that traces each figure to its source.
- ✓When you want a recurring report that can be refreshed with new data.
Skill link
https://github.com/JimLiu/baoyu-design/blob/main/dsh-plugins/dsh-claude-dashboard/skills/claude-dashboard/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Build a dashboard from this sales CSV with monthly charts and a table, and show the source of each number.”
5 new skills a week. 1 minute to read.
How it works
The agent loads the datasets into the dashboard's document store, writes the page over that data, and opens it in a live editor. Each number is linked to its source.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Dashboard — the shared type
A dashboard is a page you write over datasets the type loads, attributes
and refreshes. Everything is a document in its own store, written with
write-db. SKILL.md, artifact-type/ and scripts/ are the type's own
files: leave them as they are.
What the person asks for is what you build; the defaults apply only to what
they left unsaid. Whatever the page's own code can draw or do is allowed: any
chart, control or interaction. A chart they named is the one you draw, by hand
where d3 has no helper; if you draw another, say which and why.
The calls
A dashboard is a folder, <root>: designs/<slug>/ in the current project
unless the person names another (<slug>: the title in lowercase words joined
by -; a title not in Latin letters, such as a Chinese one, takes a short
English rendering of it: x-account-analytics). The first write-db or
upload creates it. One script, Node 22 or later with nothing to install,
does every call; below, A is <this skill's folder>/scripts/artifact.mjs.
| Command | Does |
|---|---|
node $A write-db <root> <batch.json | -> |
Writes documents: set, update, delete. All or nothing. |
node $A read-db <root> [<collection>[/<doc_id>]] [--text] |
Lists every document, a collection's, or one (--text prints its text raw). |
node $A upload <root> <file> [--name n] |
Attaches a CSV, TSV or JSON file: {"url": "/_blob/<id>", "bytes", "contentType", …}. |
node $A delete-asset <root> <url | id> |
Removes an attached file no document names any more. |
node $A check <root> |
Checks the documents, the page's files, and that each dataset mark's data-where/data-row finds its rows. Exit 1 while problems > 0. |
node $A open <root> [--port n] [--lan] |
Starts the editor at 127.0.0.1:4740 (the next free port up when 4740 is taken; --port n starts from n, --port 0 takes any) in the background and returns {"url", "pid", "stop", …}; url is the dashboard's own page; its path, /dashboard/<id>/, stays the same from one start to the next (/ goes there). Run again, it reuses the one running. --lan: also on the local network (see Sharing). --agent-hook "<command>": see Comments. |
node $A serve <root> [--port n] [--lan] / stop <root> |
The same server in the foreground / stops the background one. |
node $A share <root> |
Opens it to the local network and prints a link per role; --disable / --enable / --reset <role>, --role <guest>=<role>, --off. See Sharing. |
node $A comments <root> [--all] / --wait |
The comments people left on the page / waits for one they send you. See Comments. |
node $A comment-reply <root> <id> <text|-> / comment-resolve <root> <id> |
Answers one (--resolve closes it too) / closes one (--reopen). |
node $A archive <root> [--out file.zip|dir] |
The whole folder, history and comments too, as one zip beside it (--out: another file or folder), to back it up, move it to another computer or send it to someone: {file, files, bytes, open}. Unzipped anywhere, open carries on. The owner's Download folder button in the page does the same; the server's own files and the share links stay out. |
- A batch is a JSON array (or
{"writes": [...]}) of{"op": "set" | "update" | "delete", "path": "<collection>/<doc_id>", "data": {...}}(collectionanddoc_idin place ofpathwork too;file_path, a JSON file, in place ofdata). Up to 50 writes and 1 MB, each document once; every write is checked before any is written.-reads the batch from stdin. From a shell heredoc, quote its word (<<'EOF'): unquoted, the shell expands$fileand any other$or backtick in the batch. Or write the batch to a file and pass its path. - A file's text without escaping:
{"$file": "<path>"}anywhere indatabecomes that file's text, so the page is{"op": "set", "path": "files/index.html", "data": {"text": {"$file": "designs/<slug>/src/index.html"}}}. Paths are relative to the current directory. Keep your working copy in<root>/src/; the store is what the page shows (read-db <root> files/index.html --textprints it). updatemerges fields at any depth;null(or{"__delete__": true}) removes a key; an array or a value replaces.setwrites the whole document;deleteremoves it.- On disk:
<root>/db/<collection>/<doc_id>.json, one JSON file a document (db/dash/meta.json, `db/datasets/<id>.json
FAQ
What kind of data can it use?
It works with CSV, TSV or JSON files you have, or with data you gather and attach.
Can it refresh the dashboard later?
Yes. The dashboard is built to be refreshed when new data arrives.
What does it need installed?
It needs Node 22 or later and nothing else to install.
Details
Original description by the author
Use this for a local, data-backed dashboard, metrics page, KPI tracker, scorecard, data visualization or recurring report that opens in the bundled live editor: a page or scroll story of charts, numbers and tables over datasets (a CSV/TSV/JSON file the user has, or data you gather and attach), with a Sources panel that shows where every number comes from. Read it when creating, filling, refreshing or revising one. You write the datasets, then the page as plain HTML, into the dashboard's own store with this skill's script. Not for a static HTML mockup or a picture of a dashboard: that is the ba
repo: JimLiu/baoyu-design
Popularity
- GitHub stars
- 5.9k
- Ranking position
- #14531
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
claude-design-system
5.9kHelps your agent create and edit a brand design system with tokens, type, components and assets, kept as files and opened in a local editor.
claude-design
5.9kHelps your agent make an editable canvas of design artboards that you can view side by side and adjust in a local editor.
claude-slides
5.9kHelps your agent make and revise slide decks as editable files, opened in a local slide editor that can present and export to PDF, HTML or PowerPoint.
dataviz
5.9kTeaches your agent to design clear charts, graphs and dashboards, choosing the right chart type and colors that are accessible and consistent.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.