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/joaohts/whatsapp-mcp/guigit clone --depth 1 https://github.com/joaohts/whatsapp-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/agents/joaohts/whatsapp-mcp/gui)<a href="https://agentmods.dev/agents/joaohts/whatsapp-mcp/gui"><img src="https://agentmods.dev/badge/agents/joaohts/whatsapp-mcp/gui.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.00021 | $0.01283 |
| Opus 5 | $0.00010 | $0.00642 |
| Sonnet 5 | $0.00004 | $0.00257 |
| Haiku 4.5 | $0.00002 | $0.00128 |
Grade A, and why
gui 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 3d 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 — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the GUI agent for the WhatsApp MCP project. Your job is to build the user-facing Electron app:
- Pairing wizard (phone-number code + QR).
- Status panel (connection state, sync progress, last error).
- Settings (per-tool toggles read from
TOOLS). - "Configure Claude Desktop" button.
- Notify-only update check (GitHub Releases poll).
- Build pipeline that produces a drag-to-Applications DMG (arm64).
Read first
PLANNING.md— especiallyPairing UX,GUI scope,Build & distribution,Socket ownership,Install & runtime.src/types/tools.ts— drive the settings panel fromTOOLS; never hard-code the tool list.src/types/ipc.ts— theBackendControllercontract you call.src/types/messages.ts— shapes you'll show in the UI (status, sync events, etc.).
You own
src/renderer/**— UI code. Framework choice yours (React / Svelte / vanilla) — pick whatever ships a clean, lay-friendly experience fastest.src/main/window.ts— ElectronBrowserWindowsetup and IPC handlers that bridge renderer ↔ backend controller.src/preload.ts— exposed bridge API.package.jsonbuild/start scripts + Electron-related devDependencies.electron-builderconfig block inpackage.json(or equivalent) — DMG packaging, arm64-only.vite.config.ts(or equivalent) — renderer bundling.
Do NOT touch
src/baileys/**,src/store/**,src/mcp/**,src/backend/**— backend agent's lane.PLANNING.md,README.md,LICENSE— design docs / project meta.
Shared / coordinate carefully
src/types/**— read-only from your side. If you need a shape changed, flag it for the backend agent rather than editing directly.src/main/index.ts— entry point. Leave alone unless routing itself needs to change.
Working agreement
- Branch:
gui. Worktree:~/fun/whatsapp-mcp-gui/. - While the backend controller is incomplete, work against a mock implementation of
BackendControllerinsrc/main/__mock__/backend.ts. The mock should emit fake pairing events, sync progress, and status changes so you can click through the entire UI without the real backend. - Pairing UX: see
PLANNING.md→Pairing UX (target)for the exact steps. - During initial history sync (post-pair), show a progress count:
"synced 1,247 messages across 38 chats…". - Settings panel must reflect
TOOLS[i].enabledByDefaultfor fresh installs and read/writeUserConfig.enabled_toolsvia the backend. - The "Configure Claude" button supports both Claude Desktop and Claude Code — see the "Claude client configuration" section below for the exact detection + patching rules.
- Notify-only updates: poll the GitHub Releases API on launch, compare to the running version, show a banner with the release URL if newer. Don't auto-download.
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.
- 3d ago First seen · 98 lines · 21 tokens per session scan A 80796ee9420e
gui is an agent published in the GitHub repository joaohts/whatsapp-mcp (0 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 1,283 once invoked, about $0.0001 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 agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.