commandcode-delegate

commandcode-delegate is a skill for Claude Code, Codex from amElnagdy/delegate-skills. It costs 123 tokens per session (2,704 once invoked), scanned A, original, MIT.

A workflow for sending a coding task to the Command Code command-line tool, called cmd, while another agent coordinates the work.

In plain words
What is it for?
It helps delegate a bounded coding task to Command Code, inspect its changes, and apply the approved result.
Why use it?
It separates implementation from review, so the code changes can be checked before they are accepted.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Good fit It helps delegate a bounded coding task to Command Code, inspect its changes, and apply the approved result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amelnagdy/delegate-skills/commandcode-delegate
About the project

delegate-skills is a toolkit for assigning coding tasks to separate agent command-line tools while keeping control of review and commits. It is for developers who want to organize installed implementers into lanes for work such as features, tests, or UI, then delegate tasks by lane or directly. The catalogue entries define the setup and delegation workflows.

amElnagdy/delegate-skills · 2,411 stars · on GitHub · skills.sh

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add amElnagdy/delegate-skills --skill commandcode-delegate
Clone the repo
git clone --depth 1 https://github.com/amElnagdy/delegate-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for commandcode-delegate

README.md
[![agentmods](https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/commandcode-delegate/github.svg)](https://agentmods.dev/skills/amelnagdy/delegate-skills/commandcode-delegate)
Your own site
<a href="https://agentmods.dev/skills/amelnagdy/delegate-skills/commandcode-delegate"><img src="https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/commandcode-delegate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for commandcode-delegate

Your own site · 80×15
<a href="https://agentmods.dev/skills/amelnagdy/delegate-skills/commandcode-delegate"><img src="https://agentmods.dev/badge/skills/amelnagdy/delegate-skills/commandcode-delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,704 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 8 Oct 2026
  • Snyk pass 8 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00123 $0.02704
Opus 5.5 $0.00049 $0.01082
Sonnet 5.5 $0.00025 $0.00541
Haiku 4.5 $0.00012 $0.00270

Measured 3d ago against content hash 5a33425fdd27, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

commandcode-delegate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/relay.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/commandcode-delegate/SKILL.md · 181 lines

How it starts

The opening of the file, as written. The whole thing — 181 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Command Code Delegate

You are the orchestrator. This skill lets you hand a bounded coding task to a separate implementer — the Command Code CLI (cmd) — then review what it produced and land it yourself. You write the brief and own the judgment; Command Code does the typing in your working tree; you verify and commit.

Nothing here is specific to one orchestrating agent. The loop needs only the ability to run a shell command and read a file, so it works the same whether you are Claude Code, OpenCode with a selected model, or any comparable agent. (It is designed for and run on Claude Code; treat other orchestrators as designed-for, not yet proven.)

When NOT to use this

  • The task is small enough to just do inline — delegation overhead is not worth it.
  • The cmd CLI is not installed or not authenticated (run cmd login).
  • You want to write the code yourself, or you only need a review (Command Code has its own /review).
  • You are on native Windows and cmdc --version does not work. Upstream recommends WSL for stable Windows use.

Read this before the first dispatch: the autonomy model

Command Code's headless mode has exactly two states, with nothing in between:

  • Default (-p with no --yolo): read, grep, and glob work. Every write, edit, and shell call is refused by the CLI's permission layer, and headless mode has no prompt to grant them mid-run. This is the relay's --read-only.
  • --yolo (alias --dangerously-skip-permissions): every tool is allowed, anywhere the process can reach. There is no filesystem sandbox and no path restriction. This is what an implementation run needs, so the relay passes it by default.

--permission-mode auto-accept and --tools-all do not lift the headless write gate. Direct CLI probes refused write, edit, and shell with both. So an implementation run through Command Code is a full-trust run: scope it with a tight brief and a clean working tree, not with a sandbox. The brief is guidance, and a git worktree isolates a checkout without containing the process. If writes outside the target tree are unacceptable, use an OS-enforced sandbox such as codex-delegate or run this one inside a container.

Read the full file on GitHub · 181 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +11 lines 5a33425fdd27
  2. 1mo ago First seen · 170 lines · 123 tokens per session scan A 011e7072ca77

Subscribe to this mod's changes

commandcode-delegate is a skill published in the GitHub repository amElnagdy/delegate-skills (2,411 stars, last pushed 3d ago), licensed MIT. It adds 123 tokens to every session and 2,704 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

openai-docs

Use when the user asks how to build with OpenAI products or APIs, asks about Codex itself or choosing Codex surfaces, needs up-to-date official documentation with citations, help choosing the latest model for a use case, latest/current/default-model prompting guidance, or model upgrade and prompt-upgrade guidance; use…

rojim666/SztuCode · 105 tokens

visualize

Create visualizations and interactive tools directly in conversation. Use when asked to show how something works, make simulators or labs, maps, plots, charts or graphs, comparisons, UI mockups, scenarios, adjustable inputs, and exploration beyond regular text.

rojim666/SztuCode · 53 tokens

doc-typeset

A document formatter that turns text and design settings into complete, styled HTML. It includes templates for contracts, academic papers, official documents, business reports, meeting notes, research reports, and annual reports.

rojim666/SztuCode · 127 tokens

tdoc-orchestrator

A workflow coordinator for creating and formatting documents, then converting HTML documents into Word files. It identifies the user's document task and sends each stage to the appropriate specialist.

rojim666/SztuCode · 157 tokens

3D模型与视频特效

A tool for generating 3D models from text or images and applying preset animated effects to pictures. It does not generate ordinary images or full videos.

rojim666/SztuCode · 149 tokens

control-chrome

Control the user's Chrome browser for tasks that depend on existing Chrome state: tabs, logged-in sessions, or extensions. Prefer purpose-built connectors, APIs, or CLIs when available.

rojim666/SztuCode · 40 tokens