Custom WhatsApp Channel Plugin for Claude Code Using Baileys

A developer has created a custom channel plugin that adds WhatsApp functionality to Claude Code, filling a gap left by Anthropic's official Channels feature for messaging platform integration.
What It Does
The plugin enables Claude Code to communicate via WhatsApp with the following capabilities:
- Receives and replies to WhatsApp messages from Claude Code
- Supports text, images, audio, video, and documents
- Emoji reactions
- Access control via phone number allowlist
- QR code pairing (same as WhatsApp Web)
Technical Implementation
The plugin was built as a custom channel using the experimental claude/channel capability, following the same architecture as the official Discord and Telegram plugins. It functions as an MCP server and uses Baileys v7, which implements the WhatsApp Web Multi-Device protocol.
Requirements and Setup
- Requires Claude Code version 2.1.80 or higher
- Needs Node.js (Bun lacks the WebSocket events that Baileys requires)
- Must use the
--dangerously-load-development-channelsflag since custom channels aren't on the official allowlist yet
Important Considerations
Baileys is an unofficial library for WhatsApp integration, so users should be aware of potential risks. The developer has submitted the plugin to the official Claude Code plugin marketplace but notes that acceptance is uncertain due to Baileys' unofficial status. The repository works as a standalone solution regardless.
The developer built this while migrating from OpenClaw (which had WhatsApp support via Baileys) to a native Claude Code setup with 6 specialized agents running 24/7 on a Mac mini, with WhatsApp being the final missing component.
📖 Read the full source: r/ClaudeAI
👀 See Also

nex-life-logger: Local Activity Tracker for OpenClaw Agents
nex-life-logger is a background activity tracker that runs locally on your machine, giving OpenClaw agents memory of your computer activities. It tracks browser history, active windows, and YouTube transcripts, storing everything in a local SQLite database with no cloud data transmission.

Clawdbot Unleashes New Features with Pro Subscription
Clawdbot introduces a 'Pro' subscription, offering enhanced capabilities for users aiming to maximize the potential of automation in coding environments. Dive into the latest features and community insights from r/clawdbot.

Local Qwen Models Achieve Browser Automation with Stepwise Planning and Compact DOM
A developer found small local LLMs like Qwen 8B and 4B succeed at browser automation using stepwise planning instead of upfront multi-step plans, combined with a compact semantic DOM representation that reduces token usage from 50-100K+ to ~15K for full flows.

Session Siphon: Open Source Tool Consolidates AI Coding Agent Conversations
Session Siphon is a free, open source tool that consolidates and indexes conversation history from multiple AI coding agents across different providers and machines. The developer created it using Claude to solve the problem of tracking conversations across different platforms.