| name | cross-agent-plan |
| description | 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. |
Cross-agent plan
Ask a peer running a different agent backend to draft (or critique) a plan,
so the planning perspective is genuinely independent.
Resolve the planner backend
- Explicit argument — if the user named a backend, use it.
- Configured default — else:
repowire config get skills.default_planner_backend
(Empty output means unset.)
- Safe fallback — else pick an online peer on a backend different from yours,
or ask the user. Never default to your own backend; never hardcode one.
Discover peers/backends: list_peers() (MCP) or repowire peer list (CLI).
Run the planning round
- Find (or, with the user's go-ahead, spawn — see
delegate) a peer on the
chosen backend.
- Send the task + constraints and ask for a concrete step-by-step plan.
- MCP:
ask(peer_name, "Draft an implementation plan for: <task + constraints>")
- Tracked ask is MCP-only (no CLI lifecycle equivalent —
repowire peer ask is
a synchronous test utility, not this).
ask returns a correlation_id; the peer replies via ack(corr_id, <plan>).
- Critique/merge the returned plan with your own; chain follow-ups with
ask(reply_to=corr_id, ...).
Keep the brief tight — state the goal, the constraints, and what a good plan must
cover, so the cross-agent plan is comparable to your own.