dashboard-refresh
Re-run data adapters to pull fresh data into dashboards/*/data/*.json. Optionally target a specific dashboard or adapter by slug.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Re-run data adapters to pull fresh data into dashboards/*/data/*.json. Optionally target a specific dashboard or adapter by slug.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Start a new dashboard session. Define a datasource, generate an adapter, build charts, and promote to the dashboard. Claude does the reasoning; the human approves proposals.
Promote the current .session/ to the dashboard. Shows a summary and asks for confirmation before running bin/promote.
Edit an existing chart or its adapter. Opens a session targeting the chart, makes changes, and promotes back to the dashboard.
Open the session preview in the browser. Shows all charts currently in .session/charts.json at http://localhost:5173/d/<slug>/preview.
| name | dashboard-refresh |
| description | Re-run data adapters to pull fresh data into dashboards/*/data/*.json. Optionally target a specific dashboard or adapter by slug. |
Refresh data from adapters.
Check if a specific dashboard slug or adapter slug was provided as an argument.
If a specific dashboard + adapter:
dashboards/<dashboard>/adapters/<adapter>.py exists. If not, list available adapters and stop.bin/refresh-data --dashboard <dashboard> --adapter <adapter>If a specific dashboard only:
bin/refresh-data --dashboard <dashboard>If no argument:
bin/refresh-databin/refresh-data --dashboard <slug>bin/refresh-data --dashboard <slug> --adapter <name>Report success/failure per adapter with [slug] adapter-name format.
Data files are served at /d/<slug>/data/<file>.json by the dev server. The React dashboard polls these on each chart's refresh_interval. Running this command immediately updates the live data visible in the browser without restarting the server.