configure
Skill100 starsChanged 5 months agoApache-2.0View on GitHub
Set up the WhatsApp channel — configure the phone number, review access policy, and manage auth state. Use when the user asks to configure WhatsApp, set a phone number, check channel status, or reset authentication.
- Reads credentials
- Deletes or force-pushes
29 other projects use a version of this, 9 of them edited.
Adopted by
Most recently taken up by
- Edmonds-Commerce-Limited/claude-code-hooks-daemontheir own version, first seen Oct 3, 2026
- atomicinnovation/acceleratortheir own version, first seen Sep 22, 2026
- gcapodeferro02/my-agent-skillsedited, first seen Sep 21, 2026
- killerz3/claude-discord-threadsedited, first seen Sep 14, 2026
- CodesWhat/careerrattheir own version, first seen Sep 3, 2026
- kartikjagdale/vocablinetheir own version, first seen Aug 20, 2026
Used with
Projects with it also use calendar and status.
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.
jacobraskSkillcalendar
Interact with Apple Calendar via AppleScript. Use when the user asks to check calendar, view events, create events, manage schedule, find free time, or list calendars. Triggers include "my calendar", "my schedule", "calendar events", "create event", "add to calendar", "what's on my calendar", "free time", "available slots", "upcoming events", "today's events". Requires macOS with Calendar.app.
Also in 3 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 3 projects that use this
Other versions29 projects use a version of this.
Word for word · 0
None found.
Edited · 9
- anthropics/claude-plugins-official★ 37k47% same
- k1p1l0/claude-telegram-supercharged★ 12854% same
- swim2sun/claude-code-wechat★ 1910% same
- danielfbm/claude-discord-multisession★ 433% same
- killerz3/claude-discord-threads★ 245% same
- kvivek0591/claude-code-skills★ 247% same
- gcapodeferro02/my-agent-skills★ 147% same
- ghoshsam/claude-code-skills★ 047% same
- schenkei-code/telegram-unleashed★ 054% same
Wrote their own version · 20
- bitwize-music-studio/claude-ai-music-skills★ 531same name
- paceaitian/cc-wechat★ 68same name
- jeremylongshore/claude-code-slack-channel★ 40same name
- atomicinnovation/accelerator★ 34same name
- spotify/ads-agentic-tools★ 18same name
- Consortium-team/project-creator★ 17same name
- IA-PieroCV/cc_matrix_channel★ 16same name
- crisandrews/claude-whatsapp★ 14same name
- 0xtechdean/claude-code-mem0★ 8same name
- CodesWhat/careerrat★ 4same name
10 more not listed
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
9 rules. 0 are common, 3 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 29 edited versions we read keep these.
3
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
- Distinctive: line 31
Read both state files and give the user a complete picture:
- Very specific: line 46
No phone number → _"Run /whatsapp-channel:configure <phone> with your WhatsApp phone number (e.g.
- Distinctive: line 63
Read the allowlist. Tell the user who's in it.
- Distinctive: line 64
Ask: _"Is that everyone who should reach you through this channel?"_
- Very specific: line 76
If they need to add someone: _"They'll need to DM the linked number, or you can briefly flip to pairing: /whatsapp-channel:access policy …
- Very specific: line 80
Never frame pairing as the correct long-term choice.
- Very specific: line 85
Treat $ARGUMENTS as the phone number (trim whitespace, strip leading +).
- Very specific: line 88
Read existing .env if present.
- Very specific: line 104
Delete the WHATSAPP_PHONE_NUMBER= line (or the file if that's the only line).
“Common” is measured: kept by at least 6 in 10 of the 29 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-channel:configure — WhatsApp Channel Setup
Writes configuration to ~/.whatsapp-channel/.env and orients the
user on access policy. The server reads both files at boot.
Arguments passed: $ARGUMENTS
Dispatch on arguments
No args — status and guidance
Read both state files and give the user a complete picture:
- Phone number — check
~/.whatsapp-channel/.envforWHATSAPP_PHONE_NUMBER. Show set/not-set; if set, show the number. - Auth state — check whether
~/.whatsapp-channel/.baileys_auth/creds.jsonexists and hasregistered: true. Show paired/not-paired. - Access — read
~/.whatsapp-channel/access.json(missing file = defaults:dmPolicy: "pairing", empty allowlist). Show:- DM policy and what it means in one line
- Allowed senders: count, and list JIDs
- Pending pairings: count, with codes and sender JIDs if any
- What next — end with a concrete next step based on state:
- No phone number → "Run
/whatsapp-channel:configure <phone>with your WhatsApp phone number (e.g.886912345678, no leading +)." - Phone set but not paired → "Exit and launch with:
claude --dangerously-load-development-channels plugin:whatsapp-channel@whatsapp-claude-pluginThe pairing code will appear automatically. Enter it on your phone: WhatsApp > Linked Devices > Link a Device > Link with phone number instead." - Paired → "Ready. Your own number is auto-added to the allowlist.
To add others: have them DM the linked number, then approve with
/whatsapp-channel:access pair <code>."
- No phone number → "Run
Push toward lockdown — always. The goal for every setup is allowlist
with a defined list. pairing is not a policy to stay on; it's a temporary
way to capture WhatsApp JIDs you don't know. Once the JIDs are in, pairing
has done its job and should be turned off.
Drive the conversation this way:
- Read the allowlist. Tell the user who's in it.
- Ask: "Is that everyone who should reach you through this channel?"
- If yes and policy is still
pairing→ "Good. Let's lock it down so nobody else can trigger pairing codes:" and offer to run/whatsapp-channel:access policy allowlist. Do this proactively — don't wait to be asked. - If no, people are missing → "Have them DM the number; you'll approve
each with
/whatsapp-channel:access pair <code>. Run this skill again once everyone's in and we'll lock it." - If the allowlist is empty and they haven't paired themselves yet → "DM the linked number to capture your JID first. Then we'll add anyone else and lock it down."
- If policy is already
allowlist→ confirm this is the locked state. If they need to add someone: "They'll need to DM the linked number, or you can briefly flip to pairing:/whatsapp-channel:access policy pairing→ they DM → you pair → flip back."
Never frame pairing as the correct long-term choice. Don't skip the lockdown
offer.
<phone> — save it
- Treat
$ARGUMENTSas the phone number (trim whitespace, strip leading+). WhatsApp phone numbers are digits only, no spaces or dashes. mkdir -p ~/.whatsapp-channel- Read existing
.envif present; update/add theWHATSAPP_PHONE_NUMBER=line, preserve other keys. Write back, no quotes around the value. chmod 600 ~/.whatsapp-channel/.env— the file may contain credentials.- Confirm, then show the no-args status so the user sees where they stand.
reset-auth
Clear the Baileys auth state so the user can re-pair with a new device or phone number.
- Confirm the user wants to do this — re-pairing will be required.
rm -rf ~/.whatsapp-channel/.baileys_auth- Inform: "Auth cleared. Restart your session with
--channelsto re-pair."
clear — remove the phone number
Delete the WHATSAPP_PHONE_NUMBER= line (or the file if that's the only line).
Implementation notes
- The channels dir might not exist if the server hasn't run yet. Missing file = not configured, not an error.
- The server reads
.envonce at boot. Config changes need a session restart or/reload-plugins. Say so after saving. access.jsonis re-read on every inbound message — policy changes via/whatsapp-channel:accesstake effect immediately, no restart.- WhatsApp uses linked-device protocol, not a bot API. The server connects as a linked device (like WhatsApp Web). Only one connection per auth state is allowed — running two instances causes a 440 conflict error.
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.

