commandcodex
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| COMMANDCODEX_RUNS_DIR | No | Directory where run event streams and artifacts are stored. | ~/.commandcodex/runs |
| COMMANDCODEX_CODEX_BIN | No | Codex executable name or absolute path. | codex |
| COMMANDCODEX_EXTRA_ARGS | No | Additional args passed through to the CLI, as a JSON array or space-separated string (e.g. `'["--skip-git-repo-check"]'`). | |
| COMMANDCODEX_WORKERS_FILE | No | Path to the general configurable CLI worker manifest. | ~/.commandcodex/workers.json |
| COMMANDCODEX_WORKERS_JSON | No | Inline JSON array declaring additional CLI workers. | |
| COMMANDCODEX_DEFAULT_MODEL | No | Optional default model override. | |
| COMMANDCODEX_MAX_LOG_BYTES | No | Maximum byte size (10 MiB by default) for a single job's `events.jsonl` / `stderr.log`. | 10485760 |
| COMMANDCODEX_PERMISSION_MODE | No | Permission mode: `inherit` (follow `~/.codex/config.toml`), `read-only` (read-only override), or `bypass` (bypass approvals). | inherit |
| COMMANDCODEX_DEFAULT_MAX_REWORK | No | Maximum rework rounds before circuit breaking. | 3 |
| COMMANDCODEX_DEFAULT_WAIT_SECONDS | No | Default synchronous wait seconds for Auto-Async (max 55s). | 35 |
| COMMANDCODEX_DEFAULT_TIMEOUT_SECONDS | No | Hard timeout in seconds for a single job. | 900 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| worker_delegateA | Delegate a bounded coding, refactoring, or debugging task to a CLI worker (default: codex). Runs synchronously up to wait_seconds (default 35s) and seamlessly defers to a background job if still running. |
| worker_followupA | Resume an existing worker session (by job_id or session_id) to request rework, fixes, or follow-up changes. Enforces the rework circuit breaker unless force=true. |
| worker_reviewB | Run a read-only code review (default: skeptical adversarial review) on a directory using a worker CLI. |
| worker_waitA | Wait for a running background job to finish (up to wait_seconds, default 45s). |
| worker_statusB | Check non-blocking status of one job_id or list recent jobs. |
| worker_cancelA | Terminate a running background worker process group and mark the job cancelled. |
| worker_inspectA | Inspect persisted raw artifacts or full git diff for a job without polluting normal briefs. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool maps to a distinct lifecycle action: delegate starts work, followup resumes a session, review is read-only analysis, cancel terminates, inspect exposes raw artifacts. The only mild overlaps are worker_wait vs worker_status (blocking vs non-blocking job polling) and delegate vs followup (both can spawn work), but descriptions make the boundaries clear.
Uniform worker_<verb> snake_case pattern across all seven tools, with no deviations or mixed casing. The shared prefix also makes the tool family instantly recognizable.
Seven tools is well within the sweet spot and each earns its place: dispatch, resumption, review, three job-control operations, and artifact inspection. No redundant or filler tools.
The async job lifecycle is covered end to end: start, resume, poll, block, cancel, and inspect artifacts. Minor gaps remain, such as no explicit result/output retrieval beyond inspect or job cleanup/history pruning, but agents can work around these.