---
name: patchcord:wait
description: Wait for one incoming Patchcord message
type: flow
---

> Use `/flow:patchcord:wait` to run this. `/skill:` only loads it as docs (Kimi design).

```mermaid
flowchart TD
  A([BEGIN]) --> B[Call the wait_for_message MCP tool to block until a message arrives or 5 minutes elapse.]
  B --> C{Message arrived?}
  C -->|Yes| D[Classify the message: ACK ('thanks', 'noted', 'works', '👍', 'ok') → close silently with reply(message_id, resolve=true), no content; BLOCKED (cannot do work right now) → reply(message_id, 'reason', defer=true); ACTIONABLE → do the work first, then reply(message_id, 'concrete summary'). Never reply to an ack with text.]
  C -->|No| E([END])
  D --> F[Call the Shell tool with these exact parameters to re-arm the listener: command='patchcord subscribe --kimi 5', run_in_background=true, timeout=86400, description='Patchcord listener'.]
  F --> E
```
