Reply

From stevehuang0115/crewly · View interactive version

Reply is an AI agent skill from the GitHub repository stevehuang0115/crewly. Answer the work you are doing. It goes where that work came from — the owner's Slack DM or thread, the ticket's thread, or a new top-level post for scheduled work — without channel ids. --new-thread starts a new topic.

How to use this skill

Skill file

Reply

Answer the message you are working on:

bash config/skills/agent/core/reply/execute.sh "EFT 表改好了,附件是新版。"

Answer where you were asked; a new topic goes in a new thread.

A new post the owner made in a channel is already its own thread: answer

under it (a plain reply), never with --new-thread; if you do pass

--new-thread then, the harness still puts the answer under the owner's post.

The harness knows what you are working on and sends your answer where that

work came from:

| Your current work | Where the answer goes |

|---|---|

| a message from the owner | that conversation / Slack thread (DM, channel thread, Crewly chat / portal) |

| a message from another agent ([MESSAGE from <name> … send-message --to <session>]) | back to that agent, agent-to-agent — never the owner's thread |

| a project ticket | the ticket's thread in your team channel (started on the first post) |

| a scheduled / triggered task | the trigger's destination, else a NEW top-level post in your team channel |

| nothing in particular | a new top-level post in your team channel |

You do not pass channel ids or thread keys. A scheduled task's output never

lands in an old, unrelated thread.

Name what you are answering, not where

When your prompt names a ticket, a message, a work item or a decision, pass

that reference — the harness finds the conversation and thread:

# Old follow-up (a date in the prompt, days back)? Verify first: read the thread since, the ticket status, and for
# email work the Sent folder / drafts. Already done -> close it, do NOT message the owner.
# [FOLLOW-UP TKT-187] … Run: reply --ticket TKT-187 "<your message>"
bash config/skills/agent/core/reply/execute.sh --ticket TKT-187 "Preview is here: https://…"

# a specific message from your prompt
bash config/skills/agent/core/reply/execute.sh --to <messageId> "Yes — done."

# [DECISION D-12] … Run: reply --decision D-12 "<your message>"
bash config/skills/agent/core/reply/execute.sh --decision D-12 "Going with option A — starting now."

Order the harness uses: the message you name → the ticket's thread (request

ticket TKT-… or project ticket like CE-7) → the work item's origin → ids

you passed (only if they name a conversation you are in, and a thread key's

channel matches) → the agent whose message is the latest thing you got →

what the harness last prompted you about → where your current turn came

from → your DM with the owner.

When a bare reply could mean two places — another agent's message came in

but you also owe the owner an answer, or a dispatch arrived after the

owner's message — nothing is sent: you get success: false and both

commands (send-message --to <agent> … or reply --conversation <id> …).

Run the one you mean.

To start a new topic yourself:

bash config/skills/agent/core/reply/execute.sh --new-thread "Wiki link audit" "Found 3 broken links: …"

Keep the CREWLY_SESSION_NAME=<you> prefix when your prompt shows one — it

tells the system that you are the one replying.

Text with double quotes or several lines: pipe it on stdin

(cat <<'EOF' | bash .../reply/execute.sh ... EOF) instead of a quoted

argument -- a stray " splits the text and nothing is sent. Check for

"success":true in the output; do not cut it off with | tail -1.

Options

| Flag | What it does |

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

| "<text>" / --text / stdin / --text-file | the reply |

| --interim | a short note before the real answer (what you understood, how long); "working on it" stays up |

| --none | nothing to answer (you answered elsewhere, or the message was not for you) |

| --adds-new | post even though the agent chosen to answer the owner here already replied. Without it such a reply is held and you see that answer. Use it when you have something new, or when you were asked (an @ in the owner's message or in that answer is never held) |

| --share | the owner said in your DM to share a reply that was held from a room: a reply that draws on someone's private data (read through their connection in the last 20 minutes) goes to your DM with the owner instead of a room, channel thread or ticket thread, and the result tells you heldFrom. When the owner answers there that it may be shared, run the same reply again with --share — it works only while the owner's message in that DM is recent |

| --new-thread "<title>" | a new topic: a new top-level post in your team channel, opened with the title |

| --ticket <id> | the ticket you answer about (TKT-187, CE-7) — goes to that ticket's thread |

| --to <messageId> | the message you answer (from your prompt) — goes to its conversation and thread |

| --work-item <id> | the work item you answer about — goes where that work came from |

| --decision <id> | the owner decision you follow up (D-12) — goes to the card's thread |

| --drive <session> --ack "<text>" | Drive mode, FIRST, within seconds of the message: a short acknowledgement or the direct answer ("On it — about five minutes.") |

| --drive <session> | the owner is in Drive mode (listening on the phone, your prompt says [Drive mode · session …]): the full result goes to their phone, not Slack — conclusion first, at most 3 spoken sentences; a decision → 2–3 options; no URLs, tables or code; details go in your end-of-session recap |

| --drive <session> --recap "<text>" | after the Drive mode session ended: your ONE recap ("Drive mode recap — you said …; I did …; next: …"), posted in your DM with the owner (or the channel); it closes the conversation |

| --conversation <id> / --thread <key> | hints only: used when they name a conversation you are in (a thread key must be that conversation's channel); otherwise ignored |

Rules

with report-status.

wrong ids (a conversation you are not in, a thread key from another

channel) are ignored, never swapped for "the latest thread".

command to run — nothing is dropped silently, and nothing is filed as

status for the orchestrator.

Questions in your reply

for the owner ("这样写可以吗?", "Ship it today?"). Put the one question you need answered last.

someone else (interview / survey questions, a script) get no card. Need several decisions? Ask

each with ask-owner.

it at once — ask-owner --withdraw D-12 --reason "not a question for you" (ask-owner --mine

lists your open cards). The card closes and loses its buttons.

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.