Command Palette

Search for a command to run...

Назад к скиллам
скилл № 94889

whatsapp

Personal WhatsApp as a linked device (Baileys) — link by QR, mirror chats/contacts/messages into Postgres, read and search them, list group members, and send…

БесплатноЗапускает вложенные скрипты
hyper-code-harnessот hyper-code-harness★ 22 звезды на GitHub

Установить whatsapp в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

WhatsApp

The plugin connects to the user's WhatsApp account as a linked device (like WhatsApp Web) using Baileys. The session (multi-file auth state) lives in ~/.hyper/whatsapp/auth; it is never returned by functions. Everything WhatsApp shares with the device (history sync on first link, then live events) is mirrored into the Postgres schema whatsapp (chats, contacts, messages).

Linking

  1. whatsapp.status({}) — status: "open" means linked; "qr"/"loggedOut" means linking is needed.
  2. whatsapp.login({}) → { qrPath, qrUrl }. Show the image to the person, e.g. <img src="{qrUrl}"> in respondHtml. They scan it in WhatsApp → Settings → Linked devices → Link a device.
  3. QR rotates every ~20 s; call login({}) again for a fresh one. Poll status({ waitMs }) until open.
  4. The plugin pairs using the standard Web profile and accepts supported history batches. WhatsApp decides which chats and messages it delivers. Reconnecting an existing session can receive future sync events; it does not force WhatsApp to resend the initial history.

Read

  • whatsapp.chats({ query?, groups?, limit? }) — chats/groups, most recent first.
  • whatsapp.messages({ chat, limit?, query? }) — one chat, oldest→newest; chat = JID, phone or name fragment.
  • whatsapp.search({ query, limit? }) — text search across all chats.
  • whatsapp.participants({ chat }) — live group members with admin flags.

Requesting older personal messages

whatsapp.requestPersonalHistory({ chat, limit? }) asks the linked phone for up to 50 older messages for an exact personal JID returned by chats. It returns requested when the request was submitted; check the mirror later for results. no_anchor means there is no local message to use as a cursor. Contact-only chats cannot be fetched this way. Do not loop or re-pair automatically; neither option guarantees a complete archive.

Guarded writes

All writes require explicit user approval (ask with input.request({ kind: "confirm" })) and confirm: true:

  • whatsapp.send({ chat, text, confirm: true })
  • whatsapp.joinGroup({ inviteLink, confirm: true }) — without confirm returns a preview (subject, size).
  • whatsapp.logout({ confirm: true }) — unlink this device.

whatsapp.client and whatsapp.resolveChat are internal helpers.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • bun.lock
  • package.json
  • src/whatsapp/$migration_20291020120000_whatsapp.ts
  • src/whatsapp/$route_qr_GET.ts
  • src/whatsapp/chats.ts
  • src/whatsapp/client.ts
  • src/whatsapp/joinGroup.ts
  • src/whatsapp/linked.ts
  • src/whatsapp/login.ts
  • src/whatsapp/logout.ts
  • src/whatsapp/messages.ts
  • src/whatsapp/participants.ts
  • src/whatsapp/requestPersonalHistory.test.ts
  • src/whatsapp/requestPersonalHistory.ts
  • src/whatsapp/resolveChat.ts
  • src/whatsapp/search.ts
  • src/whatsapp/send.ts
  • src/whatsapp/status.ts

FAQ

Что делает скилл whatsapp?

Personal WhatsApp as a linked device (Baileys) — link by QR, mirror chats/contacts/messages into Postgres, read and search them, list group members, and send messages or join groups only with confirm: true.

Как установить скилл whatsapp?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл whatsapp запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить whatsapp с