One read-only browser dashboard over the flow's records, the reference library's cards and any other component installed beside it and bound in the project — every page the component's own command-line answer, rendered. Use when the owner wants to browse the records or the cards, when asked to start or stop the dashboard, and when writing a new component that should add its pages to it. Reads no record or card file itself and writes nothing.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Dashboard?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/lividgreen-dashboard)
---
name: dashboard
description: One read-only browser dashboard over the flow's records, the reference library's cards and any other component installed beside it and bound in the project — every page the component's own command-line answer, rendered. Use when the owner wants to browse the records or the cards, when asked to start or stop the dashboard, and when writing a new component that should add its pages to it. Reads no record or card file itself and writes nothing.
license: Apache-2.0
compatibility: Python 3.11 or later, standard library only; a browser. Optional - the `markdown` package for rendered bodies (paragraphs otherwise). Renders only components that answer `--json pages`, today the `flow` and `library` skills' CLIs.
metadata:
version: "0.15.0"
script: scripts/dashboard.py
---
# The dashboard
`python3 scripts/dashboard.py`, run by its path from the project root (`${CLAUDE_PLUGIN_ROOT}/skills/dashboard/scripts/dashboard.py` under Claude Code), serves one site on localhost, port 8765 by default, with one section per mounted component.
The person asks the agent, which runs the script by the skill's path and gives the address; no other start is offered.
The flow's records are a card table: `/` opens on the table, each owner's hand, the open goals and the open directions face up, each owner's deck behind a stack of card backs, the common deck and the two piles, every card a face with its title, its summary, its value and effort, its standing and its place; the lists lay the same faces, a record is its card at the left with its panel beside it, and the directions, the artifacts, the tags, the index and the validator's verdict are pages of their own.
The library's works are cards too, with a ranked search, each work with our notes, extracts and citing sites, and the candidates, the watches and the check as tables.
It is a renderer and nothing else.
Every page is the answer of the component's command with `--json`, so the command line and the dashboard cannot disagree; no work is shown and no path into the library's store is served.
It re-asks on every request, so a transition run in another terminal shows on the next reload.
It answers only a request addressed to it by name: `--host 0.0.0.0` serves other devices under this machine's names and its addresses, and `--allow-host NAME` adds a name a proxy or a tunnel uses; a page of another site never loads one of its pages in the background.
## What it mounts
Components are found in this order, the first mount of a name winning: a `--component CMD…` on the command line; `dashboard.toml` at the project root, with `[[component]]` tables naming a `command` list; the skill directories beside this one whose `component.toml` names a `command` and a `bindings` file, mounted when the bindings file exists at the project root; the `flow` and `library` commands on PATH when their bindings file exists.
A project adds pages of its own with `[[page]]` tables in the same `dashboard.toml`, each a `title`, a `path`, a `view` and one of `run` and `file`: `run` is a command list started without a shell at the project root, whose standard output is the page's JSON answer, and `file` a JSON file under the project root.
The dashboard answers them as a component of its own, `dashboard.py --json pages` (the manifest) and `dashboard.py --json page PATH` (one page), one component a workspace, `Project` for a page that names none, and mounts it like any other; `--workspace NAME` picks the workspace the manifest is of.
A page's command is the project's own, run at each request and expected to write nothing; a command that exits non-zero, runs past 30 seconds or prints no JSON object, and a file that is absent or outside the root, show as the page's problem, and a bad entry is named by `--list` and on the components' page while the other pages are served.
`dashboard --list` shows every page with its command or file.
So a skill adds its pages to the one dashboard by being installed beside it — in the same skills directory, or as a sibling plugin of the same marketplace, each plugin read at its newest version — and bound in the project, and `dashboard --list` prints what would be mounted.
## Writing a component
A component is any command that answers `<command> --json pages` with a page manifest and every other page as `<command> --json <subcommand> …`; `references/protocol.md` is the manifest's shape — the mount, the navigation entries, the link patterns that turn an id in any text into a link across components, the home page, the `protocol` number, the `workspace` the component's pages belong to, the `faces` its records are laid on (each a word, a sign and a colour from the palette the dashboard owns, which `protocol.md` lists), the `card` key that lays a record on a card's face, and the routes with their views: `markdown`, `lines`, `list`, `table`, `record`, `tables`, `check`; a view the dashboard does not know is laid as `lines`.
The dashboard holds no kind: the flow's `idea`, `question`, `task`, `finding`, `goal` and `direction` and the library's `work` are faces their manifests declare, as an extension's are.
The header carries the workspaces as links, the navigation under it shows the current workspace's entries alone, and `dashboard --list` prints each component's workspace.
A component ships a `component.toml` beside its `SKILL.md` naming its command relative to the skill directory and the project's bindings file.
`scripts/dashboard.py --selftest` mounts stub components, one with a `card` and faces and one with none, in two workspaces, and renders every view.