# delegate

The delegate skill assigns a self-contained task to a peer through repowire and follows its progress. Use it to hand off refactoring or another well-defined piece of work.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · ★ 269
- Author: prassanna-ravishankar
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/prassanna-ravishankar/repowire/tree/HEAD/skills/delegate/SKILL.md
- Updated: 2026-10-25
- HTML: https://affpapa.org/en/nevibecode/skills/delegate

## What it does

The `delegate` skill routes a task to an agent running on a selected backend through repowire. It looks for an online peer first, preferably one that is idle. Creating a new peer requires the user's approval when no suitable existing agent is available.

The skill determines the target backend from an explicit user choice or the configured default. If neither provides an answer, it asks the user to choose. The receiving agent gets a complete task brief and acceptance criteria because it cannot access the original conversation context. Progress is tracked through the MCP `ask` and `ack` exchange, linked by a `correlation_id`; follow-up requests can refer back to that identifier. The CLI command `repowire peer ask` serves as a synchronous test utility rather than the tracked handoff mechanism, while `notify_peer` sends a message without waiting for an acknowledgement.

A working repowire setup and an available peer, or approval to create one, are needed for delegation. To close a task from the CLI, use `repowire peer ack <cid>`. A notification alone does not confirm completion, so tracked work should follow the acknowledgement flow.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add prassanna-ravishankar/repowire --skill delegate -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/delegate/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/delegate/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add prassanna-ravishankar/repowire --skill delegate -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/delegate/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add prassanna-ravishankar/repowire --skill delegate -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/delegate/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install prassanna-ravishankar/repowire delegate
```

2. **Manually: put the files in place**
- File: `.github/skills/delegate/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add prassanna-ravishankar/repowire --skill delegate -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/prassanna-ravishankar/repowire --path skills/delegate
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/delegate/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add prassanna-ravishankar/repowire --skill delegate -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/prassanna-ravishankar/repowire/tree/HEAD/skills/delegate/SKILL.md

## When to use it
- Hand off a module refactor to a separate AI agent
- Route a task to a chosen backend
- Find an available repowire peer for a task
- Track delegated work through `ask` and `ack`
- Continue a task using its `correlation_id`

## Example prompts
- Delegate the module refactor to a Codex peer and track it until the result is acknowledged.
- Assign the bug fix to an agent on the chosen backend and include the acceptance criteria.
- Continue the task linked to `correlation_id` and check which acceptance criteria remain unmet.

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

## Other versions with the same name
- [delegate · prassanna-ravishankar](https://affpapa.org/en/nevibecode/skills/prassanna-ravishankar-delegate.md) — ★ 269

From the same set: [prassanna-ravishankar/repowire](https://affpapa.org/en/nevibecode/by/prassanna-ravishankar/repowire.md) — 9 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
