Tooluck logoTooluck
SKILL.md

zcode-delegate

Agent skill fromamElnagdy/delegate-skills

Delegate a coding task to the Z.AI ZCode CLI as a background implementer, then review its diff and land it yourself. Use this whenever the user wants to hand implementation work to ZCode — phrasings like "have ZCode do X", "delegate this to ZCode", "run it through ZCode", or "use ZCode to implement/fix/refactor" — or to run a queue of coding tasks through ZCode 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 zcode-delegate

install zcode-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/zcode-delegate/

# into

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

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

skills/zcode-delegate/SKILL.md

MITFull file
1# ZCode Delegate
2
3You are the **orchestrator**. This skill lets you hand a bounded coding task to a separate
4**implementer** — the Z.AI ZCode CLI — then review what it produced and land it yourself. You write
5the brief and own the judgment; ZCode does the typing; you verify and commit.
6
7Nothing here is specific to one orchestrating agent. The loop needs only the ability to run a shell
8command and read a file. (It is designed for and run on Claude Code; treat other orchestrators as
9designed-for, not yet proven.)
10
11## When NOT to use this
12
13- The task is small enough to just do inline — delegation overhead is not worth it.
14- ZCode is not installed, or its CLI has no model provider configured.
15- You want to write the code yourself, or you only need a review.
16
17## Prerequisites (check once)
18
191. **ZCode is installed.** The CLI ships **inside the desktop app** — it is not on PATH and not on
20 npm. The relay resolves it in this order: `--zcode-path <file>` or `ZCODE_CLI` first, then PATH,
21 then the installed app bundle. On Linux the app is an AppImage with no fixed install path, so
22 the flag or the environment variable is required there — the relay guesses nothing.
232. **A model provider is configured for the CLI**, with a key it can actually reach. Being signed
24 into the desktop app is *not* enough — see below.
253. You are in (or will point `--cd` at) the target git repository.
26
27The relay records the CLI version and how it was resolved into `result.json`, so a surprising
28…

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