| name | dashboard |
| description | Start the Cotask Dashboard and show the link for the user to open |
| allowed-tools | ["Bash"] |
Dashboard
Start the Cotask Dashboard server and show the link for the user to open.
Instructions
1. Check if the server is already running
curl -s http://localhost:3847/api/health
2. If NOT running, start it in the background
SERVER_DIR="${CLAUDE_PLUGIN_ROOT}/server"
cd "${SERVER_DIR}" && nohup node server.js > /tmp/task-dashboard.log 2>&1 &
Wait up to 6 seconds for the server to become ready:
for i in $(seq 1 30); do
curl -s http://localhost:3847/api/health >/dev/null 2>&1 && break
sleep 0.2
done
3. Show the link
Tell the user the dashboard is ready and display the link:
- Show
http://localhost:3847 as a clickable link for the user to open
- Do NOT run
open or xdg-open — let the user click the link themselves
- Suggest they save the page as a PWA (Progressive Web App) for quick access — in Chrome/Edge, click the install icon in the address bar or use Menu → "Install app"
- The server will auto-shutdown after 24 hours of inactivity