name: cross-agent-review description: 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.
Cross-agent review
Ask a peer running a different agent backend to review your work, so the review is genuinely independent (not the same model checking itself).
Resolve the reviewer backend
Pick the reviewer in this order:
- Explicit argument — if the user named a backend (e.g. "review with codex"), use it.
- Configured default — else read it:
(Prints the value, or nothing if unset.repowire config get skills.default_reviewer_backend--jsonfor the raw value.) - Safe fallback — if still unset, pick any online peer whose backend differs from yours, or ask the user which backend to use. Never default to your own backend — that defeats the purpose. Never hardcode a specific backend.
You can see who is available and on which backend:
- MCP:
list_peers() - CLI:
repowire peer list
Run the review
- Find (or spawn) a peer on the chosen backend.
- Send it a review request with the concrete diff/PR/plan to review. Be specific
about what to check.
- MCP:
ask(peer_name, "Review this diff for correctness + bugs: <context>") - The tracked ask/ack lifecycle is MCP-only — there's no CLI equivalent for a
non-blocking ask (
repowire peer askis a synchronous test utility, not this).
- MCP:
askis non-blocking and returns acorrelation_id. The reviewer closes the thread withack(corr_id, <their review>)— that reply comes back to you.- Apply the review; iterate with
ask(reply_to=corr_id, ...)for follow-ups.
If no different-backend peer is available and the user wants one, spawn it
(see the delegate skill) — but only with the user's go-ahead.