/repowire-patterns
Reference for how to use the repowire mesh — ask/ack vs notify, broadcast, peer discovery, spawning, and cross-agent workflows. Use when you need to coordinate with other AI agents over repowire and want the right primitive for the job.
$ npx -y skills add prassanna-ravishankar/repowire --skill repowire-patterns --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/repowire-patterns
Context preview
The summary Claude sees to decide when to auto-load this skill.
Reference for how to use the repowire mesh — ask/ack vs notify, broadcast, peer discovery, spawning, and cross-agent workflows. Use when you need to coordinate with other AI agents over repowire and want the right primitive for the job.
SKILL.md
repowire-patterns.SKILL.mdname: repowire-patterns
description: Reference for how to use the repowire mesh — ask/ack vs notify, broadcast, peer discovery, spawning, and cross-agent workflows. Use when you need to coordinate with other AI agents over repowire and want the right primitive for the job.
Repowire usage patterns
Repowire is a mesh where AI coding agents (Claude Code, Codex, Gemini, OpenCode, Pi, …) each get an address and talk to each other. This is a teaching reference; the action skills (`cross-agent-review`, `cross-agent-plan`, `delegate`) apply these patterns. It does not depend on those skills being installed.
Pick the right primitive
| Want | Use | Lifecycle | |------|-----|-----------| | Tracked request that needs a reply | `ask(peer, text)` → peer `ack(corr_id, reply)` | Non-blocking; returns `correlation_id`; reopen with `ask(reply_to=...)` | | Fire-and-forget nudge / status | `notify_peer(peer, text)` | No reply expected | | Message everyone in your circle | `broadcast(text)` | No per-peer lifecycle | | Close an inbound ask | `ack(corr_id)` bare, or `ack(corr_id, reply)` | The only close/reply op for an ask | | See who's around | `list_peers()` | Returns names, backends, status | | Who am I | `whoami()` | Your peer identity/circle |
The tracked **ask/ack/notify/broadcast lifecycle is MCP-only** — use the `mcp__repowire__*` tools. There is no honest CLI equivalent for non-blocking ask (the `repowire peer ask` command is a synchronous testing utility, not the ask/ack lifecycle). For agents without MCP, the CLI offers these real fallbacks: `repowire peer list`, `repowire peer whoami`, `repowire peer ack <cid>`, `repowire peer asks` (list pending), `repowire peer new` (spawn).
Rules that bite
- **`ask` is non-blocking** — it returns a `correlation_id`, not a reply. The reply
arrives later as an `ack`. Don't wait synchronously.
- **`ack` is the only way to close an inbound ask.** Bare `ack(corr_id)` = "seen,
no action"; `ack(corr_id, msg)` = reply. Unacked asks resurface as reminders.
- **Identity is `peer_id`; addressing is `display_name`.** Names can collide; pass
`circle` to disambiguate.
- **Cross-agent means a different backend.** For an independent review/plan, target
a peer whose backend differs from yours (see `cross-agent-review`/`cross-agent-plan`).
- **Spawn deliberately.** `spawn_peer` starts a new agent; confirm with the user
rather than spawning silently.
Cross-agent workflows
- Independent review: `cross-agent-review` (have a different backend review your work).
- Independent planning: `cross-agent-plan`.
- Offload work: `delegate` (reuse or spawn a peer, hand off, track via ack).
Backends for these are parameterised via `repowire config get skills.*` defaults, overridable per call — never hardcode a backend.
Read more
name: repowire-patterns description: Reference for how to use the repowire mesh — ask/ack vs notify, broadcast, peer discovery, spawning, and cross-agent workflows. Use when you need to coordinate with other AI agents over repowire and want the right primitive for the job.
Repowire usage patterns
Repowire is a mesh where AI coding agents (Claude Code, Codex, Gemini, OpenCode, Pi, …) each get an address and talk to each other. This is a teaching reference; the action skills (`cross-agent-review`, `cross-agent-plan`, `delegate`) apply these patterns. It does not depend on those skills being installed.
Pick the right primitive
| Want | Use | Lifecycle | |------|-----|-----------| | Tracked request that needs a reply | `ask(peer, text)` → peer `ack(corr_id, reply)` | Non-blocking; returns `correlation_id`; reopen with `ask(reply_to=...)` | | Fire-and-forget nudge / status | `notify_peer(peer, text)` | No reply expected | | Message everyone in your circle | `broadcast(text)` | No per-peer lifecycle | | Close an inbound ask | `ack(corr_id)` bare, or `ack(corr_id, reply)` | The only close/reply op for an ask | | See who's around | `list_peers()` | Returns names, backends, status | | Who am I | `whoami()` | Your peer identity/circle |
The tracked **ask/ack/notify/broadcast lifecycle is MCP-only** — use the `mcp__repowire__*` tools. There is no honest CLI equivalent for non-blocking ask (the `repowire peer ask` command is a synchronous testing utility, not the ask/ack lifecycle). For agents without MCP, the CLI offers these real fallbacks: `repowire peer list`, `repowire peer whoami`, `repowire peer ack <cid>`, `repowire peer asks` (list pending), `repowire peer new` (spawn).
Rules that bite
- **`ask` is non-blocking** — it returns a `correlation_id`, not a reply. The reply
arrives later as an `ack`. Don't wait synchronously.
- **`ack` is the only way to close an inbound ask.** Bare `ack(corr_id)` = "seen,
no action"; `ack(corr_id, msg)` = reply. Unacked asks resurface as reminders.
- **Identity is `peer_id`; addressing is `display_name`.** Names can collide; pass
`circle` to disambiguate.
- **Cross-agent means a different backend.** For an independent review/plan, target
a peer whose backend differs from yours (see `cross-agent-review`/`cross-agent-plan`).
- **Spawn deliberately.** `spawn_peer` starts a new agent; confirm with the user
rather than spawning silently.
Cross-agent workflows
- Independent review: `cross-agent-review` (have a different backend review your work).
- Independent planning: `cross-agent-plan`.
- Offload work: `delegate` (reuse or spawn a peer, hand off, track via ack).
Backends for these are parameterised via `repowire config get skills.*` defaults, overridable per call — never hardcode a backend.
May the agents talk . Connect Claude Code, Opencode, Codex, Antigravity, Pi across projects, across machines and with your telegram
Repo: prassanna-ravishankar/repowire
Other skills on repowire.
- /integration-test
Integration test for repowire peer-to-peer messaging. Supports claude-code, opencode, or mixed-agent-type testing with circle boundaries and cross-agent-type communication. Can run all modes in parallel via agent teams.
Open skill - /cross-agent-plan
Get an independent implementation plan from a DIFFERENT AI agent over the repowire mesh before you build (e.g. have Gemini or Codex draft an approach for Claude to critique). Use when you want a second perspective on how to approach a task.
Open skill - /cross-agent-review
Get a code/PR/plan review from a DIFFERENT AI agent over the repowire mesh (e.g. have Codex review Claude's work). Use when you want an independent second opinion from another backend before merging or committing.
Open skill - /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.
Open skill - /repowire-install
Install or update repowire and its skill pack from inside an agent session — ensure the repowire CLI/hooks are set up, install the skills, and verify the mesh works. Use on a fresh machine or to refresh skills to the latest.
Open skill

