name: whatsapp description: Gestire un bot WhatsApp (Baileys + Pairing Code) con agente AI esterno via HTTP API.
WhatsApp Agent Bridge — SKILL.md
Overview
Bridge WhatsApp che espone un'API HTTP locale. Un agente AI esterno (es. OpenClaw, Claude, GPT) polla i messaggi e risponde.
Comandi
Avvio
cd <path>/whatsapp-agent-bridge
node index.mjs
Fermare
Ctrl+C
Reset sessione
rm -rf auth_info
HTTP API
GET http://127.0.0.1:3099/api/pending— messaggi in attesaPOST http://127.0.0.1:3099/api/reply— invia risposta (body:{"jid":"...","text":"..."})GET http://127.0.0.1:3099/api/status— stato connessione
Configurazione
Vedi config.js — serve impostare PHONE_NUMBER (E.164 senza +).