pi-dashboard-control
БесплатноБез исполняемых скриптовНе проверенControl the local pi-dashboard over its REST API with curl - list pi sessions, send a prompt, abort a run, spawn a session. Use after pi-dashboard-bootstrap…
от BlackBeltTechnology★ 357 звёзд на GitHubОб этом скилле
Control pi sessions through the dashboard
Run pi-dashboard-bootstrap first and use its literal BASE (for example http://localhost:8000).
REST is the command path. Full endpoint list: references/api-reference.md.
curl -s BASE/api/health
curl -s BASE/api/sessions
curl -s -X POST BASE/api/session/ID/prompt -H 'Content-Type: application/json' -d '{"text":"run the tests"}'
curl -s -X POST BASE/api/session/ID/abort -H 'Content-Type: application/json' -d '{}'
curl -s -X POST BASE/api/session/spawn -H 'Content-Type: application/json' -d '{"cwd":"/path/to/project"}'
# optional: "model":"@planning" (or provider/id), "thinkingLevel":"high", "initialPrompt":"...", "attachProposal":"<change>"
# @role resolves once at spawn time; an invalid model, unknown role or bad level returns 400
Take ID from GET /api/sessions. Replace BASE with the literal URL every time.
To be notified when a session asks a question or finishes a run instead of polling, use the pi-dashboard-watch skill.
View a session in the browser
To show a session to the user, list sessions and open that row's uiUrl (or diffUrl for the changes view) in your browser pane:
curl -s BASE/api/sessions
- Use the full
id, or the row'suiUrl/diffUrl, exactly as listed. Never shorten the id: buildBASE/session/<full id>only when you have nouiUrl. When auth is on, this listing follows the token rules in "When a call is refused" below. The sign-in in the pane is separate and gives you no token. - Add
?embed=1for a narrow pane: the page then shows the session without the session list. - If the page asks to sign in, ask the user to sign in inside the pane. Never put a token or any credential in a URL.
- "Session not found" means a wrong, shortened or archived id: list again and use a full id. A session that is no longer listed is in
GET /api/sessions/archived(50 per page: while the response has anextCursor, request the next page with?cursor=<nextCursor>until you find it): openBASE/session/<full id>?archived=1.
Other pages (folders, OpenSpec board and archive) are listed in the "UI routes (browser)" section of references/api-reference.md.
When a call is refused
A 401, or a 403 with "reason":"local_proof_required", means the dashboard needs a token.
Ask the user to run:
pi-dashboard token create --label claude-code --tier control
control covers prompt, spawn and abort. Ask for a higher tier only if the user explicitly wants one.
Preferred: the user saves the line Authorization: Bearer <token> in a file they create with
owner-only permissions and tells you its path. Never create that file yourself. Send every
credentialed request in the same command as a verification, so credentials only reach a verified dashboard:
sh "${CLAUDE_SKILL_DIR}/../pi-dashboard-bootstrap/scripts/ensure-dashboard.sh" --check && curl -s -H @/path/to/header-file BASE/api/sessions
Otherwise accept a token the user pastes, send it only as an Authorization: Bearer header, and
never write it to a file or repeat it in output. Tell the user it then stays in the conversation history.
Never add curl verbose or trace options to credentialed requests: they print the header.
Установить pi-dashboard-control в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pi-dashboard-control?
Control the local pi-dashboard over its REST API with curl - list pi sessions, send a prompt, abort a run, spawn a session. Use after pi-dashboard-bootstrap has printed BASE, whenever the user wants to see or steer pi sessions.
Как установить скилл pi-dashboard-control?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pi-dashboard-control запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic