/whatsapp-waha:delete-messagefrom whatsapp-waha
Delete (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.
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.
Tools are <gateway_server>__get_messages, <gateway_server>__waha_get and
<gateway_server>__waha_delete (load them in one batch, or call through a toolbox
call_tool). {session} is the profile's session. If the server has no waha_delete, say so
and stop: there is no POST equivalent on WAHA Core.
timestamp; if any is close to the limit, delete the oldest first. Tell
the user up front about any message already outside the window.fromMe: true). Revoking someone else's message in a group needs
admin rights and is a different action: don't.get_messages on the chat (enough limit to reach them), keep
fromMe: true. Take the full serialized id of each, e.g.
true_<chatId>_<msgId> (groups: true_<groupId>_<msgId>_<participant>). A bare short
id is not enough.<chatId> part of
true_<chatId>_<msgId> is the id WhatsApp keyed the message under. In a 1:1 chat that is
often the contact's @lid, not their @c.us number. Use exactly that one in the path.waha_delete /api/{session}/chats/<chatId>/messages/<full serialized id>
(URL-encode the ids if the tool does not). Pause a second or two between deletions.status: PENDING) is not proof. Re-read the chat
with get_messages: the message must be gone, or show as revoked (type: revoked /
protocolMessage, empty body, depending on engine). Still there with its text → it
failed; check step 2 and retry once with the other chat id form, then report.log says sends are logged (one record per
message: time, chat, original message id, action: delete-for-everyone, verified yes/no).
log: none → skip.@lid-keyed 1:1 chats (found 2026-12-02)For a DM whose messages are keyed by @lid, calling the path with the contact's @c.us chat
id returned PENDING but the revoke silently did nothing (the revoke's remoteJid did not
match the original message's). Calling it with the @lid chat id from the message's own
serialized id worked. Hence steps 2 and 4: take the chat id from the serialized id, and
always re-read the chat before reporting success.
From live use on 2026-12-02 (WAHA Core, NOWEB): revokes of own 1:1 messages; the @c.us path returned
PENDING without revoking, the @lid path (from the serialized id) revoked.
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)./leave-or-archiveArchive, 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)./whatsapp-waha@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin whatsapp-waha