Tooluck logoTooluck
SKILL.md

commandcode-delegate

Agent skill fromamElnagdy/delegate-skills

Delegate a coding task to the Command Code CLI (`cmd`) as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to Command Code — phrasings like "have Command Code do X", "delegate this to commandcode", "run it through cmd", or "use Command Code to implement/fix/refactor" — or to run a queue of coding tasks through Command Code while staying the reviewer. DO NOT USE for tasks small enough to do inline, or when the user wants the code written directly without delegating.

How to install commandcode-delegate

install commandcode-delegate
# install the delegate-skills pack with the skills CLI
npx skills add amElnagdy/delegate-skills

# or add only this skill to Claude Code: copy the folder

skills/commandcode-delegate/

# into

~/.claude/skills/commandcode-delegate/ (all projects)

.claude/skills/commandcode-delegate/ (one project)

skills/commandcode-delegate/SKILL.md

MITFull file
1# Command Code Delegate
2
3You are the **orchestrator**. This skill lets you hand a bounded coding task to a separate
4**implementer** — the Command Code CLI (`cmd`) — then review what it produced and land it yourself.
5You write the brief and own the judgment; Command Code does the typing in your working tree; you
6verify and commit.
7
8Nothing here is specific to one orchestrating agent. The loop needs only the ability to run a shell
9command and read a file, so it works the same whether you are Claude Code, OpenCode with a selected
10model, or any comparable agent. (It is designed for and run on Claude Code; treat other orchestrators
11as designed-for, not yet proven.)
12
13## When NOT to use this
14
15- The task is small enough to just do inline — delegation overhead is not worth it.
16- The `cmd` CLI is not installed or not authenticated (run `cmd login`).
17- You want to write the code yourself, or you only need a review (Command Code has its own `/review`).
18- You are on native Windows and `cmdc --version` does not work. Upstream recommends WSL for stable Windows use.
19
20## Read this before the first dispatch: the autonomy model
21
22Command Code's headless mode has **exactly two states, with nothing in between**:
23
24- **Default (`-p` with no `--yolo`):** read, grep, and glob work. Every write, edit, and shell call is
25 refused by the CLI's permission layer, and headless mode has no prompt to grant them mid-run. This
26 is the relay's `--read-only`.
27…

Excerpt shown under the repository's MIT license.

More skills in delegate-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates