Whatsapp draft

From stevehuang0115/crewly · View interactive version

Whatsapp draft is an AI agent skill from the GitHub repository stevehuang0115/crewly. Write a reply draft for one of the owner's WhatsApp chats. It is saved with a short code (W12) and NEVER sent — the owner releases it by replying 「发 W12」 or from the dashboard.

How to use this skill

Skill file

WhatsApp Draft

Saves a proposed reply. It never sends.

bash execute.sh --chat 4915550001@s.whatsapp.net --text "Yes, 8 works — see you there"
bash execute.sh --chat 4915550001@s.whatsapp.net --text-file /tmp/reply.txt
bash execute.sh '{"chatId":"4915550001@s.whatsapp.net","text":"…"}'

After drafting — what you must do

Show the owner, in your reply to them:

  1. who it goes to (draft.recipient),
  2. the exact text (draft.text),
  3. the code (draft.code, e.g. W12),

and ask them to reply 「发 W12」 to send it (or 发送 / 丢弃 on the dashboard's

WhatsApp tab). Then stop. Only after they have replied 「发 W12」 may you run

whatsapp-send --draft W12. If they change the wording, write a new draft.

Rules (owner decision — apply to every whatsapp-* skill)

one confirmation, one message.

owner needs the gist and your proposed reply, not a transcript.

Parameters

| Name | Required | Meaning |

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

| --chat (chatId) | yes | Recipient chat JID; must already be in the inbox |

| --text (text) | yes* | Reply text (max 4000 chars) |

| --text-file | yes* | Read the text from a file instead |

Output

{"success":true,"sent":false,
 "draft":{"id":"…","code":"W12","recipient":"Ann","chatId":"4915550001@s.whatsapp.net","text":"Yes, 8 works — see you there"},
 "nextStep":"NOT SENT. Show the owner: recipient Ann, the exact text above, and code W12. Ask them to reply 「发 W12」 …"}

Failures

{"success":false,"reason":"chat_not_found"} (exit 1) — you can only draft to a

chat that is in the inbox; find it with whatsapp-read --chats --q <name>.

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.