Command code

From duyet/codex-claude-plugins · View interactive version

Command code is an AI agent skill from the GitHub repository duyet/codex-claude-plugins. 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 to use this skill

Skill file

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.