Skip to content
Agentmart
Submit a tool

whatsapp

Personal WhatsApp assistant powered by Baileys.

Skill by dexter

IndexedApache-2.0★ 1
Write a review

Chalk Labs

Need help deploying whatsapp?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/emiliougarte65-whatsapp

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Personal WhatsApp assistant powered by Baileys. QR or phone-number pairing, AI responses via Claude CLI subprocess, stranger persona protection, persistent per-group config, Engram memory integration. Cross-platform: Windows, Linux, macOS. Trigger: "whatsapp", "send whatsapp", "mensaje whatsapp", "wp", "wpp", "mandar mensaje".

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/whatsapp

Tools it pre-approves 1

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash

What's inside

Skill name
whatsapp
Description
Personal WhatsApp assistant powered by Baileys. QR or phone-number pairing, AI responses via Claude CLI subprocess, stranger persona protection, persistent per-group config, Engram memory integration. Cross-platform: Windows, Linux, macOS. Trigger: "whatsapp", "send whatsapp", "mensaje whatsapp", "wp", "wpp", "mandar mensaje".
License
Apache-2.0
Allowed tools
Bash
Metadata
author: dexter · source: dexter · audited: true · version: 3.0
Instructions
291 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Pre-approves any shell command
  • Instructions call the network
  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Files (7)

  • SKILL.md
  • SKILL.md · persona/
  • send.py · scripts/
  • package-lock.json · server/
  • package.json · server/
  • server.js · server/
  • start.sh · server/

SKILL.md (first lines)

# WhatsApp

Personal WhatsApp assistant that connects to your own number via Baileys (multi-device). Responds to messages using the full Claude CLI — no separate API key needed. Protects your number from strangers, manages groups via commands, and remembers context across restarts via Engram.

---

## Setup

### 1. Install dependencies

```bash
cd skills/communications/whatsapp/server
npm install
```

### 2. Configure persona

Create `~/.dexter/whatsapp-persona.json`:

```json
{
  "name": "Your Name",
  "about": "Freelance developer, React and Node.js specialist.",
  "tone": "casual and friendly",
  "language": "es",
  "allowFrom": ["+521XXXXXXXXXX"],
  "stranger_reply": "Hey, I can't chat right now. I'll get back to you soon 👋",
  "llm": { "provider": "anthropic", "model": "claude-haiku-4-5-20251001" }
}
```

| Field | Description |
|-------|-------------|
| `allowFrom` | Your phone number(s) — get full AI responses. International format with `+`. |
| `stranger_reply` | Fixed reply for unknown numbers. If omitted, strangers get an LLM response via `callLLM`. |
| `wake_word` | Word required to trigger Dexter (default: `"dexter"`). Set to `null` to disable. |
| `allowedGroups` | Group JIDs where Dexter responds. Managed via `dexter join` / `dexter leave` commands. |
| `groups` | Per-group config: personality, standing instructions, allowed members. Managed via commands. |
| `llm.provider` | LLM for stranger responses: `"anthropic"`, `"openai"`, or `"ollama"`. |

### 3. Start the server

#### QR pairing (simplest)

```bash
node skills/communications/whatsapp/server/server.js --qr
```

A QR code is printed in the terminal. Scan with WhatsApp → ⋮ → Linked devices → Link a device.

#### Phone number pairing (headless)

```bash
WA_PHONE=+521XXXXXXXXXX node skills/communications/whatsapp/server/server.js
```

A pairing code is shown. In WhatsApp → ⋮ → Linked devices → Link with phone number → enter the code.

Credentials are saved in `~/.dexter/whatsapp/` — subsequent starts reconnect automatically without scanning.

#### Keep it alive with pm2 (recommended)

```bash
npm install -g pm2
WA_PHONE=+521XXXXXXXXXX pm2 start skills/communications/whatsapp/server/server.js --name dexter-wa
pm2 save       # persist across reboots
pm2 startup    # auto-start on system boot
```

```bash
pm2 status            # check if running
pm2 logs dexter-wa    # tail logs
pm2 restart dexter-wa
pm2 stop dexter-wa
```

---

## How it works

### Access tiers

| Sender | Behavior |
|--------|----------|
| Numbers in `allowFrom` | Full Dexter AI response — spawns `claude -p` with complete tool access |
| Self-chat (own number) | Same as above — write to yourself, Dexter responds |
| Unknown numbers | Ignored unless they say the wake word — then `stranger_reply` or LLM persona |
| Groups (not enabled) | Fully ignored |
| Groups (enabled) — owner | Full unrestricted Dexter response, complete tool access, owner instructions applied |
| Groups (enabled) — allowed member | Same as owner in that group (granted via `dexter allow`) |
| Groups (enabled) — non-owner | Restricted: general knowledge only, no machine/filesystem/code access |

### Phone number matching

Numbers are matched by **last 10 digits** — country code variants are handled automatically. Mexico's `+5283...` and WhatsApp's internal `+52183...` both match the same entry. Use whatever format is printed on your SIM.

### Self-chat

Writing to your own number is the primary interaction mode. Messages sent to yourself (`fromMe: true`) are processed normally — Dexter responds in that same conversation.

### AI responses (owner)

When the owner messages, Dexter spawns `claude -p "message"` from the Dexter project root. Claude has full access to `DEXTER.md`, `CLAUDE.md`, Engram memory, and all skills.

To use a different CLI:
```bash
DEXTER_AGENT=opencode node server.js
```

---

## Memory — Engram integration

If `engram` is installed and available in PATH, Dexter uses it for persistent cross-session memory. If not, it falls back to in-process RAM history (lost on restart).

### How it works

Instead of manually tracking conversation history, Claude receives a system prompt that instructs it to use Engram tools directly:

From EmilioUgarte65/Dexter, Apache-2.0.

More from EmilioUgarte65/Dexter

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Mar 29, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
3.0
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from dexter

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get whatsapp running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying whatsapp?

CallGet help
Cite this page

whatsapp skill. Agent Mart. https://agentmart.dev/skills/emiliougarte65-whatsapp (last updated 2026-10-24)