CortexHands
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CORTEX_HANDS_OPENAI_MODEL | No | Model name for the built-in sandboxed OpenAI-compatible API worker, e.g. deepseek-chat or qwen2.5-coder:14b. | |
| CORTEX_HANDS_OPENAI_API_KEY | No | API key for the built-in sandboxed OpenAI-compatible API worker. Optional for Ollama. | |
| CORTEX_HANDS_GENERIC_CLI_CMD | No | Command used by the generic local CLI worker, e.g. "opencode run {prompt}". | |
| CORTEX_HANDS_OPENAI_BASE_URL | No | Base URL for the built-in sandboxed OpenAI-compatible API worker, e.g. https://api.deepseek.com/v1 or http://127.0.0.1:11434/v1. |
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 |
|---|---|
| dispatch_taskA | Dispatch a bounded coding task to a cheap/local execution worker (e.g. WorkBuddy) inside an isolated Git worktree. Automatically runs Scope Guard and gate commands before returning a compressed Review Packet to save planner tokens. |
| get_task_statusA | Inspect the live status, round progress, and recent events of a dispatched task. |
| get_review_packetA | Fetch the token-compressed Review Packet (Scope Guard results, gate test summaries, diff stat, and bounded git diff) for planner review. |
| request_reworkA | Reject the worker output and send targeted review comments back to the SAME worktree and worker session (--resume). Automatically enforces the maxRounds circuit breaker. |
| approve_and_mergeA | Approve the reviewed worktree changes, merge them cleanly into the repository (or export a patch), and clean up the temporary Git worktree. |
| abort_taskA | Cancel a running or pending task, terminate its worker process tree safely, and remove its isolated Git worktree without touching the main branch. |
| list_tasksB | List recent CortexHands tasks and available workers so the planner can resume pending reviews or check active runs. |
| get_telemetry_reportB | Generate a Markdown cost-savings and quality-gate report showing context compression ratio, estimated planner tokens saved, first-pass approval rate, and caught violations. |
| dispatch_batchA | Dispatch multiple independent subtasks concurrently across separate isolated Git worktrees (bounded concurrency pool + pre-flight scope overlap warnings). Ideal for parallelizing disjoint modules or tests. |
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 9 tools
Each tool maps to a distinct lifecycle step (dispatch, status, review, rework, merge, abort, telemetry), so the core set is easy to tell apart. The only real overlaps are dispatch_task vs dispatch_batch and list_tasks vs get_task_status, which descriptions do resolve but still require reading.
All names are snake_case and verb-first (get_, list_, dispatch_, abort_, request_, approve_), giving a predictable pattern. approve_and_merge is the one compound outlier, and the get_ prefix is used for three different resource types, but overall it reads consistently.
Nine tools is well within the ideal band and every tool corresponds to a meaningful workflow step: orchestration, monitoring, review, remediation, cleanup, and reporting. Nothing feels padded or missing in count terms.
The dispatch-to-merge lifecycle is fully closed: single and batch dispatch, status polling, review packet retrieval, rework with a round circuit breaker, approval/merge, and abort with cleanup, plus telemetry. Minor gaps remain, such as standalone worker management or deeper raw log retrieval for failed runs, but core workflows have no dead ends.