ask-matt
MAmattpocock/skills336k4,217 new stars in the last 7 days
Coordinate with other Pi sessions through the intercom tool: message, ask or hand over to a peer in this repo, another repo or another machine; answer asks waiting on you; and handle escalations from pi-subagents children. Use for planner-worker setups and cross-session handoffs.
The intercom tool description lists each action's call shape. This skill adds the rules agents get wrong.
With toolExposure: "deferred" in the intercom config, the tool is registered but not declared, so it takes no prompt space. Reach it from a codemode script instead, with the same arguments as the cheat sheet below:
const calls = await tools.intercom({ action: "list" });
text(calls);
await searchTools("intercom") confirms it is callable and await describeTool("intercom") returns the full signature. Incoming messages still arrive as chat messages, so answer a waiting ask with await tools.intercom({ action: "reply", message: "..." }).
intercom({ action: "list-cwd", cwd?: "/repo" }) # peers in a directory (default: yours); "list" shows every peer
intercom({ action: "send", to, message }) # fire-and-forget, returns at once
intercom({ action: "ask", to, message }) # waits for the reply
intercom({ action: "pending" }) # asks waiting on you: sender, message id, age, preview
intercom({ action: "reply", message, to? }) # answers an ask; `to` picks one when several wait
to plus cwd uses the directory as a guard.name@machine or <session-id>@machine reaches a session on another machine: a saved Herdr machine, or any host ssh machine reaches without a prompt. Only send and handover work across machines: no ask, replyTo, attachments or cwd.list show location only.ask to a session not in list fails at once. Use send instead: for a session that disconnected in the last 24 hours, the broker holds the message until it reconnects (same session id, or the same explicit name and directory).ask while one waits fails with "Already waiting for a reply"; use send.PI_INTERCOM_ASK_TIMEOUT_MS). For longer work, send the task and ask only at decision points.message. Later, or when several asks wait, run pending and pass to (or replyTo with the message id).send can answer. When exactly one unanswered ask from the target is waiting on you, send goes out as the reply to it.A child started by pi-subagents reaches its supervisor through contact_supervisor. Its messages start with "Subagent needs a supervisor decision.", "Subagent requests a structured supervisor interview." or "Subagent progress update."
reply. To ask it something first, put the question in that reply; an ask to a child waiting on you is refused.reply with the JSON the message asks for.send to it.When several children wait, run pending, then reply with to. As a child, use contact_supervisor for owner decisions and before opening a project pane; plain intercom is for peers.
pi-subagents child with cwd.openProjectPaneIfMissing: true with cwd opens a Herdr pane and starts Pi there when no peer is live. Use it only for a long-lived peer the user wants to watch. If Herdr is unavailable, ask the user instead of opening a terminal another way.handover when the user moves work to another session (also to name@machine). It sends a model-written summary of this transcript; if the session handled secrets, suggest the user run /handover to review it first.status, cancel (messageId), supersedes and retryOf on send and ask, attachments (file, snippet, context), and focus for a new pane. Commands: /alias <name> names this session so peers can target it, /handover lets a human review the summary first, and /intercom opens the intercom overlay.
confirmSend and other settings → README: ConfigMAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
OBobra/superpowers331k5,030 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days