/whatsapp-waha:leave-or-archivefrom whatsapp-waha
Archive, unarchive or leave WhatsApp chats and groups on your own account, one at a time or as a bulk tidy of dead groups. Archive is silent and reversible; leaving is visible to the group. Use on "archive the <group>", "get me out of <group>", "leave that group", "unarchive X", "tidy up my WhatsApp groups". Not for creating groups or changing members (create-group).
Ships in whatsapp-waha. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read the account profile first: references/profile.md.
Raw calls are <gateway_server>__waha_post / waha_get; {session} is the profile's
session. Resolve the chat by alias, list_chats, or waha_get /api/{session}/groups
(large: save to a file and parse). More than one match → ask.
| The user says | Do | Others see it? |
|---|---|---|
| archive, hide, tidy | Archive | No |
| leave, exit, get me out | Leave, then archive | Yes (" left") |
| mute | Needs PUT/unsupported on Core: archive instead and say so |
A request naming one chat is the approval. A bulk leave gets the list shown first: leaving can't be undone without someone re-adding the owner. If the owner is the only admin of a group they're leaving, say so first (WhatsApp promotes someone at random).
| Do | Path |
|---|---|
| Archive | /api/{session}/chats/<chatId>/archive |
| Unarchive | /api/{session}/chats/<chatId>/unarchive |
| Leave | /api/{session}/groups/<gid>/leave |
They return null; that is not proof. Verify archive with
waha_get /api/{session}/chats/overview?limit=1&ids=<chatId> → _chat.archived (the reply
also carries the whole last message: read only that field). Verify leave with the group's
participant list no longer containing the owner's number.
waha_get /api/{session}/chats/overview?limit=200 to a file; with a script, list groups
(@g.us) whose last message is older than N days (default 90).Verified 2026-11-17 (WAHA 2026.10.1 Core, NOWEB): archive then unarchive of a 1:1 chat,
_chat.archived flipped to true and back. Leave not yet exercised live.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/create-groupCreate a WhatsApp group from your own account with existing contacts, new numbers or both, post an opening message and send the invite link to anyone who couldn't be added. Also add or remove members, promote admins, rename (where supported) and get a group's invite link. Use on "make a WhatsApp group with X and Y", "start a group for <topic>", "add Z to the <group>", "remove Z", "get the invite link". Not for leaving or archiving (leave-or-archive)./delete-messageDelete (revoke) one or more of your own sent WhatsApp messages for everyone, through WAHA. Only on an explicit request ("delete that message for everyone", "unsend the last two messages to <person>", "revoke what I sent in <group>"). Confirms the exact messages, works oldest first inside WhatsApp's ~60-hour window, uses the chat id the message is actually keyed under (the @lid gotcha), and verifies by re-reading the chat. Not for deleting a whole chat or other people's messages./message-new-numberFirst WhatsApp message to a phone number you've never messaged, then save the person to your contact book, even when you don't know their name yet. Normalises local numbers, checks the number is on WhatsApp, adds an intro line, sends text and photos, verifies, saves the contact under a placeholder name if needed. Use on "WhatsApp this number", "message 05X… and save him", "send this to <number> and add her to my contacts". One number at a time.whatsapp-waha@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin whatsapp-waha