其他技能
dashboard
The Desk Studio dashboard. See every desk, the job, the roughs and scores, and steer it: pause, change a model, write a desk a note, pick a rough, approve. setup, start, stop, status or disable.
adityareddy-dev · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add adityareddy-dev/deskstudio --skill dashboard技能说明
name: dashboard description: The Desk Studio dashboard. See every desk, the job, the roughs and scores, and steer it: pause, change a model, write a desk a note, pick a rough, approve. setup, start, stop, status or disable. argument-hint: "setup|start|stop|status|disable [--port N]"
Run the dashboard for this project. The subcommand is the first word of $ARGUMENTS; with no word, use status.
Before setup, tell the user in three lines what it does:
- The dashboard logs desk names, models, rounds, scores, costs and file paths to
.desk/events.jsonl. Never prompt text, copy or notes. - It serves on 127.0.0.1 only, behind a token that changes on every start. Nothing leaves the machine.
/desk:dashboard disableturns it off. Deleting.desk/events.jsonlclears the log.
Then run the subcommand:
node "${CLAUDE_PLUGIN_ROOT}/dashboard/server.js" <subcommand> --project "$PWD" [--port N]
What each one does:
setupwrites.desk/dashboard.json(enabled,port, default 7433) and addsevents.jsonl,jobs/,dashboard.runtime.jsonanddashboard.logto.desk/.gitignore. Creates.desk/if it is missing.startruns the server in the background and printshttp://127.0.0.1:PORT/?token=.... Show that URL to the user as a link. The token is new on every start and lives in.desk/dashboard.runtime.jsonwith the pid.statussays whether it is running and prints the URL again.stopchecks that the pid on record still answers with the token, then ends it.disablestops it and setsenabledto false.setupturns it back on.
When it fails:
- "Dashboard is not enabled": run
setupfirst. - "Port N is in use": run
start --port Mwith another port, or stop what is on N.setup --port Mmakes it stick. - "No .desk/ found": run
/desk:init, orsetup, in the project root. - "did not come up": the last lines of
.desk/dashboard.logare printed with the error.
Do not open a browser yourself. The user opens the link.