zaileys
Skill by zeative
Builds, extends, debugs, reviews, upgrades and deploys WhatsApp bots written with zaileys, a TypeScript library for Node.js. It is for developers who want a WhatsApp bot, auto-reply, command bot, broadcast or webhook.
Install zaileys
Built from the published package, never by AI.
git clone --depth 1 https://github.com/zeative/zaileys /tmp/zaileys && mkdir -p ~/.claude/skills && cp -r /tmp/zaileys/skills/zaileys ~/.claude/skills/zaileysRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/zeative/zaileys /tmp/zaileys && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/zaileys/skills/zaileys ~/.gemini/antigravity-cli/skills/zaileysAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
zaileys is a TypeScript library for building WhatsApp bots in Node.js. It wraps WhatsApp Web, which uses QR or pairing-code login on a linked device, and the official Meta Cloud API behind one Client, so handlers and sends look the same on both. This skill guides an AI assistant through building, extending, debugging, reviewing, upgrading and deploying zaileys bots within v4.
The skill covers sending and receiving messages and media, buttons, groups and channels, commands and plugins, sessions and storage, Cloud API webhooks and templates, error codes, and server sizing. It is aimed at developers who want a WhatsApp bot in Node.js. It also warns that v3 code and raw Baileys patterns will not work with v4.
Written from the project's SKILL.md and checked against it.
What it can do
- Build a new botStarts a new zaileys bot or adds the library to an existing Node.js project.
- Add featuresExtends an existing bot with commands, plugins, broadcast, scheduling or auto-delete.
- Debug errorsDiagnoses errors, bots that do not reply, and login loops using the error code reference.
- Review botsReviews a bot before it goes to production.
- Upgrade and deployCovers upgrades within v4, migration from v3, and deploying to a server.
- MessagingExplains sending text, media, buttons, lists, edits, reactions and JIDs.
- ReceivingExplains message events, message context and downloading media.
- Cloud API setupCovers Cloud API webhooks, templates, the 24-hour window and Meta limits.
- Storage and sessionsCovers auth and message stores, sessions and multiple accounts.
- Doctor scriptRuns a read-only project check with scripts/doctor.mjs, with optional JSON output.
What you need
- Node.js 20 or newer
- zaileys v4
- A WhatsApp account for WhatsApp Web login by QR or pairing code
- Meta Cloud API credentials and a public HTTPS webhook URL for the Cloud API
Try asking
- Create a WhatsApp command bot with zaileys that replies to !ping
- Add a Cloud API webhook to my zaileys bot with signature checks
- Why does my zaileys WhatsApp bot stop replying? Help me debug it
Good to know
- Cloud API bots have no QR login, sessions or reconnects, and some client features throw UNSUPPORTED_ON_CLOUD.
- Free-form messages reach a customer only within 24 hours of their last message; later sends need an approved template.
- Commands, middleware, plugins, broadcast and scheduling need the WhatsApp Web connection, not the Cloud API.
- Not for whatsapp-web.js, raw Baileys, Twilio or non-WhatsApp bots unless moving them to zaileys.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/zaileys/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to zaileys
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
zaileys: common questions
Does zaileys support the official WhatsApp Cloud API?
Yes. zaileys supports both WhatsApp Web and Meta's Cloud API, but Cloud API bots receive messages only through a webhook and have no QR login, sessions or reconnects.
Which Node.js version does zaileys need?
The skill lists Node.js 20 or newer, together with zaileys v4.
Can this skill help with whatsapp-web.js or Baileys bots?
It is not meant for whatsapp-web.js or raw Baileys bots, but it can help move them to zaileys.
How do I install zaileys?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is zaileys free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is zaileys safe to use?
It scores 74 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to zaileys?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
