# repowire-patterns

Reference guide for orchestrating AI agents across the Repowire mesh. Helps pick the right communication primitives for background tasks, notifications, and reviews.

- 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/repowire-patterns/SKILL.md
- Updated: 2026-10-25
- HTML: https://affpapa.org/en/nevibecode/skills/repowire-patterns

## What it does

This skill serves as a reference manual for the Repowire mesh network. It teaches agents like Claude Code or OpenCode how to talk to each other without confusion. Instead of guessing, the model learns when to dispatch background requests with `ask` or send plain status updates with `notify_peer`.

The tracked request lifecycle is strictly MCP-based: without `mcp__repowire__*` tools, an agent cannot handle non-blocking messages properly. The CLI fallback is only useful for synchronous diagnostics, manual peer listing, and ad-hoc task closures.

The reference covers painful edge cases. A call to `ask` returns a correlation identifier instead of raw text, so waiting synchronously will fail. Every incoming task stays pending until confirmed by `ack`. The skill also details how to delegate work to an alternate backend for unbiased code review.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

### GitHub Copilot

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

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add prassanna-ravishankar/repowire --skill repowire-patterns -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/repowire-patterns/SKILL.md

## When to use it
- select the proper Repowire primitive for multi-agent messaging
- manage non-blocking request-response cycles via `ask` and `ack`
- discover peer agents and verify local identity in a circle
- coordinate cross-agent code reviews with an independent backend

## Example prompts
- Show how to send a non-blocking request to a peer agent using Repowire primitives.
- How do I route an independent plan review to an agent running on a different backend?
- Explain when to use notify_peer instead of an ask call in Repowire.

## 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

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
