Agent skill

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.

Cosmic Stack3,294★ · 2 repos on radarProfile →
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Version: 1.0.0
Declared author: cosmicstack-labs
Path: categories/shop-restaurant/zomato-order/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 364
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Core Principles
  2. How It Works
  3. Phase 1 —Initial Setup
  4. Phase 2 — Auto-Order
  5. When To Use This Skill
  6. Trigger Phrases
  7. When NOT to use
  8. Skill Workflow
  9. Step 1 — Check Setup State
  10. Step 2 — Run Phase 1 (if needed)
  11. Step 3 — Run Phase 2 (auto-order)
  12. Step 4 — Share the Payment Link
  13. Step 5 — Handle Cookie Expiry
  14. Important Notes
Commands it runs
node scripts/zomato-order.js --setup
node scripts/zomato-order.js
More from mercury-agent-skills
All skills →
About this skill
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.

Keep going