# Dashboard Snapshot

> Assemble a dashboard-ready snapshot from the canonical state.

- Skill: `panjose/dashboard-snapshot` (Agent Skill)
- Install (CLI): `npx skillmds@latest add panjose/dashboard-snapshot`
- Raw SKILL.md: https://api.skillmd.com/api/skills/panjose/dashboard-snapshot/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: panjose (https://skillmd.com/u/panjose)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/panjose/dashboard-snapshot

---


# dashboard-snapshot

Goal:

- Assemble a dashboard-ready snapshot from the canonical state.

Inputs:

- `CoScientistState`
- `run_id`
- `updated_at`

Outputs:

- `dashboard/SNAPSHOT.json`

Context Loading:

- Read `skills/shared-references/artifact-contract.md` so the dashboard artifact stays downstream of canonical run artifacts.
- Read `packages/dashboard_contracts/snapshot_projection.py` before rebuilding `dashboard/SNAPSHOT.json`.
- Read `packages/dashboard_contracts/dashboard.py` when the dashboard-facing snapshot field layout needs to be checked.

Execution Contract:

- This skill is deterministic and must not call an LLM.
- The canonical shared builder surface is `from tools import build_dashboard_snapshot`.
- The underlying implementation lives in `packages/dashboard_contracts/snapshot_projection.py`.
- The snapshot builder is a pure projection shared by API reads and artifact writes.
- The dashboard layer must remain downstream of canonical state and artifact contracts and must not invent new pipeline semantics.

Execution Steps:

1. Open `skills/shared-references/artifact-contract.md`, then read `packages/dashboard_contracts/snapshot_projection.py`.
2. Load the canonical run state and routing artifacts required to build the dashboard projection.
3. Call the canonical snapshot builder and write `dashboard/SNAPSHOT.json`.
4. Keep the emitted snapshot aligned with the dashboard-facing contract models.

Completion Rule:

- This skill is complete only when `dashboard/SNAPSHOT.json` has been rebuilt from canonical state through the shared deterministic builder surface.

