Help us improve
Share bugs, ideas, or general feedback.
From WhatsApp Channel for Claude Code
Guides WhatsApp channel setup for Claude Code: device linking, phone number config, and access control.
npx claudepluginhub rich627/whatsapp-claude-pluginHow this skill is triggered — by the user, by Claude, or both
Slash command
/whatsapp-claude-channel: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 interactive WhatsApp channel onboarding: device linking via QR code or pairing code, optional phone number config, and access control setup including pairing or allowlist.
Configures WhatsApp channel phone number, access policy, and auth state. Use when setting up or resetting WhatsApp integration.
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-claude-channel: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-claude-channel:access/whatsapp-claude-channel:configure reset-authTell the user they're all set. Messages from approved contacts will now appear in their Claude Code session.