pibox
БесплатноБез исполняемых скриптовНе проверенRun pi-coding-agent through an already-installed pibox: interactive and one-shot `pibox -p` calls, plus its HTTP /run API, OpenAI-compatible endpoint, MCP…
от psyb0t2 531 установка в других каталогахОб этом скилле
pibox
pi-coding-agent inside an aicodebox container. One image, seven ways in: interactive shell, one-shot exec, HTTP REST API, OpenAI-compatible endpoint, MCP server, Telegram bot, cron scheduler.
You talk to pibox, pibox talks to pi, and pi talks to the upstream LLM the operator configured.
Setup
pibox must already be installed and running; this skill only covers using it. Installation, the model provider and server configuration are in the docs at https://psyb0t.github.io/docker-pibox/ and the README at https://github.com/psyb0t/docker-pibox. For the HTTP, OpenAI and MCP surfaces, read PIBOX_URL (default http://localhost:8080), PIBOX_API_MODE_TOKEN and PIBOX_MCP_MODE_TOKEN from the environment the user set. For the local pibox command, run it from the workspace the user named.
Agent execution
Use pibox when it is on PATH, from the workspace the user named.
pibox # interactive Pi
pibox -p "inspect this workspace" # one-shot work
pibox -p "review this change" --thinking high
Use an HTTP or MCP endpoint only when the user asks for a service or provides an already-running remote URL.
Security & safety
- An empty token means no authentication. With
PIBOX_API_MODE_TOKENempty, the REST and OpenAI-compatible API is open: anyone who can reach it can run the agent and read, write and delete workspace files.PIBOX_MCP_MODE_TOKENdoes the same for the MCP surface and does not fall back to the API token. If the user's server is open, tell them rather than relying on it. - pibox is not isolated from the host. The agent runs with broad access to the workspace and to host resources the wrapper provides, so use it only in a workspace the user trusts the agent with, and do not feed it untrusted prompts or repositories.
- Deletes cannot be undone.
DELETE /run/{id},DELETE /files/{path}and the MCPdelete_filetool cancel a run or remove a file for good. Use them only on a run or file the current task created, and only when the user asked for that specific action. - Where data goes. Prompts, tool output and workspace content go to the model provider the user configured. Telegram mode sends replies and files to
api.telegram.org. Thecurlexamples call the pibox server onlocalhost:8080by default, so change that address only to a pibox the user runs. - Credentials. Read tokens from the environment, never print them. The values shown below are placeholders.
When To Use
- Drive pi-coding-agent from a script/service instead of an interactive terminal (
/run,/openai/v1/chat/completions, or MCP tools). - Wire pi into an OpenAI-SDK-compatible client (LangChain, openai-python) via the
/openai/v1/*surface. - Give an MCP-aware agent (Claude, Cursor, OpenClaw) remote tool access to a pi-driven workspace.
- Chat with pi from Telegram, with per-chat model/effort overrides and file transfer.
- Read the results of scheduled pi runs (standups, digests, periodic maintenance).
- One-off run for a single prompt (CI step, quick script) via one-shot exec.
When NOT To Use
- Don't expect
/openai/v1/chat/completionsto stream token-by-token whentoolsor a JSON schema is in play. Those modes compute the full answer first and replay it as a single-shot SSE stream (still a valid stream, just not incremental). Plain chat streams incrementally. - Don't rely on
PIBOX_MCP_MODE_TOKENfalling back toPIBOX_API_MODE_TOKEN. MCP has its own bearer, no fallback. - Don't point multiple concurrent runs at the same workspace. The API/OAI layer returns 409 "workspace busy" while a run is in flight in that workspace.
Interactive shell mode
Run pibox with no arguments. The wrapper starts Pi in the current workspace and preserves its host state.
pibox
One-shot exec mode
pibox -p "<prompt>" runs Pi non-interactively and writes the result to stdout, then exits. The wrapper forwards Pi flags unchanged.
pibox -p "list the files in this workspace"
Any Pi CLI flag works here (--model, --thinking, --session, etc.). Pi's thinking levels (--thinking): off, minimal, low, medium, high, xhigh. Exposed as /effort in Telegram mode and thinking in API/OAI requests.
REST API
The API listens at PIBOX_URL. The models it accepts are the ones the operator configured; list them with GET /openai/v1/models.
| Method | Path | What it does |
|---|---|---|
GET |
/healthz |
liveness, {ok, adapter}, unauthenticated |
GET |
/status |
in-flight runs + busy workspaces |
POST |
/run |
run the agent, sync by default; body async or fireAndForget makes it fire-and-poll |
GET |
/run/result?runId=<id> |
poll a run started with async/fireAndForget |
DELETE |
/run/{id} |
cancel an in-flight run (kil |
Установить pibox в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл pibox?
Run pi-coding-agent through an already-installed pibox: interactive and one-shot `pibox -p` calls, plus its HTTP /run API, OpenAI-compatible endpoint, MCP tools, Telegram bot and cron results. Use when the user asks to run pi in the pibox container or to call a pibox server.
Как установить скилл pibox?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pibox запускает скрипты?
Нет, скилл состоит только из инструкций (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