claudebox
БесплатноБез исполняемых скриптовНе проверенRun Claude Code through an already-installed claudebox: interactive and one-shot `claudebox -p` calls, plus its HTTP /run API, OpenAI-compatible endpoint, MCP…
от psyb0t2 426 установок в других каталогахОб этом скилле
claudebox
Claude Code, the agentic coding CLI from Anthropic, running in a Docker container with --permission-mode bypassPermissions on by default. It offers interactive, one-shot, HTTP, OpenAI-compatible, MCP, Telegram and cron surfaces.
Setup
claudebox must already be installed and running; this skill only covers using it. Installation and server configuration are in the docs at https://psyb0t.github.io/docker-claudebox/ and the README at https://github.com/psyb0t/docker-claudebox. For the HTTP, OpenAI and MCP surfaces, read CLAUDEBOX_URL (default http://localhost:8080), CLAUDEBOX_API_MODE_TOKEN and CLAUDEBOX_MCP_MODE_TOKEN from the environment the user set. For the local claudebox command, run it from the workspace the user named.
Agent execution
Use claudebox when it is on PATH, from the workspace the user named.
claudebox # interactive Claude Code
claudebox -p "inspect this workspace" # one-shot work
claudebox -p "emit events" --output-format stream-json
Use an HTTP or MCP endpoint only when the user asks for a service or provides an already-running remote URL.
Security & safety
- Deletion has no undo. The file delete endpoint, the MCP
delete_filetool andclaudebox clear-sessionremove data. Use them only on files or sessions the current task created, only when the user asked for that removal, and never in another caller's workspace. - Data leaves the machine only to these hosts. Claude Code sends prompts and the files it reads to Anthropic. Telegram mode sends bot messages and files to the Telegram Bot API. The server fetches
http(s)image URLs in OpenAI-style requests. Thecurlexamples below call the claudebox server the user runs, over plain HTTP onlocalhostby default. Send the user's tokens only to the user's own server. --permission-mode bypassPermissionsis on by default. Claude has full, unrestricted shell and file access inside the container, and the container is not a sandbox. Do not send untrusted prompts or input to it.- An unset API or MCP token means no authentication on that surface. If the user's server is open, tell them rather than relying on it.
Surfaces
- Interactive shell:
claudeboxdrops you into the nativeclaudeCLI, container-backed, with automatic session resumption. - One-shot exec:
claudebox -p "prompt" [flags], non-interactive, prompt in / structured output out, for scripts and CI. - HTTP REST API:
POST /run, async runs polled viaGET /run/result?runId=, file list, download, upload and delete under/files, per-request workspace subpaths. - OpenAI-compatible endpoint:
/openai/v1/chat/completions+/openai/v1/models. Streaming SSE, multi-turn, multimodal image input. - MCP server: 5 tools over streamable HTTP, at
/mcp/on the API port when API mode is also on, otherwise on its own port (default8081) at the port root. - Telegram bot: per-chat workspaces, file/photo/video/voice ingestion, slash commands.
- Cron scheduler: YAML-defined jobs with durable per-job artifacts.
When To Use
- Run Claude Code from a script, Makefile target, or CI pipeline without a TTY (
claudebox -p "explain this diff" --output-format json). - Call a claudebox HTTP backend with
POST /run, using a separate workspace subpath per caller. Subpaths are not a security boundary between untrusted tenants. - Point an OpenAI SDK / LiteLLM at a claudebox as an agentic backend instead of a plain model API. Every completion runs the full Claude Code CLI (file I/O, shell, tools), not just text generation.
- Let another MCP-aware agent use this Claude Code instance as a tool over
/mcp/. - Talk to Claude from Telegram to ask questions and share files.
When NOT To Use
- Real-time token-by-token streaming for tool-calling or JSON-schema-constrained runs. The OpenAI adapter buffers those (computes the full answer, replays as one SSE burst). Only plain chat (no
tools, noresponse_formatschema) streams incrementally. - Multiple concurrent requests against the same workspace. API mode allows one active Claude process per workspace and returns
409on conflict. Use distinctworkspacesubpaths for parallel work. - Treating
--permission-mode bypassPermissionsas safe for untrusted input. Claude has full container access by design. - Treating the MCP server as a sandbox.
run_prompthas the same container authority as Claude, including mounted files.
Interactive shell mode
Drop-in replacement for the native claude command, container-backed:
claudebox # interactive session, --continue applied automatically
claudebox --no-continue # start a fresh session instead of resuming
Utility commands pass through without entering interactive mode:
claudebox --version # claude CLI version
claudebox doctor # health checks
claudebox mcp <args...> # manage MCP serve
Установить claudebox в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл claudebox?
Run Claude Code through an already-installed claudebox: interactive and one-shot `claudebox -p` calls, plus its HTTP /run API, OpenAI-compatible endpoint, MCP tools, Telegram bot and cron results. Use when the user asks to run Claude Code in the claudebox container or to call a claudebox server.
Как установить скилл claudebox?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл claudebox запускает скрипты?
Нет, скилл состоит только из инструкций (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