| name | dashboard-preview |
| description | Open the session preview in the browser. Shows all charts currently in .session/charts.json at http://localhost:5173/d/<slug>/preview. |
Open the session preview in the browser.
Steps
-
Read .session/context.json if it exists to get the active dashboard slug.
-
Run bin/start --preview.
- If context.json exists,
bin/start auto-reads it and opens /d/<slug>/preview.
- If no context.json, it opens
/preview (fallback).
-
Read .session/charts.json if it exists.
-
Report to the user:
Notes
The preview polls .session/charts.json every 2 seconds. As you update charts during a session, the browser refreshes automatically without needing to rerun this skill.