Tooluck logoTooluck
SKILL.md

pi-delegate

Agent skill fromamElnagdy/delegate-skills

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

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

# into

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

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

skills/pi-delegate/SKILL.md

MITFull file
1# Pi Delegate
2
3You are the **orchestrator**. Delegate a bounded coding task to a separate **implementer** - the Pi
4coding agent CLI - then review what it produced and land it yourself. You write the brief and own
5the judgment; the implementer makes changes in its own session; you verify and commit.
6
7The loop needs only a shell command and file access, so any comparable orchestrator can drive it.
8
9## When NOT to use this
10
11- The task is small enough to do inline; delegation overhead is not worth it.
12- The `pi` CLI is not installed or authenticated.
13- You need a sandboxed implementer. Pi has no sandbox and no permission modes; `--read-only`
14 restricts the tool surface, but a write-capable run executes without prompts.
15
16## Prerequisites (check once)
17
181. Install pi with `npm install -g @earendil-works/pi-coding-agent`.
192. Authenticate: `/login` inside pi for a subscription provider, or an API-key environment
20 variable / `pi`'s auth file for an API-key provider.
213. Confirm `pi --version` succeeds.
224. Work in, or point `--cd` at, the target git repository.
23
24## Choose the model (optional)
25
26Omit `--model` to use pi's configured default. To pick another, choose from `pi --list-models`
27and pass an explicit id or pattern like `<provider>/<model-id>` or `sonnet:high`. The relay
28accepts letters, digits, and `. _ : / -` only (the value reaches a shell on Windows), so glob
29patterns with `*` are not forwarded.
30
31## The loop
32…

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