Help us improve
Share bugs, ideas, or general feedback.
From whatsapp
Configures WhatsApp channel: sets phone number, checks auth state and pairing status, reviews access policy and allowlist. Guides setup, pairing, and lockdown to secure DMs.
npx claudepluginhub rich627/whatsapp-claude-plugin --plugin whatsapp-claude-channelHow this skill is triggered — by the user, by Claude, or both
Slash command
/whatsapp:configureThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Writes configuration to `~/.whatsapp-channel/.env` and orients the
Configures WhatsApp channel phone number, access policy, and auth state. Use when setting up or resetting WhatsApp integration.
Guides interactive WhatsApp channel onboarding: device linking via QR code or pairing code, optional phone number config, and access control setup including pairing or allowlist.
Adds WhatsApp as a communication channel with QR code or pairing code authentication. Handles code merge, dependency installation, and environment detection.
Share bugs, ideas, or general feedback.
Writes configuration to ~/.whatsapp-channel/.env and orients the
user on access policy. The server reads both files at boot.
Arguments passed: $ARGUMENTS
Read both state files and give the user a complete picture:
Phone number — check ~/.whatsapp-channel/.env for
WHATSAPP_PHONE_NUMBER. Show set/not-set; if set, show the number.
Auth state — check whether ~/.whatsapp-channel/.baileys_auth/creds.json
exists and has registered: true. Show paired/not-paired.
Access — read ~/.whatsapp-channel/access.json (missing file
= defaults: dmPolicy: "pairing", empty allowlist). Show:
What next — end with a concrete next step based on state:
/whatsapp:configure <phone> with your
WhatsApp phone number (e.g. 886912345678, no leading +)."claude --dangerously-load-development-channels plugin:whatsapp@whatsapp-claude-plugin
The pairing code will appear automatically. Enter it on your phone:
WhatsApp > Linked Devices > Link a Device > Link with phone number instead."/whatsapp:access pair <code>."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:
pairing → "Good. Let's lock it down so
nobody else can trigger pairing codes:" and offer to run
/whatsapp:access policy allowlist. Do this proactively — don't wait to
be asked./whatsapp:access pair <code>. Run this skill again once
everyone's in and we'll lock it."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: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$ARGUMENTS as the phone number (trim whitespace, strip leading +).
WhatsApp phone numbers are digits only, no spaces or dashes.mkdir -p ~/.whatsapp-channel.env if present; update/add the WHATSAPP_PHONE_NUMBER= line,
preserve other keys. Write back, no quotes around the value.chmod 600 ~/.whatsapp-channel/.env — the file may contain credentials.reset-authClear the Baileys auth state so the user can re-pair with a new device or phone number.
rm -rf ~/.whatsapp-channel/.baileys_auth--channels to re-pair."clear — remove the phone numberDelete the WHATSAPP_PHONE_NUMBER= line (or the file if that's the only line).
.env once at boot. Config changes need a session restart
or /reload-plugins. Say so after saving.access.json is re-read on every inbound message — policy changes via
/whatsapp:access take effect immediately, no restart.