Reply chat

From stevehuang0115/crewly · View interactive version

Reply chat is an AI agent skill from the GitHub repository stevehuang0115/crewly. Send a message to the Crewly Chat UI. Use this to post responses, updates, or notifications directly to a chat conversation.

How to use this skill

Skill file

Reply Chat Skill

Send a message to the Crewly Chat UI. This is the preferred way for orchestrators and agents to post messages to the Chat UI — it uses the backend API directly instead of relying on terminal output [NOTIFY] marker interception.

Usage

Flag-based invocation

bash config/skills/orchestrator/reply-chat/execute.sh \
  --conversation "conv-abc123" \
  --text "Task completed successfully"

With sender name

bash config/skills/orchestrator/reply-chat/execute.sh \
  --conversation "conv-abc123" \
  --sender "Orchestrator" \
  --text "Deploy complete"

Answer in a thread / relay a teammate's result

# Answer in the Slack thread the owner wrote in (key from [SLACK-THREAD:<key>])
bash config/skills/orchestrator/reply-chat/execute.sh --thread "C0123:1790.5" --text "Done"

# Relay a teammate's result: the post goes to the thread that work came from
bash config/skills/orchestrator/reply-chat/execute.sh --work-item "<work item id>" --text "Owen finished the page"

With neither, a post answers the thread of the owner message your turn came from; if that turn is old it goes to the owner DM, never to the last active channel.

Multi-line text from stdin

cat <<'EOF' | bash config/skills/orchestrator/reply-chat/execute.sh --conversation "conv-abc123"
## Status Update

All tasks completed:
- Feature implemented
- Tests passing
- Ready for review
EOF

JSON argument (legacy)

bash config/skills/orchestrator/reply-chat/execute.sh '{"conversationId":"conv-abc123","content":"Hello","senderName":"Orchestrator"}'

Options

| Flag | Short | Description |

|------|-------|-------------|

| --conversation | -C | Chat conversation ID. Omitted → the conversation your current turn came from (the [CHAT:<id>] of the last user message you received) |

| --text | -t | Message text |

| --text-file | | Read message text from file |

| --sender | -s | Sender name (default: "Orchestrator") |

| --sender-type | | Sender type: orchestrator, agent, system (default: orchestrator) |

| --cross-post | | Deliberately post to a conversation other than the one your turn came from (you were asked to post there) |

| --json | -j | Raw JSON payload |

| --help | -h | Show help |

Where your reply goes

Your reply belongs in the conversation the user wrote to you from. While the

last user message you received is under 15 minutes old, a reply to a

conversation nobody has written to you from in the last 30 minutes is sent to

the conversation that message came from instead, and a warning is logged. This

also covers system turns (WorkItem dispatch, reminders) that follow a user's

message. Pass --cross-post only when you were asked to post somewhere else.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.