Whatsapp assistant

From spamsch/son-of-simon · View interactive version

Whatsapp assistant is an AI agent skill from the GitHub repository spamsch/son-of-simon. Read, search, and send WhatsApp messages using whatsapp-cli.

How to use this skill

Skill file

Behavior Notes

CRITICAL: Every command MUST use `-store ~/.macbot/whatsapp`

The -store flag is MANDATORY on every whatsapp-cli invocation and MUST come immediately after whatsapp-cli, before any subcommand. Without it the CLI uses a different default location and will find no session, no contacts, and no messages.

Copy-paste these exact templates — do NOT remove or reorder -store ~/.macbot/whatsapp:

# Sync (MUST use timeout — sync never exits on its own)
timeout 10 whatsapp-cli -store ~/.macbot/whatsapp sync

# List chats
whatsapp-cli -store ~/.macbot/whatsapp chats list

# List chats filtered
whatsapp-cli -store ~/.macbot/whatsapp chats list --query "NAME"

# List messages from a chat
whatsapp-cli -store ~/.macbot/whatsapp messages list --chat JID --limit 30

# List recent messages across all chats
whatsapp-cli -store ~/.macbot/whatsapp messages list --limit 20

# Search messages
whatsapp-cli -store ~/.macbot/whatsapp messages search --query "TERM"

# Search contacts
whatsapp-cli -store ~/.macbot/whatsapp contacts search --query "NAME"

# Send message
whatsapp-cli -store ~/.macbot/whatsapp send --to JID --message "TEXT"

# Auth (first-time setup)
whatsapp-cli -store ~/.macbot/whatsapp auth

Tool

All commands use run_shell_command to invoke whatsapp-cli.

Authentication

Syncing Messages

Be Proactive

Listing Chats

Reading Messages

Searching Messages

Sending Messages

JID Format

Common Request Patterns

Output Format

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.