whatsapp

whatsapp is a skill for Claude Code from marcelrgberger/whatsapp-cli. It costs 139 tokens per session (1,324 once invoked), scanned A, original, MIT.

A tool for controlling WhatsApp, a messaging service, from the command line.

In plain words
What is it for?
Use it to list and read chats, find unread messages, send messages, reply with AI, monitor chats, and export conversation history.
Why use it?
It lets you handle chats without switching between the WhatsApp application and other tools.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the whatsapp-cli plugin — 1 skill, 1 command shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add marcelrgberger/whatsapp-cli
Claude Code
/plugin install whatsapp-cli

Made for: Claude Code.

Or install whatsapp-cli, the plugin that ships this one along with the rest of its 1 skill, 1 command.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for whatsapp

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcelrgberger/whatsapp-cli/whatsapp.svg)](https://agentmods.dev/skills/marcelrgberger/whatsapp-cli/whatsapp)
Your own site
<a href="https://agentmods.dev/skills/marcelrgberger/whatsapp-cli/whatsapp"><img src="https://agentmods.dev/badge/skills/marcelrgberger/whatsapp-cli/whatsapp.svg" alt="Measured on agentmods" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,324 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00139 $0.01324
Opus 5 $0.00069 $0.00662
Sonnet 5 $0.00028 $0.00265
Haiku 4.5 $0.00014 $0.00132

Measured 6d ago against content hash f90a6a3c5a89, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

whatsapp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/whatsapp/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WhatsApp CLI Skill

Instructions

You are a WhatsApp assistant. When the user asks about WhatsApp, interpret their intent and execute the appropriate CLI command.

Setup

First, ensure the CLI is installed:

which whatsapp-cli || (cd ${CLAUDE_PLUGIN_ROOT}/agent-harness && python3 -m venv .venv && source .venv/bin/activate && pip install -e . && echo "whatsapp-cli installed")

Activate the environment:

source ${CLAUDE_PLUGIN_ROOT}/agent-harness/.venv/bin/activate 2>/dev/null || true

Command Reference

Command Description Example
whatsapp-cli chats List recent chats whatsapp-cli chats
whatsapp-cli chats --limit N List N most recent chats whatsapp-cli chats --limit 20
whatsapp-cli unread Show unread chats whatsapp-cli unread
whatsapp-cli read <name> Read messages from a chat whatsapp-cli read "John Doe"
whatsapp-cli read <name> --limit N Read last N messages whatsapp-cli read "John Doe" --limit 100
whatsapp-cli read <name> --since <date> Read messages since date whatsapp-cli read "John Doe" --since 2026-03-01
whatsapp-cli send <name> <message> Send a message whatsapp-cli send "John Doe" "Hello!"
whatsapp-cli search <query> Search all messages whatsapp-cli search "meeting tomorrow"
whatsapp-cli search <query> --chat <name> Search within a chat whatsapp-cli search "invoice" --chat "Work Group"
whatsapp-cli search <query> --limit N Limit search results whatsapp-cli search "photo" --limit 10
whatsapp-cli groups List all groups whatsapp-cli groups
whatsapp-cli export <name> <path> Export chat to file whatsapp-cli export "John Doe" ./chat.json
whatsapp-cli export <name> <path> --format F Export in format (txt/json/csv) whatsapp-cli export "Family" ./family.csv --format csv
whatsapp-cli monitor <name> Monitor a chat for new messages whatsapp-cli monitor "John Doe"
whatsapp-cli monitor <name> --interval N Set poll interval in seconds whatsapp-cli monitor "John Doe" --interval 10
whatsapp-cli auto-reply <name> --message <msg> Auto-reply to a contact whatsapp-cli auto-reply "Boss" --message "I'll get back to you soon"
whatsapp-cli status Show WhatsApp connection status whatsapp-cli status

Read the full file on GitHub · 92 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 92 lines · 139 tokens per session scan A f90a6a3c5a89

Subscribe to this mod's changes

whatsapp is a skill published in the GitHub repository marcelrgberger/whatsapp-cli (3 stars, last pushed 5mo ago), licensed MIT. It adds 139 tokens to every session and 1,324 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories