add-whatsapp

add-whatsapp is a skill for Claude Code from sliamh11/Deus. It costs 30 tokens per session (3,274 once invoked), scanned C, original, MIT.

A setup skill that adds WhatsApp as a messaging channel for the Deus agent. It connects through a QR code or pairing code and can run alongside other channels or replace them.

In plain words
What is it for?
Use it to add WhatsApp messaging to Deus and register the channel in the local project.
Why use it?
It removes the need to connect WhatsApp manually or write the channel integration yourself. It also guides authentication and checks whether WhatsApp is already configured.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: names the AskUserQuestion tool.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cd packages/mcp-channel-core && npm install && npm run build && cd ../...

Good fit Use it to add WhatsApp messaging to Deus and register the channel in the local project.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/sliamh11/Deus
agentmods
npx agentmods add skills/sliamh11/deus/add-whatsapp

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 add-whatsapp

README.md
[![agentmods](https://agentmods.dev/badge/skills/sliamh11/deus/add-whatsapp/github.svg)](https://agentmods.dev/skills/sliamh11/deus/add-whatsapp)
Your own site
<a href="https://agentmods.dev/skills/sliamh11/deus/add-whatsapp"><img src="https://agentmods.dev/badge/skills/sliamh11/deus/add-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 add-whatsapp

Your own site · 80×15
<a href="https://agentmods.dev/skills/sliamh11/deus/add-whatsapp"><img src="https://agentmods.dev/badge/skills/sliamh11/deus/add-whatsapp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,274 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00030 $0.03274
Opus 5 $0.00015 $0.01637
Sonnet 5 $0.00006 $0.00655
Haiku 4.5 $0.00003 $0.00327

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

Security

Grade C, and why

add-whatsapp scanned grade C with 1 finding 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 9d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf store/auth/
.claude/skills/add-whatsapp/SKILL.md · 410 lines

How it starts

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

Add WhatsApp Channel

This skill adds WhatsApp support to Deus. It builds the local MCP packages, registers the channel, and guides through authentication.

IMPORTANT: Do NOT add git remotes, fetch from external repos, or install npm packages from the public registry during this skill. All channel code is already in the repo under packages/ and src/channels/.


Phase 1: Pre-flight

Recovery: If something goes wrong in Phase 1, simply re-run the skill from the beginning.

Check current state

Check if WhatsApp is already configured. If store/auth/ exists with credential files, skip to Phase 4 (Registration) or Phase 5 (Verify).

ls store/auth/creds.json 2>/dev/null && echo "WhatsApp auth exists" || echo "No WhatsApp auth"

Detect environment

Check whether the environment is headless (no display server):

[[ -z "$DISPLAY" && -z "$WAYLAND_DISPLAY" && "$OSTYPE" != darwin* ]] && echo "IS_HEADLESS=true" || echo "IS_HEADLESS=false"

Ask the user

Use AskUserQuestion to collect configuration. Adapt auth options based on environment:

If IS_HEADLESS=true AND not WSL → AskUserQuestion: How do you want to authenticate WhatsApp?

  • Pairing code (Recommended) - Enter a numeric code on your phone (no camera needed, requires phone number)
  • QR code in terminal - Displays QR code in the terminal (can be too small on some displays)

Otherwise (macOS, desktop Linux, Windows, or WSL) → AskUserQuestion: How do you want to authenticate WhatsApp?

  • QR code in terminal (Recommended) - Displays QR code in the terminal
  • Pairing code - Enter a numeric code on your phone (no camera needed, requires phone number)

If they chose pairing code:

AskUserQuestion: What is your phone number? (Include country code without +, e.g., 1234567890)


Phase 2: Build Local Packages

Recovery: If the build fails, fix the error and re-run from Phase 2. No need to redo Phase 1.

The WhatsApp channel is a local MCP server in packages/. Build the packages in order (core first, then whatsapp):

Read the full file on GitHub · 410 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. 9d ago First seen · 410 lines · 30 tokens per session scan C c7eccb21cd65

Subscribe to this mod's changes

add-whatsapp is a skill published in the GitHub repository sliamh11/Deus (51 stars, last pushed 3d ago), licensed MIT. It adds 30 tokens to every session and 3,274 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.