whatsapp-web
Installation
SKILL.md
whatsapp-web
WhatsApp Web automation via Playwright + Chrome CDP. Scripts output JSON to stdout.
Setup
Requires Python 3.10+, Google Chrome, and Playwright.
First-time login — scan QR code once:
python3 scripts/login.py
This opens Chrome, navigates to web.whatsapp.com, reports the current login state, and exits immediately so the calling agent stays responsive. If the user still needs to scan the QR code, tell them to scan it from their phone and re-run the task once signed in. Chrome profile persists in /tmp/whatsapp-web/chrome_profile/, so no re-scan is needed after the first login.