10-whatsapp-owner

10-whatsapp-owner is a cursor rule for Cursor from Haroon966/pinky-cursor. It costs 301 tokens per session, scanned A, original, MIT.

A terminal setup that lets a linked WhatsApp owner send requests to a Cursor command-line agent and receive replies on WhatsApp. It uses a local watcher script while the computer stays on.

In plain words
What is it for?
Running an agent through WhatsApp, checking its connection status, and diagnosing missing replies from the linked account.
Why use it?
It lets you use the agent from a phone without opening the coding editor. It also provides checks for common connection and reply problems.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash .pinky/whatsapp/watch.sh.

Good fit Running an agent through WhatsApp, checking its connection status, and diagnosing missing replies from the linked account.

Compare 6 cursor rules 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/Haroon966/pinky-cursor
agentmods
npx agentmods add rules/haroon966/pinky-cursor/10-whatsapp-owner

Made for: Cursor.

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 10-whatsapp-owner

README.md
[![agentmods](https://agentmods.dev/badge/rules/haroon966/pinky-cursor/10-whatsapp-owner/github.svg)](https://agentmods.dev/rules/haroon966/pinky-cursor/10-whatsapp-owner)
Your own site
<a href="https://agentmods.dev/rules/haroon966/pinky-cursor/10-whatsapp-owner"><img src="https://agentmods.dev/badge/rules/haroon966/pinky-cursor/10-whatsapp-owner/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 10-whatsapp-owner

Your own site · 80×15
<a href="https://agentmods.dev/rules/haroon966/pinky-cursor/10-whatsapp-owner"><img src="https://agentmods.dev/badge/rules/haroon966/pinky-cursor/10-whatsapp-owner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 301 This file is loaded in full into every session.
When invoked 301 The same file — it is already loaded in full.
Security scan A 0 findings. 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.00301 $0.00301
Opus 5 $0.00151 $0.00151
Sonnet 5 $0.00060 $0.00060
Haiku 4.5 $0.00030 $0.00030

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

Security

Grade A, and why

10-whatsapp-owner 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 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.

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.

adapters/cursor/rules/10-whatsapp-owner.mdc · 35 lines

What it actually says

WhatsApp owner (ALWAYS ON when .pinky/whatsapp/owner.json exists)

Product path (phone without Cursor UI)

User keeps this running in their terminal:

export PATH="$HOME/.local/bin:$PATH"
bash .pinky/whatsapp/watch.sh

Flow: owner WhatsApp → Cursor CLI agent → reply on WhatsApp. PC stays on. IDE chat optional.

Doctor: bash .pinky/whatsapp/doctor.sh

Agent hard rules

  • Never run login.sh / watch.sh / QR yourself — only give the command (QR must appear in user terminal).
  • Never enable Cursor MCP whatsapp while watch.sh uses the same .pinky/whatsapp auth (causes 440 disconnect).
  • Ask/set owner number in owner.json if missing.
  • Owner must text the linked (QR) WhatsApp account.

If user asks why no reply

  1. Is watch.sh running?
  2. doctor.sh clean?
  3. MCP whatsapp disabled?
  4. Correct chat (linked account)?
  5. Wait for AGENT_DONE / AGENT_REPLIED in watch terminal (can take ~1–2 min).
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 · 35 lines · 301 tokens per session scan A 9a3b3451a5a4

Subscribe to this mod's changes

10-whatsapp-owner is a cursor rule published in the GitHub repository Haroon966/pinky-cursor (4 stars, last pushed 1mo ago), licensed MIT. It adds 301 tokens to every session, about $0.0015 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.