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 skills add ashish7802/awesome-api-skills --skill whatsapp-cloud-apigit clone --depth 1 https://github.com/ashish7802/awesome-api-skillsWrote 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/skills/ashish7802/awesome-api-skills/whatsapp-cloud-api)<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/whatsapp-cloud-api"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/whatsapp-cloud-api/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.
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/whatsapp-cloud-api"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/whatsapp-cloud-api.svg" alt="Reviewed on agentmods" width="80" 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.00000 | $0.00841 |
| Opus 5.5 | $0.00000 | $0.00336 |
| Sonnet 5.5 | $0.00000 | $0.00168 |
| Haiku 4.5 | $0.00000 | $0.00084 |
Grade A, and why
whatsapp-cloud-api 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 11d 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 — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WhatsApp Business Cloud API Skill
Verification Tier:
code_example_tested| Last Verified: 2026-11-18
Official Docs: https://developers.facebook.com/docs/whatsapp/cloud-api
Overview
The WhatsApp Cloud API (hosted by Meta Graph API at https://graph.facebook.com/v22.0/<PHONE_NUMBER_ID>/messages) lets applications send template and interactive messages and receive real-time customer messages and delivery receipts via webhooks.
Authentication
Use a permanent System User Access Token (WHATSAPP_ACCESS_TOKEN) from Meta Business Manager sent as Authorization: Bearer <token>. Never use temporary 24-hour developer tokens in production.
import crypto from 'node:crypto';
export function verifyWhatsAppSignature(rawBody: Buffer, sigHeader: string, appSecret: string): boolean {
const expected = `sha256=${crypto.createHmac('sha256', appSecret).update(rawBody).digest('hex')}`;
const a = Buffer.from(sigHeader, 'utf8');
const b = Buffer.from(expected, 'utf8');
return a.length === b.length && crypto.timingSafeEqual(a, b);
}
Core Concepts
- 24-Hour Customer Service Window: Free-form text/media messages can ONLY be sent within 24 hours of the user's last inbound message. Outside that window, you MUST send a pre-approved Message Template.
- GET Webhook Handshake: Meta validates your callback URL by sending
GET ?hub.mode=subscribe&hub.verify_token=<token>&hub.challenge=<challenge>. Comparehub.verify_tokenwithWHATSAPP_VERIFY_TOKENand return the rawhub.challengestring with HTTP200. - POST Webhook Signature: Every webhook POST includes
X-Hub-Signature-256: sha256=<hex>signed with your Meta App Secret (WHATSAPP_APP_SECRET) over the exact raw request bytes. Always verify withcrypto.timingSafeEqual.
Error Handling & Rate Limits
- Return HTTP
200 OKquickly to Meta webhooks (even for status updates likedelivered/read) and process heavy work asynchronously via a queue. - Deduplicate inbound messages using
message.id(wamid...) because Meta may redeliver webhooks. - Monitor messaging tier limits and Graph API error codes (
131047re-engagement message required,130429rate limit hit).
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 56 lines · 0 tokens per session scan A f9f40e1b7fcf
whatsapp-cloud-api is a skill published in the GitHub repository ashish7802/awesome-api-skills (13 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 841 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-11-19.
whatsapp-cloud-api compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| whatsapp-cloud-apiashish7802/awesome-api-skills | Skill | 13 | 11d ago | MIT | A | 0 | Claude Code, Codex |
| api-testing-patternsproffesor-for-testing/agentic-qe | Skill | 537 | yesterday | MIT | A | 34 | Claude Code |
| contract-testingproffesor-for-testing/agentic-qe | Skill | 537 | yesterday | MIT | A | 35 | Claude Code |
| iii-observeiii-hq/iii | Skill | 19k | today | none | A | 113 | Claude Code, Codex |
| iii-sdk-referenceiii-hq/iii | Skill | 19k | today | none | A | 57 | Claude Code, Codex |
| presentationiii-hq/iii | Skill | 19k | today | none | A | 51 | Claude Code, Codex |
| iii-core-primitivesiii-hq/iii | Skill | 19k | today | none | A | 56 | Claude Code, Codex |