Skip to content

/delegate

Hand a task to another AI agent peer over the repowire mesh — reuse an existing peer on the chosen backend, or spawn one if none exists. Use when you want to offload work to a specific agent (e.g. delegate a refactor to a Codex peer) and track it to completion.

From plugin
repowire
2737 skills1 MCP

Claude Code

$ npx -y skills add prassanna-ravishankar/repowire --skill delegate --agent claude-code

SKILL.md

delegate.SKILL.md
name: delegate
description: Hand a task to another AI agent peer over the repowire mesh — reuse an existing peer on the chosen backend, or spawn one if none exists. Use when you want to offload work to a specific agent (e.g. delegate a refactor to a Codex peer) and track it to completion.

Delegate a task to a peer

Hand a self-contained task to a peer on a chosen backend and track it via the ask/ack lifecycle.

Resolve the delegate backend

1. **Explicit argument** — if the user named a backend, use it. 2. **Configured default** — else:

   repowire config get skills.default_delegate_backend

3. **Safe fallback** — else ask the user which backend to delegate to. Don't hardcode one. (Unlike review/plan, delegation MAY target your own backend — delegating to another claude-code peer is legitimate.)

Choose / create the executor

1. **Prefer an existing peer** on the chosen backend (idle if possible):

  • MCP: `list_peers()` → pick an online peer with the right backend.
  • CLI: `repowire peer list`.

2. **Spawn only if none exists AND the user is clearly delegating** (don't spawn silently). Confirm before spawning:

  • MCP: `spawn_peer(path, backend=<chosen>, circle=<skills.default_circle or current>)`
  • CLI: `repowire peer new ...`

Default circle: `repowire config get skills.default_circle` (else your current circle).

Hand off + track

1. Send a complete, self-contained brief (the peer doesn't share your context):

  • MCP: `ask(peer_name, "<full task brief + acceptance criteria>")`
  • Tracked delegation is MCP-only (`repowire peer ask` is a synchronous test

utility, not the ask/ack lifecycle). To close from the CLI: `repowire peer ack <cid>`. 2. `ask` returns a `correlation_id`; the peer reports back via `ack(corr_id, ...)`. 3. Track to completion; chain follow-ups with `ask(reply_to=corr_id, ...)`.

Use `notify_peer` (fire-and-forget) only for nudges, not for tracked delegation — delegation needs the ack lifecycle.

Read more
@prassanna-ravishankar
Ships withrepowire

May the agents talk. Connect Claude Code, Opencode, Codex, Pi across projects, across machines and with your telegram

Stars on GitHub

Momentum

stars in total
273
Star history of prassanna-ravishankar/repowire on GitHub, a chart by star-history.com

Other skills on repowire.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about delegate.

Which coding agents can use delegate?
delegate installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.