Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

psyb0tот 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_TOKEN empty, 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_TOKEN does 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 MCP delete_file tool 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. The curl examples call the pibox server on localhost:8080 by 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/completions to stream token-by-token when tools or 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_TOKEN falling back to PIBOX_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
Полный SKILL.md на ClawHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить pibox с