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 instructions/kingdonrush/whatsapp-web-mcp/agents-mdgit clone --depth 1 https://github.com/KingDonRush/whatsapp-web-mcpWrote 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/instructions/kingdonrush/whatsapp-web-mcp/agents-md)<a href="https://agentmods.dev/instructions/kingdonrush/whatsapp-web-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/kingdonrush/whatsapp-web-mcp/agents-md.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.1 | $0.00534 | $0.00534 |
| Opus 5 | $0.00267 | $0.00267 |
| Sonnet 5 | $0.00107 | $0.00107 |
| Haiku 4.5 | $0.00053 | $0.00053 |
Grade A, and why
whatsapp-web-mcp AGENTS.md 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WhatsApp Web MCP Agent Instructions
Public API
Use somente:
whatsapp_statuswhatsapp_list_chatswhatsapp_get_messageswhatsapp_get_mediawhatsapp_export_chatwhatsapp_transcribe_filewhatsapp_prepare_actionwhatsapp_confirm_actionwhatsapp_action_status
Todas as chamadas recebem um objeto request.
Domain Contract
- Ask for chats, messages, media, exports, transcriptions or actions as domain data. Do not manage browser sessions, selectors, scroll pages or UI state.
- Never use an external Playwright/browser/computer-use tool to compensate for
an MCP read failure. Return the short domain error and
diagnostics_id. - Do not expose DOM, composer, persisted position, browser profile, Playwright or recovery mechanics to the user.
- Use
whatsapp_statusfirst when authentication state is unknown. - Use
whatsapp_list_chatsto resolve ambiguity, then preferchat_id. - For recent messages, trust
latest_boundary_verified; pagination uses only the opaquenext_cursor. - Reads never send, clear or replace user drafts.
- Default operation mode is headless. Set
observe=trueonly for the current operation when the user asks to watch it. - Use
whatsapp_get_mediawith the exactchat_idandmessage_id. Never guess media associations. - Use WhisperX only. Videos are converted to audio before transcription.
- Treat browser profiles, QR artifacts, exports, media and action files as sensitive.
Sending
- Sending requires an explicit user order.
- Call
whatsapp_prepare_actionand show its preview. - Do not call
whatsapp_confirm_actionuntil the user literally confirmsCONFIRMO ENVIAR <action_id>. - Pass
user_confirmed=trueonly after that confirmation. - Never infer confirmation from approval of a draft, file, plan or recipient.
- Never retry a send automatically when its outcome is ambiguous.
- Text and documents, including ZIP files, are currently verified.
- Other media, reply and forwarding remain blocked until their own confirmed WhatsApp Web smoke passes.
- A successful action is consumed atomically and must not be replayed.
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.
- 5d ago First seen · 60 lines · 534 tokens per session scan A 87b88cc683df
whatsapp-web-mcp AGENTS.md is an instructions file published in the GitHub repository KingDonRush/whatsapp-web-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 534 tokens to every session, about $0.0027 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.
Other instructions, from other repositories
playwright CLAUDE.md
Claude Code instructions for microsoft/playwright, covering monorepo packages, browser packages, tooling packages, key directories and build.
dev-browser AGENTS.md
AGENTS.md instructions for SawyerHood/dev-browser, covering repository guide, tooling and validation.
dembrandt CLAUDE.md
Claude Code instructions for dembrandt/dembrandt, covering claude.md, system instruction, development commands, running the tool and testing.
Cobalt CLAUDE.md
Instructions for Auties00/Cobalt, covering cobalt, build, maven modules, architecture and client hierarchy.
playwright-rust CLAUDE.md
Claude Code instructions for padamson/playwright-rust, covering claude.md, project, repository layout, skills (procedural reference) and documentation hierarchy.
sveltest AGENTS.md
AGENTS.md instructions for spences10/sveltest, covering agents.md, unbreakable rules, essential commands, development and testing.