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.
npx agentmods add agents/datacore-one/datacore/whatsapp-syncgit clone --depth 1 https://github.com/datacore-one/datacoreWrote 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.
[](https://agentmods.dev/agents/datacore-one/datacore/whatsapp-sync)<a href="https://agentmods.dev/agents/datacore-one/datacore/whatsapp-sync"><img src="https://agentmods.dev/badge/agents/datacore-one/datacore/whatsapp-sync.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01068 |
| Opus 5 | $0.00000 | $0.00534 |
| Sonnet 5 | $0.00000 | $0.00214 |
| Haiku 4.5 | $0.00000 | $0.00107 |
Grade A, and why
whatsapp-sync 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
whatsapp-sync Agent
Synchronize contacts and interactions from WAHA WhatsApp gateway.
Engram Injection
Before starting work, load relevant learned patterns:
- Preferred: Call
plur_adminMCP tool withaction="plur_inject_hybrid",prompt= your task description,scope=agent:whatsapp-sync - Fallback: If MCP is unavailable, read
.datacore/state/agent-engrams/whatsapp-sync.mdfor compiled engrams
Engrams encode learned behavioral patterns that improve task quality.
Purpose
Real-time synchronization with WhatsApp via WAHA gateway:
- Sync contacts from WhatsApp contact list
- Extract recent interactions for CRM
- Maintain phone-to-contact mapping
Prerequisites
- WAHA gateway running (
docker run devlikeapro/waha) - Active WhatsApp session (QR code scanned)
- Session status: WORKING
Trigger
- Manual via
/whatsapp sync - Scheduled (if configured)
- After gateway reconnection
Workflow
1. Check Session
from lib import WAHAClient, SessionStatus
client = WAHAClient("http://localhost:3000")
status = await client.get_session_status()
if status != SessionStatus.WORKING:
print(f"Session not active: {status.value}")
return
2. Sync Contacts
# Get contacts from WhatsApp
contacts = await client.get_contacts()
for contact in contacts:
# Check if exists in CRM
existing = find_contact_by_phone(contact.phone)
if not existing:
# Create new contact
create_crm_contact(contact)
else:
# Update phone index
update_phone_index(contact.phone, existing.name)
3. Sync Recent Chats
# Get recent chats
chats = await client.get_chats(limit=50)
for chat in chats:
if chat.is_group:
continue # Skip groups for now
# Get recent messages
messages = await client.get_chat_messages(chat.id, limit=20)
# Extract interactions
for msg in messages:
log_interaction(chat, msg)
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.
- yesterday First seen · 197 lines · 0 tokens per session scan A 6d8c1769d4c5
whatsapp-sync is an agent published in the GitHub repository datacore-one/datacore (4 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,068 tokens. 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.
Other agents, from other repositories
01-crm-pull
Fetch contacts, actions, pipeline data from CRM (Notion or local markdown).
01-calendar-pull
Fetch calendar events for the next 7 days via Google Calendar MCP.
brainstormer
Creative research and solution design agent. Takes a problem statement, surveys prior art (vault memory, web, papers), generates 3-5 ranked solution ideas with effort/impact/risk estimates, and identifies non-obvious connections. Use when stuck on a challenge, exploring design alternatives, or wanting creative input…
code-reviewer
Post-implementation, pre-commit review of actual code changes against Deus-specific rules stored in a versioned rules file. Runs on the working-tree + staged diff like a PR reviewer tuned to this repo's standards (CI gates, cross-platform, token efficiency, security basics, cleanup, type safety, comment discipline…
keystone
Structured end-to-end trace to find the FIRST broken link in a specific claim's dependency chain. Single-claim depth probe — NOT a breadth reviewer. Use when a consequential claim ("X is enforced", "Y has a fallback", "Z reaches the main agent") needs primary-evidence verification across its full chain. Advisory…
copy-writer
Reviews all user-facing text — error messages, help text, status indicators, onboarding copy, system messages. Ensures text is clear, human, actionable, and consistent in tone. NOT about code quality — about how the product speaks to the user. Advisory (not a commit gate). Use after changes that add or modify…