whatsapp

whatsapp is a command for Claude Code from datacore-one/datacore. It costs 6 tokens per session (961 once invoked), scanned A, original, MIT.

A command-line integration for importing WhatsApp chat exports, syncing contacts, managing a message gateway, sending messages, and viewing statistics.

In plain words
What is it for?
It helps import text chat files, create contacts, sync contacts through a WhatsApp gateway, send messages, and inspect export statistics.
Why use it?
It removes the need to handle exported chats and contact updates manually across separate steps.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit It helps import text chat files, create contacts, sync contacts through a WhatsApp gateway, send messages, and inspect export statistics.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/datacore-one/datacore/whatsapp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/datacore-one/datacore

Made for: Claude Code.

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/commands/datacore-one/datacore/whatsapp/github.svg)](https://agentmods.dev/commands/datacore-one/datacore/whatsapp)
Your own site
<a href="https://agentmods.dev/commands/datacore-one/datacore/whatsapp"><img src="https://agentmods.dev/badge/commands/datacore-one/datacore/whatsapp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for whatsapp

Your own site · 80×15
<a href="https://agentmods.dev/commands/datacore-one/datacore/whatsapp"><img src="https://agentmods.dev/badge/commands/datacore-one/datacore/whatsapp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 961 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00006 $0.00961
Opus 5.5 $0.00002 $0.00384
Sonnet 5.5 $0.00001 $0.00192
Haiku 4.5 $0.00001 $0.00096

Measured 24d ago against content hash 30c4b8c673a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 24d 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.

.datacore/modules/whatsapp/commands/whatsapp.md · 156 lines

How it starts

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

/whatsapp

WhatsApp integration menu for Datacore.

Usage

/whatsapp [subcommand]

Subcommands

Import

Process .txt chat exports from WhatsApp.

/whatsapp import [--preview] [--space SPACE]

Options:

  • --preview - Show what would be imported without creating files
  • --space - Target space (default: 0-personal)

Workflow:

  1. Export chats from WhatsApp mobile app
  2. Place .txt files in .datacore/state/whatsapp/exports/
  3. Run /whatsapp import
  4. Review created contacts in contacts/people/

Sync

Sync contacts from WAHA gateway (requires active session).

/whatsapp sync

Gateway

Manage WhatsApp message gateway.

/whatsapp gateway [start|stop|status]

Commands:

  • start - Start message listener
  • stop - Stop message listener
  • status - Show gateway status

Send

Send message to a contact.

/whatsapp send "<contact_name>" "<message>"

Example:

/whatsapp send "Ahmed Bin Sulayem" "Following up on our Davos conversation..."

Stats

Show WhatsApp export statistics.

/whatsapp stats

When run without subcommand, shows interactive menu:

  1. Import exports - Process .txt chat exports
  2. Sync contacts - Sync from WAHA gateway
  3. Start gateway - Start message listener
  4. Stop gateway - Stop message listener
  5. Send message - Send to contact
  6. Status - Show gateway and session status

Examples

# Preview what would be imported
/whatsapp import --preview

# Import to specific space
/whatsapp import --space 1-teamspace

# Check gateway status
/whatsapp gateway status

# Send follow-up message
/whatsapp send "Brett Krause" "Great meeting at Davos! Would love to connect about the gaming fund..."

Workflow

When user runs /whatsapp:

  1. Without subcommand: Show numbered menu and ask what they'd like to do
  2. With subcommand: Execute that action directly

For import operations:

  1. Check if exports exist in .datacore/state/whatsapp/exports/
  2. Parse exports using WhatsAppExportParser
  3. Create contacts using WhatsAppContactCreator
  4. Report created/matched/skipped counts

Read the full file on GitHub · 156 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. 24d ago Changed · +15 lines 30c4b8c673a9
  2. 3mo ago First seen · 141 lines · 6 tokens per session scan A 4cdfcb327d42

Subscribe to this mod's changes

whatsapp is a command published in the GitHub repository datacore-one/datacore (5 stars, last pushed yesterday), licensed MIT. It adds 6 tokens to every session and 961 once invoked, about $0.0000 per session on Opus 5.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-09-03.

Related

whatsapp compared with commands from other repositories

whatsapp next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
whatsappdatacore-one/datacoreCommand5yesterdayMITA6Claude Code
openlinxule/memex-pluginCommand73d agoMITA11Claude Code
telegram-secretaryBizuayeu/Plugins-WeaveCommand102d agononeA39Claude Code
voice-refreshassafkip/kipi-systemCommand137todayMITA59Claude Code
takeoffXBlueSky/cortexesCommand262d agoApache-2.0A20Claude Code
installyempik-ai/cowork-osCommand551mo agoMITA41Claude Code
who-is-speakingtboome33/obsidian-mcp-routerCommand1yesterdayApache-2.0A87Claude Code