/swiggy:swiggy-checkoutfrom swiggy
Place a Swiggy Food or Instamart order with swiggy-cli, choosing Cash, UPI or Swiggy Money and getting explicit consent first. Use only when the user has said to place/confirm the order — never as an automatic continuation of adding to cart.
Ships in swiggy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
checkout calls place_food_order / checkout upstream. Orders cannot be cancelled through the API (Swiggy customer care: 080-67466729), and Swiggy does not de-duplicate order placement, so this skill is strict about consent and about retries. Table bookings and event tickets have their own skills (swiggy-dineout-booking, swiggy-scenes).
swiggy <server> cart --json --no-interactive — read the live cart. Show items, quantities and the payable total.swiggy <server> addresses --json → addressLine). "Delivering to: ."Did the user name a method?
├── "cash" / "COD" → --pay cash
├── "UPI" / "GPay" / "PhonePe" / "Paytm" → is a specific app id in payment-options?
│ ├── yes → --pay upi:<id copied exactly>
│ └── no / desktop / unknown device → --pay upi (scan-or-tap link works everywhere)
├── "Swiggy Money" / "wallet" → run payment-options; use --pay swiggypay ONLY if the server lists it
└── nothing → run payment-options and show the list; do not pick for them
swiggy <server> payment-options --json is the source of truth: offer only methods it returns. Never ask the user for a UPI ID/VPA (not supported, NPCI rule).
Swiggy Money (Food and Instamart): offer it only when payment-options lists it (data.swiggyMoney.available: true). That means it can be chosen, not that the balance covers the order. --pay swiggypay debits the balance during order placement: no pay link, no polling, no confirm step.
# Cash: order is placed immediately, no payment leg
swiggy food checkout --pay cash --yes --json --no-interactive
swiggy instamart checkout --pay cash --yes --json --no-interactive
# UPI: one command that places, shares the pay link, polls and confirms (blocks up to Swiggy's cap, ~5 min)
swiggy food checkout --pay upi --wait --yes --json --no-interactive
# UPI in two steps (agent hands the link over, resumes later) — see swiggy-pay
swiggy food checkout --pay upi --yes --json --no-interactive
# Swiggy Money, only when payment-options offered it
swiggy instamart checkout --pay swiggypay --yes --json --no-interactive
--note "<text>" (Food only) sends a note to the restaurant, e.g. "less spicy". It is not for delivery instructions.
meta.payment.pending === false and data.status CONFIRMED/PLACED → placed. Quote meta.message verbatim (it carries Swiggy branding) and save data.orderId.meta.payment.pending === true → not placed yet. Say "Complete the payment in your UPI app, I'll confirm once it succeeds", give meta.payment.bridgeUrl, then follow swiggy-pay using meta.payment.next.PAYMENT_FAILED → read error.hint; do not call checkout again blindly.MCP_ERROR → surface error.message; then run swiggy <server> orders --active --json before any retry, because a 5xx may have placed the order anyway. If a Swiggy Money payment failed, do not say "nothing was charged" unless the message says so; ask the user to check recent orders and their balance in the Swiggy app.NETWORK with error.details.mayHavePlacedOrder: true → the request may have reached Swiggy. Do not run checkout again. Run swiggy <server> orders --json (Instamart: check every store; a multi-store checkout places one order per store and can partly succeed). Place again only if the order is not there and the user agrees.--yes without the question in Pre-flight step 3 being answered "yes" in this conversation.PENDING_PAYMENT response.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
16 skills in this plugin
/swiggy-addressList, create, delete and default Swiggy delivery addresses with swiggy-cli. Use when a Food/Instamart command needs an addressId, when the user says "deliver to my office", "add a new address", or when the CLI exits 2 asking for --address-id./swiggy-cartRead and change a Swiggy Food or Instamart cart with swiggy-cli — add items, change quantities, apply Food coupons, clear. Use when the user says "add X", "make it two", "what's in my cart", "apply coupon", "empty my cart"./swiggy-cliDrive the swiggy CLI, a direct client for Swiggy's public API (Food, Instamart, Dineout, Scenes), from an agent. Use when the user wants to search, order, pay for, book or track anything on Swiggy through the terminal, including table bookings and event tickets. Covers machine-mode flags, the JSON envelope, exit codes, auth detection and when NOT to use the CLI./swiggy-dineout-bookingFind a restaurant, check table slots and book (free or paid deal) on Swiggy Dineout with swiggy-cli; also check a booking and handle a cancellation request. Use when the user says "book a table", "reserve", "is X free at 8pm", "cancel my reservation"./swiggy-mcpCall Swiggy's four servers directly (Food at mcp.swiggy.com/food, Instamart at /im, Dineout at /dineout, Scenes at /scenes, 62 tools) from any MCP client or agent framework. Use when an agent has Swiggy tools available, or when writing code that calls them. Covers auth (OAuth 2.1 + PKCE, one login, 5-day token, refresh), how to read a tool result, error handling, rate limits and handshake hygiene, and the safety rules every Swiggy tool call must follow./swiggy-mcp-dineoutBook restaurant tables through the Swiggy Dineout server (mcp.swiggy.com/dineout, 11 tools) by calling its tools directly (search by coordinates, details, slots, then a free booking or create_cart + book_table with UPI for a paid deal, then booking status). Use when an agent with Swiggy Dineout tools must find a place to eat out, check availability, reserve, or answer a cancellation request. Assumes the swiggy-mcp skill.npx claudepluginhub hktitan/swiggy-cli --plugin swiggy