zomato-order
Order food from Zomato via browser automation. Uses a two-phase approach: Phase 1 (setup) captures login cookies after manual login. Phase 2 (auto-order) reuses cookies to create orders and share payment links. No OTP needed after initial setup.
npx skills add cosmicstack-labs/mercury-agent-skills --skill zomato-order --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Zomato Order Skill 🛵 ## Core Principles Ordering food through Zomato programmatically has a key constraint: **Zomato has no public consumer ordering API**. The only way to automate order creation is through browser automation (Playwright/Puppeteer). The smartest approach is **cookie-based session reuse**: 1. **Phase 1 — Setup (one-time):** Open a visible browser, let the user log in manually, capture session cookies 2. **Phase 2 — Auto-Order (reusable):** Load saved cookies (auto-logged in), browse restaurants, build cart, generate payment link This avoids OTP prompts on every order while keeping payment in the user's hands (they pay via the shared link). --- ## How It Works ### Phase 1 —Initial Setup ```bash node scripts/zomato-order.js --setup ``` 1. Opens a visible Chromium browser to Zomato 2. User logs in manually (phone + OTP) 3. User confirms login is complete 4. Session cookies are saved to `/tmp/zomato-cookies.json` 5. Done — no further OTP needed for weeks/months ### Phase 2 — Auto-Order ```bash node scripts/zomato-order.js ``` 1. Loads saved cookies (auto-logged in) 2. Navigates to Zomato, restores session 3. Searches for restaurants in user's default location 4. Wait
- Core Principles
- How It Works
- Phase 1 —Initial Setup
- Phase 2 — Auto-Order
- When To Use This Skill
- Trigger Phrases
- When NOT to use
- Skill Workflow
- Step 1 — Check Setup State
- Step 2 — Run Phase 1 (if needed)
- Step 3 — Run Phase 2 (auto-order)
- Step 4 — Share the Payment Link
- Step 5 — Handle Cookie Expiry
- Important Notes
node scripts/zomato-order.js --setup node scripts/zomato-order.js
What does the zomato-order skill do?
Order food from Zomato via browser automation. Uses a two-phase approach: Phase 1 (setup) captures login cookies after manual login. Phase 2 (auto-order) reuses cookies to create orders and share payment links. No OTP needed after initial setup.
How do I install it?
Run `npx skills add cosmicstack-labs/mercury-agent-skills --skill zomato-order --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From cosmicstack-labs/mercury-agent-skills, a repository with 364 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.