Help us improve
Share bugs, ideas, or general feedback.
From whatsapp
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.
npx claudepluginhub rich627/whatsapp-claude-plugin --plugin whatsapp-claude-channelHow this skill is triggered — by the user, by Claude, or both
Slash command
/whatsapp:setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are guiding the user through first-time WhatsApp channel setup. Follow these phases in order. Be conversational, not robotic. Ask one question at a time.
Guides WhatsApp channel setup for Claude Code: device linking, phone number config, and access control.
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.
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.
You are guiding the user through first-time WhatsApp channel setup. Follow these phases in order. Be conversational, not robotic. Ask one question at a time.
Tell the user:
Check the connection status by calling the whatsapp_status tool.
If status is connected:
If status is pairing and a qr_image_path is present:
pairing_code is also available, mention: "If you can't scan the QR, tap 'Link with phone number instead' and enter: [code]"whatsapp_status again to check if connection succeeded.If status is disconnected:
Ask the user:
"Would you like to save your phone number for future re-pairing? This lets the server offer a numeric pairing code as a backup if QR scanning isn't available. You can skip this."
If yes:
886912345678, no + or spaces)~/.whatsapp-channel/.env:
WHATSAPP_PHONE_NUMBER=<their number>
If no, skip to Phase 4.
Explain the access model:
"By default, when someone DMs your WhatsApp account, they'll get a pairing code. You approve them by running
/whatsapp:access pair <code>here. This prevents random people from talking to your Claude session."
Ask:
"Would you like to:"
- Keep the default (pairing mode) — recommended for most users
- Allowlist only — silently drop messages from unknown senders (no pairing reply)
- Add a specific contact now — if you already know their WhatsApp user ID
For option 1: No action needed, just confirm.
For option 2: Write {"dmPolicy": "allowlist", "allowFrom": [], "groups": {}, "pending": {}} to ~/.whatsapp-channel/access.json.
For option 3: Ask for the numeric user ID (e.g., 886912345678). They can find it by having the contact message @userinfobot on Telegram, or by checking WhatsApp linked device logs. Add it to allowFrom in access.json.
Summarize:
/whatsapp:access/whatsapp:configure reset-authTell the user they're all set. Messages from approved contacts will now appear in their Claude Code session.