From whatsapp
Interactive WhatsApp channel onboarding — guides through device linking, phone number config, and access control setup
npx claudepluginhub rich627/whatsapp-claude-plugin --plugin whatsappThis skill uses the workspace's default tool permissions.
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.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides MCP server integration in Claude Code plugins via .mcp.json or plugin.json configs for stdio, SSE, HTTP types, enabling external services as tools.
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.