Skill6 starsChanged 5 months agoMITView on GitHub
Read, search, and send WhatsApp messages through the local whatsapp-connector daemon. Use when the user asks to check WhatsApp, read or search a chat/group, summarize messages, reply, or send on WhatsApp. Reads any chat freely; sends ONLY to allow-listed chats and ONLY after the user confirms.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- steipete/agent-scriptstheir own version, first seen Sep 30, 2026
- Shaybush/claude-skillstheir own version, first seen Sep 10, 2026
- stewartcelani/skillstheir own version, first seen Jul 30, 2026
- sanjay3290/ai-skillstheir own version, first seen Jul 6, 2026
- hsigstad/research-kittheir own version, first seen Jul 5, 2026
- sonichi/sutandotheir own version, first seen May 17, 2026
Used with
Projects with it also use sonos and obsidian.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
emanueleieloSkillsonos
Control Sonos speakers: discover, play/pause, volume, grouping, favorites, and queue management via sonos CLI.
Also in 3 projects that use this
scott2bSkillobsidian
PROACTIVELY use for Obsidian vault operations. Fast search using ripgrep, direct file operations (read/write/delete). Works with slipbox in _Slipbox directory. 4-7x faster than API. Use obsidian-api skill ONLY for Dataview queries, periodic notes, or patch operations.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- steipete/agent-scripts★ 7.2ksame name
- sanjay3290/ai-skills★ 429same name
- sonichi/sutando★ 396same name
- emanueleielo/ciana-parrot★ 77same name
- aviz85/claude-skills-library★ 49same name
- claude-world/claude-agent★ 4same name
- Shaybush/claude-skills★ 3same name
- stewartcelani/skills★ 2same name
- hsigstad/research-kit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 1 is distinctive, and 6 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 58
Run wa send "<chat>" "<text>" (or wa send-media ...).
- Very specific: line 60
Only then run wa send-confirm <token>.
- Distinctive: line 71
Every mutation above triggers a NATIVE DIALOG that only the human can click.
- Very specific: line 75
If a send fails with "not on the send allow-list", offer wa allow add — run it only after the user agrees, and remind them to expect the …
- Very specific: line 86
If wa prints "daemon is not running", start it yourself:
- Very specific: line 96
Do NOT run node index.js yourself as the long-term daemon — that process dies with its terminal.
- Very specific: line 117
If WhatsApp Web authenticates but never signals ready (an intermittent hang, usually just after a restart), the daemon now recovers on its …
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
WhatsApp connector
Drive the user's WhatsApp via the wa CLI, which talks to an always-on local daemon.
Always call it by absolute path: {{WA_DIR}}/bin/wa
Reading (allowed freely)
wa chats— list chats/groupswa read "<chat>" [--limit 30 | --all]— recent messages (each has anidfor reactions).--allreads the WHOLE chat (every synced message), bypassing the 200 cap — use sparingly: a busy chat can be thousands of messages (large payload + heavy on your context)wa search "<query>" [--chat "<chat>"]— find messageswa members "<group>"— who is in a groupwa contacts "<query>"— resolve a name/numberwa media "<chat>" "<message-id>"— download an image/file; prints a path you can then open
Chats are addressed by name (fuzzy) or exact id. If wa reports the name is ambiguous, show the candidates and ask which one.
Response shapes (verified against a live account)
Everything prints as JSON (or a plain string). Shapes you can rely on:
wa chats→ array of{ id, name, unread }, ordered most-recently-active first. Theidsuffix is the chat type:…@g.us— a group…@lid— an individual person (WhatsApp's current per-contact id). The older…@c.usform can also appear; treat BOTH as 1:1 people. To filter to real people, exclude@g.us— do NOT match on@c.usalone (modern accounts return@lidand you'll get zero results).
wa read→{ chat, id, messages: [ … ] }, oldest→newest. Each message is{ id, sender, ts, text, hasMedia }:senderis the literal string"me"for the user's own messages, otherwise the counterparty's chat id — so message direction is justsender === "me".tsis a UNIX timestamp in seconds (multiply by 1000 for a JSDate).--limitis capped at 200 (MAX_LIMIT); a busier chat returns only its most recent 200, so a chat sitting at exactly 200 means "≥200", not exactly 200. Pass--allto bypass the cap and fetch every message — but "every" means every message currently synced into the Web session, NOT the full lifetime history. Depth is volatile: a freshly linked device backfills older messages over time, and a daemon restart flushes the loaded depth — right after a (re)start most chats read only their newest message or two and re-deepen as the session re-syncs. So a low--allcount can mean "not synced yet," not "that's the whole chat." A big, warmed chat can return thousands of messages at once.
wa status→{ state, ready, syncPercent }(plusrecovery: {attempt, max}while self-recovering);state∈starting | needs-login | syncing | ready | recovering | relinking | auth-failure | disconnected.- Errors come back as
{ ok:false, error, code }with codes likeNOT_ALLOWED(chat not on the allow-list),NOT_APPROVED(human denied or the dialog timed out),AMBIGUOUS(name matched >1 chat),NOT_FOUND.
Sending (two-step — read this every time)
wa send and wa send-media do NOT transmit. They return a token + a preview. To actually send:
- Run
wa send "<chat>" "<text>"(orwa send-media ...). It returns{ pending: true, token, chat, preview }and sends nothing. - Show the user the exact
chatandpreview, and get an explicit "yes". - Only then run
wa send-confirm <token>. The token expires in ~2 minutes.
react is single-step but still restricted to allow-listed chats. mark-read is single-step and works on any chat — it only changes the user's own read state and sends nothing outward, so it is NOT allow-list gated.
Allow-list (gated by a native dialog on the user's screen)
wa allow list— chats sends are permitted to. The entry*means EVERYONE.wa allow add "<chat>" ["<chat>" ...]— request permission for one or more chatswa allow remove "<chat>" ["<chat>" ...]— request removal (raw ids accepted)wa allow all/wa allow remove all— the EVERYONE wildcard on / off
Every mutation above triggers a NATIVE DIALOG that only the human can click.
The command blocks up to 60 seconds while the dialog is on screen — this is
normal, wait for it. A denial, timeout, or "not approved" error is FINAL:
do not retry, do not edit allowlist.json, report the outcome to the user.
If a send fails with "not on the send allow-list", offer wa allow add —
run it only after the user agrees, and remind them to expect the dialog.
Scheduled sends
wa schedule "<chat>" "<text>" --at "HH:MM"(or--at "YYYY-MM-DD HH:MM",--in 30m,--every monday --at 09:00,--every month --on 1 --at 08:00,--media <path>)- It returns a pending token like
send; confirm with the user, thenwa schedule-confirm <token>. wa schedule list/wa schedule cancel <id>manage jobs. Fires re-check the allow-list.
If the daemon is down
If wa prints "daemon is not running", start it yourself:
{{WA_DIR}}/bot.sh startOn macOS this registers a launchd agent (com.whatsapp-connector.daemon) with
KeepAlive + RunAtLoad, so the daemon stays up for as long as the Mac is on —
it relaunches automatically after a crash and at every login. On Linux bot.sh
falls back to a nohup background process with a pidfile. Then poll wa status
until ready: true (see "Still syncing").
Do NOT run node index.js yourself as the long-term daemon — that process dies
with its terminal. bot.sh start is what makes it persistent.
One exception — a fresh, never-linked machine needs a human for the QR. If
after starting, wa status reports state: "needs-login" (no WhatsApp session
on disk yet), the login QR renders only to a foreground terminal, which you
cannot scan. Ask the user to run node index.js in a terminal from {{WA_DIR}},
scan it via WhatsApp → Settings → Linked Devices, wait for ready, then Ctrl+C
and run {{WA_DIR}}/bot.sh start for the persistent daemon.
Still syncing (just after a restart)
wa status returns { state, ready, syncPercent }. Right after a (re)start the
daemon reports state: "syncing" while it finishes delivering messages that
queued while it was off, and commands fail with "not ready (state: syncing)".
This is normal and self-clears within a few seconds (up to ~60s if a lot
queued). Poll wa status until ready: true, then proceed — don't tell the
user the daemon is down.
Auto-recovery (a stuck daemon heals itself)
If WhatsApp Web authenticates but never signals ready (an intermittent hang,
usually just after a restart), the daemon now recovers on its own — and shows
the stage in wa status:
state: "recovering"withrecovery: {attempt, max}— it's recycling the client, reusing the on-disk session (no QR). Just keep pollingwa status; do NOT restart the daemon yourself while it's recovering.state: "relinking"— the soft retries were exhausted, so it moved the session aside and a new QR scan is required. This becomesneeds-loginonce the QR is ready: tell the user to scan it (see "If the daemon is down" — the QR only shows in a foregroundnode index.js).
So a temporary recovering/syncing status is the daemon fixing itself, not a
failure — report it calmly and wait.
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.

