find-restaurants-and-send-on-whatsapp
Search Google Maps for restaurants matching a query, capture a configurable number of top result names and URLs, and send them as separate WhatsApp messages…
Skill by prakhar1114
Chalk Labs
Need help deploying find-restaurants-and-send-on-whatsapp?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/prakhar1114-find-restaurants-and-send-on-whatsapp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/find-restaurants-and-send-on-whatsapp
What's inside
- Skill name
find-restaurants-and-send-on-whatsapp- Description
- Search Google Maps for restaurants matching a query, capture a configurable number of top result names and URLs, and send them as separate WhatsApp messages via the native WhatsApp Mac app.
- License
- MIT
- Instructions
- 72 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (9)
- SKILL.md
- inputs.example.json · inputs/
- inputs.mumbai.json · inputs/
- inputs.template.json · inputs/
- fallback_plan.md · references/
- learned_notes.md · references/
- requirements.txt
- run.sh
- run.py · scripts/
SKILL.md (first lines)
# Find Restaurants and Send on WhatsApp
Searches Google Maps for a restaurant query, extracts the top place names and URLs
(default 5), closes the Maps search tab, then sends an intro plus each place as a
separate message to a WhatsApp contact using the native WhatsApp Mac app.
## Inputs
- `search_query` (required, string): The Google Maps search, typically cuisine + area
(e.g. "italian restaurants in indiranagar").
- `contact_name` (required, string): Exact WhatsApp contact name to open and message
(e.g. "Prakhar Jain"). A self-chat appears as "<name> (You)" and matches fine.
- `result_limit` (optional, integer): Number of top unique restaurant results to extract
and send. Defaults to `5`.
## Run
Run via the executable bash wrapper:
```bash
./run.sh [path/to/inputs.json]
```
If no path is given it defaults to `inputs/inputs.example.json`.
**Preconditions:** the user must be logged into whatsapp app and `AI Mime` app needs to be running.
Python runtime contract:
- `run.sh` uses the first available interpreter in this order: skill `.venv/bin/python`,
workflow `.venv/bin/python`, then the required `$AI_MIME_PYTHON_PATH`.
- `scripts/run.py` uses only the Python standard library, so no virtualenv is required.
- The skill shells out to `$AI_MIME_BROWSER_HARNESS_BIN` for Google Maps and
`$AI_MIME_UI_AGENT_CMD` for native WhatsApp.
## How It Works
1. **find_top_restaurants** (`browser_harness`): Opens
`https://www.google.com/maps/search/<urlencoded query>` in a new Chrome tab, waits for
`div[role=feed]`, reads unique result cards (`div.Nv2PK`) using `.qBF1Pd` for the name
and `a.hfpxzc[href]` for the Google Maps URL, then closes the Maps tab.
2. **send_whatsapp_message** (`ui_agent`): Activates native WhatsApp, confirms the target
chat, sends `suggested places to eat, do a thumbsup where we should meet`, then sends
each place as its own single-line message: `<index>. <name> - <url>`. The UI agent uses
clipboard paste and the Return/`enter` key; it verifies the first send and final state
but avoids slow per-message screenshots.
## Outputs
- `restaurant_places` (list[dict]): Top restaurants in display order, each with `name`
and `url`.
- `restaurant_messages` (list[str]): The intro message followed by one message per place.
- `sent_confirmation` (dict): `{ "sent": true, "messages_sent": <count>, "note": "..." }`
from the UI agent.
## Progress Log Format
The script emits JSON log events on `stderr`:
- `{"event": "step_start", "id": "find_top_restaurants", "title": "..."}`
- `{"event": "step_done", "id": "find_top_restaurants", "outputs": {...}, "summary": "..."}`
- `{"event": "step_failed", "id": "...", "error": "...", "recoverable": false}`
- `{"event": "workflow_done", "outputs": {...}}`
The process exits non-zero on `step_failed`.
## Fallback
If Google Maps extraction fails or WhatsApp cannot complete, follow
`references/fallback_plan.md`. The Maps fallback is manual/UI-agent extraction from the
left results panel; the WhatsApp fallback is already UI-agent driven.
## ask_llm Decision Points
None. Restaurant extraction is deterministic DOM scraping, and the WhatsApp flow is
handled by the UI agent. No `ask_llm` calls are used.
## References
- [fallback_plan.md](references/fallback_plan.md): Manual/UI-agent recovery steps.
- [learned_notes.md](references/learned_notes.md): Durable selectors, URL pattern,
WhatsApp activation notes, and speed gotchas.From prakhar1114/ai_mime_marketplace, MIT.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 17, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get find-restaurants-and-send-on-whatsapp running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
find-restaurants-and-send-on-whatsapp skill. Agent Mart. https://agentmart.dev/skills/prakhar1114-find-restaurants-and-send-on-whatsapp (last updated 2026-10-24)