agent-channeltalk
Interact with Channel Talk using extracted desktop app or browser credentials - read chats, send messages, search messages,…
Interact with WhatsApp using Cloud API credentials - send messages, manage templates
Claude Code
$ npx -y skills add agent-messenger/agent-messenger --skill agent-whatsappbot --agent claude-code
Codex
$ npx skills add agent-messenger/agent-messenger --skill agent-whatsappbot -a codex -y
Cursor
$ npx skills add agent-messenger/agent-messenger --skill agent-whatsappbot -a cursor -y
Gemini CLI
$ npx skills add agent-messenger/agent-messenger --skill agent-whatsappbot -a gemini-cli -y
GitHub Copilot
$ npx skills add agent-messenger/agent-messenger --skill agent-whatsappbot -a github-copilot -y
OpenCode
$ npx skills add agent-messenger/agent-messenger --skill agent-whatsappbot -a opencode -y
Windsurf
$ npx skills add agent-messenger/agent-messenger --skill agent-whatsappbot -a windsurf -y
name: agent-whatsappbot
description: Interact with WhatsApp using Cloud API credentials - send messages, manage templates
version: 2.43.0
allowed-tools: Bash(agent-whatsappbot:*)
metadata:
openclaw:
requires:
bins:
- agent-whatsappbot
install:
- kind: node
package: agent-messenger
bins: [agent-whatsappbot]A TypeScript CLI tool that enables AI agents and humans to send messages through WhatsApp Business Cloud API. Designed for customer notifications, transactional messaging, and CI/CD integrations using Phone Number ID + Access Token authentication.
Before diving in, a few things about WhatsApp Business Cloud API:
# Set your API credentials agent-whatsappbot auth set your-phone-number-id your-access-token # Verify authentication agent-whatsappbot auth status # Send a text message (recipient must have messaged you within 24h) agent-whatsappbot message send 15551234567 "Hello from the CLI!" # List available message templates agent-whatsappbot template list --pretty
agent-whatsappbot uses Phone Number ID + Access Token pairs from Meta Business Manager:
# Set credentials (validates against WhatsApp Cloud API before saving) agent-whatsappbot auth set your-phone-number-id your-access-token # Check auth status agent-whatsappbot auth status # Clear stored credentials agent-whatsappbot auth clear
# List stored accounts agent-whatsappbot auth list # Switch active account agent-whatsappbot auth use <account-id> # Remove a stored account agent-whatsappbot auth remove <account-id>
The agent maintains a `~/.config/agent-messenger/MEMORY.md` file as persistent memory across sessions. This is agent-managed, the CLI does not read or write this file. Use the `Read` and `Write` tools to manage your memory file.
At the **start of every task**, read `~/.config/agent-messenger/MEMORY.md` using the `Read` tool to load any previously discovered account IDs, template names, recipient numbers, and preferences.
After discovering useful information, update `~/.config/agent-messenger/MEMORY.md` using the `Write` tool. Write triggers include:
When writing, include the **complete file content**. The `Write` tool overwrites the entire file.
Never store access tokens or any credentials. Never store full message content (just context). Never store personal user data.
If a memorized template returns an error (template not found, account invalid), remove it from `MEMORY.md`. Don't blindly trust memorized data. Verify when something seems off. Prefer re-listing over using a memorized value that might be stale.
# Agent Messenger Memory ## WhatsApp Accounts - `112233445566` - Acme Notifications (Phone: +1 555 012 3456) ## Templates (Acme Notifications) - `order_confirmation` - language: en_US, params: [customer_name, order_id] - `shipping_update` - language: en_US, params: [customer_name, tracking_number] - `appointment_reminder` - language: en_US, params: [customer_name, date, time] ## Frequent Recipients - `15559876543` - Support escalation line - `15551112222` - QA test number ## Aliases - "notifications" -> `112233445566` (Acme Notifications) ## Notes - order_confirmation template requires customer_name and order_id as components - Business verified at Tier 2 (80 MPS limit)
> Memory lets you skip repeated `template list` calls. When you already know a template name from a previous session, use it directly.
# Set account credentials (validates against API) agent-whatsappbot auth set <phone-number-id> <access-token> # Check auth status agent-whatsappbot auth status agent-whatsappbot auth status --account <account-id> # List stored accounts agent-whatsappbot auth list # Switch active account agent-whatsappbot auth use <account-id> # Remove a stored account agent-whatsappbot auth remove <account-id> # Clear all credentials agent-whatsappbot auth clear
# Show current authenticated bot agent-whatsappbot whoami agent-wh
Your agent messages as you — not as a bot One CLI for Slack, Discord, Teams, Webex, Telegram, WhatsApp, LINE, WeChat, iMessage, Instagram, KakaoTalk, and Channel Talk.
Interact with Channel Talk using extracted desktop app or browser credentials - read chats, send messages, search messages,…
Interact with Channel Talk workspaces using API credentials - send messages, read chats, manage groups and bots
Interact with Discord servers - send messages, read channels, manage reactions
Interact with Discord servers using bot tokens - send messages, read channels, manage reactions
Interact with iMessage on a Mac via the imsg tool - send messages, read chats, watch for new messages
Interact with Instagram DMs - send messages, read conversations, manage accounts
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…