waha-compose
Skill1 starsChanged 29 days agoMITView on GitHub
Compose WhatsApp messages for WAHA (WhatsApp HTTP API session gateway, not Meta Cloud API templates). Use when writing, rewriting, formatting, or reviewing any WAHA sendText body, sendImage caption, reply, group mention, or broadcast text for native formatting, anti-ban compliance, and readability.
In this repository15 other files it gives its agents.
- llms.txtllms.txt
- verified-recordingsSkill
- website-scrollSkill
- article-imageSkill
- bento-featuresSkill
- brand-nameSkill
- landing-pageSkill
- low-res-mockupSkill
- saas-dashboardSkill
- saas-logoSkill
- og-image-animatedSkill
- og-image-liveSkill
- og-imageSkill
- product-demoSkill
- website-screenshot-reelSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Write messages that render correctly in WhatsApp, respect WAHA and WhatsApp anti-spam rules, and are easy to scan on a phone screen.
- Distinctive: line 20
Write the plain text before adding any formatting.
- Distinctive: line 41
No banned or spammy phrasing, no sensitive content, only HTTPS links, no shortener domains with bad reputation.
- Distinctive: line 76
Use this skill for message content: wording, formatting, compliance review, readability.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
WAHA Compose
Write messages that render correctly in WhatsApp, respect WAHA and WhatsApp anti-spam rules, and are easy to scan on a phone screen.
This skill is for WAHA only: the self-hosted WhatsApp HTTP API where you send via POST /api/sendText with a session and chatId. It is not for Meta Cloud API template approval (components[], utility versus marketing categories). If the task needs an official template, stop and use a WABA template skill instead.
Workflow
1. Establish intent and audience
Collect: who receives this (one person, group, new contact, existing chat), why they expect it, the single action they should take, and whether they opted in. If there is no opt-in and no prior chat, the correct output is an opt-in invite (a wa.me link sent by SMS or another channel), not a WAHA cold message.
2. Draft for readability first
Write the plain text before adding any formatting. Rules live in references/readability.md. The short version: one idea per message, first message short, front-load the point, one clear ask, line breaks between blocks.
3. Apply native formatting
Formatting reference: references/formatting.md. WAHA passes text through to WhatsApp, so use WhatsApp native marks:
*bold*for the key fact or deadline_italic_for context or side notes, sparingly~strike~only for corrections- triple backticks for codes or exact strings to copy
> quotefor replying context-or1.lists for steps or options
Bold at most two short spans per message. If everything is bold, nothing is.
4. Compliance pass
Checklist lives in references/compliance.md. Blocking issues, not suggestions:
- Reply-first: WAHA sessions should reply, not cold blast. New contacts need prior opt-in.
- One short opener, no links or media in the first cold touch.
- No banned or spammy phrasing, no sensitive content, only HTTPS links, no shortener domains with bad reputation.
- Human pacing:
sendSeen,startTyping, short random wait scaled to message length,stopTyping, thensendText. Random gaps between messages, no 24/7 blasting, batch with rest windows. - Know errors
463(reachout timelock, pause new contacts) and475(message capping, wait for cycle reset). Never logout or re-pair to clear them. - Sender looks human: profile picture, name, status set.
5. Emit the WAHA payload
Base shape for POST /api/sendText:
{
"session": "default",
"chatId": "6281234567890@c.us",
"text": "Hi Andi, *order A-1042* has shipped.\n\nTrack it here: https://example.com/t/A-1042\n\nReply STOP to opt out."
}Options:
reply_to: message id being answered, keeps threads readable.linkPreview: setfalseto suppress previews on links that render badly; settruepluslinkPreviewHighQuality: truewhen the preview matters.mentions: in groups, include both@<number>in text and thechatIdinmentions, or"all"for everyone.chatIdformats:phone@c.usfor people,id@g.usfor groups,id@newsletterfor channels,status@broadcastfor status.
Human-like send sequence before the text (per WAHA guidance):
POST /api/sendSeenwithsessionandchatIdPOST /api/startTyping, wait a random interval scaled to lengthPOST /api/stopTypingPOST /api/sendText
Image captions go through POST /api/sendImage with JPEG files and a short caption written with the same readability rules.
Boundaries
Use this skill for message content: wording, formatting, compliance review, readability. Use a WAHA API or infra skill for sessions, webhooks, Docker, engines, or QR pairing. Use a WABA template skill for official template submission and category decisions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

