command-code
FreeNo executable scriptsNot checkedRun the Command Code CLI (`cmd`) and dispatch it as a headless sub-agent on well-scoped tasks or GitHub issues. Use when the user mentions cmd or Command…
by duyet★ 16 GitHub starsAbout this skill
Command Code (cmd)
Run cmd --help for flags. This skill holds the dispatch rules that /command-code:dispatch and cmd-dispatcher follow.
Unattended invocation needs all of: cmd -p "<self-contained prompt>" --yolo --max-turns 100000 --skip-onboarding. Without -p it opens a REPL. Without --yolo it hangs on the first permission prompt. The default turn cap is 10 and exit code 8 means it hit the cap with a half-done branch. --skip-onboarding stops the taste demo blocking.
Dispatch only independent, well-specified work. Do small, exploratory, or back-and-forth work yourself.
- Run
cmd statusfirst and stop if unauthenticated. Get the user's explicit consent for--yolo. If the host blocks the launch, surface it and ask. - One git worktree and branch per worker. Never two workers in one directory.
cmdshares none of your context, so the prompt is the whole brief: what and why, exactpath:lineseams and the pattern to copy, scope in and out, "do not run install or a full build", the exact conventional-commit message, "do not push", and "print files changed and deviations at the end". For an issue also say to rungh issue view <N>.- Launch in the background with one log per worker.
- Review each diff yourself, not just the log. Verify once after merging branches into one tree, since concurrent builds across worktrees run out of memory.
- On exit code 8 prefer a fresh narrowly scoped
cmd -povercmd -c -p, which reloads the whole conversation. - Push and merge nothing without the user's approval. Never put secrets in a prompt.
Install command-code in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the command-code skill do?
Run the Command Code CLI (`cmd`) and dispatch it as a headless sub-agent on well-scoped tasks or GitHub issues. Use when the user mentions cmd or Command Code, asks to spawn or dispatch cmd, or when you are about to launch `cmd -p` and need the correct flags.
How do I install the command-code skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the command-code skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
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…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by 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…
by Anthropic