Command Palette

Search for a command to run...

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

codexbox

БесплатноБез исполняемых скриптовНе проверен

Run OpenAI Codex through an already-installed codexbox: interactive and `codexbox exec` calls, plus its HTTP /run API, OpenAI-compatible endpoint, MCP tools…

psyb0tот psyb0t2 546 установок в других каталогах

Об этом скилле

codexbox

OpenAI Codex CLI inside an aicodebox container, put on the network. codexbox is aicodebox's codex adapter. The HTTP/MCP/Telegram/cron surfaces are aicodebox's, the argv/JSON-event translation is codexbox's.

Setup

codexbox 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-codexbox/ and the README at https://github.com/psyb0t/docker-codexbox. For the HTTP, OpenAI and MCP surfaces, read CODEXBOX_URL (default http://localhost:8080), CODEXBOX_API_MODE_TOKEN and CODEXBOX_MCP_MODE_TOKEN from the environment the user set. For the local codexbox command, run it from the workspace the user named.

Agent execution

Use codexbox when it is on PATH, from the workspace the user named.

codexbox                                      # interactive Codex TUI
codexbox exec "inspect this workspace"        # one-shot work
printf '%s\n' "summarize README.md" | codexbox exec -

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_file tool and codexbox clear-session remove 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.
  • codexbox is not a sandbox. Codex runs inside it with its approvals and sandbox bypassed and broad access. Do not run untrusted prompts or repositories through it. Cron jobs run unattended, so schedule only jobs the user asked for.
  • Data leaves the machine only to these hosts. Codex sends prompts and the files it reads to OpenAI, or to OPENAI_BASE_URL when set. Telegram mode sends bot messages and files to the Telegram Bot API. The curl examples below call the codexbox server the user runs, over plain HTTP on localhost by default. Send the user's tokens only to the user's own server.
  • An unset API or MCP token means no authentication on that surface, giving run execution and full workspace file access to anyone who can reach it. If the user's server is open, tell them rather than relying on it.

When To Use

  • Drive Codex from a script/CI job via POST /run instead of a terminal session.
  • Point an OpenAI-SDK client at Codex via /openai/v1/chat/completions (drop-in base-URL swap).
  • Wire Codex into an MCP-aware agent (Claude Code, another OpenClaw agent, Cursor) as a tool-calling backend.
  • Run Codex from Telegram, or read results of its cron jobs.
  • Manage workspace files (upload/download/list/delete) over HTTP without a shell.

When NOT To Use

  • Need --append-system-prompt exact CLI semantics. codex has no such flag; codexbox maps appendSystemPrompt to -c developer_instructions=... (a developer-role message), not a raw prompt prepend.
  • Need per-tool allow/deny lists. codex has no name-based built-in tool allowlist. toolsAllowlist is accepted for cross-adapter API compatibility but logged and ignored. noTools is the only lever (drops shell/exec + web_search, forces the sandbox read-only).
  • Need codex's own MCP client/server support ([mcp_servers.*] in config.toml, codex mcp-server stdio). That's a different, unrelated surface from the MCP mode documented here (which is aicodebox's file-ops + prompt-running MCP surface, not codex's).
  • Multiple concurrent runs against the same workspace. The API/OAI/MCP surfaces all serialize per-workspace; a second run against a busy workspace gets 409.

Shell mode

codexbox drops you into codex's interactive TUI, or runs codex subcommands directly.

codexbox                       # interactive TUI, continues the last session for this dir
codexbox --no-continue         # same, but starts a brand-new session
codexbox stop                  # stop this dir's running container(s)

The wrapper forwards "$@" straight to codex, so any codex subcommand works (codexbox mcp ..., codexbox doctor, etc.).

One-shot exec mode

codexbox exec: single prompt in, output to your terminal, no TUI.

codexbox exec "fix the failing test in ./app"
echo "summarize README.md" | codexbox exec -     # prompt via stdin

API

The API listens at CODEXBOX_URL. If the server has CODEXBOX_API_MODE_TOKEN set, send it as a bearer token. 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}, no token needed
GET /status in-flight runs + busy workspaces
POST /run sync agent run → {runId, workspace, exitCode, text, ...}
GET /run/result?runId=<id> poll an async run
DELETE /run/{run_id} cancel an in-flight run
GET `/fi
Полный SKILL.md на ClawHub

Установить codexbox в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл codexbox?

Run OpenAI Codex through an already-installed codexbox: interactive and `codexbox exec` calls, plus its HTTP /run API, OpenAI-compatible endpoint, MCP tools, Telegram bot and cron results. Use when the user asks to run Codex in the codexbox container or to call a codexbox server.

Как установить скилл codexbox?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл codexbox запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить codexbox с