Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-swiggy

БесплатноБез исполняемых скриптовНе проверен

Every Swiggy Builders Club tool, one persistent OAuth session, and a local order history no Swiggy surface shows you. Trigger phrases: `order food on Swiggy`…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Swiggy — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the swiggy-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install swiggy --cli-only
    
  2. Verify: swiggy-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:

go install github.com/mvanhorn/printing-press-library/library/food-and-dining/swiggy/cmd/swiggy-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

Wraps all 51 official Swiggy MCP tools across Food, Instamart, and Dineout into one CLI that respects Swiggy's own session-reuse rules instead of tripping rate limits. Adds cross-domain spend history, a safe-retry guard for non-idempotent order placement, and a UPI payment-wait command on top.

When to Use This CLI

Use this CLI for scripted or agent-driven Swiggy commerce flows: searching restaurants/products, managing carts, placing orders, booking tables, and tracking deliveries/bookings across Food, Instamart, and Dineout. Good for building or debugging an agent on top of Swiggy Builders Club before wiring a full agent framework, or for personal automation of routine orders.

Anti-triggers

Do not use this CLI for:

  • Do not use this CLI for Swiggy's consumer web/app features outside the Builders Club MCP surface (e.g. loyalty program management, customer support chat).
  • Do not use this CLI for production-scale/multi-tenant traffic without applying for production access at mcp.swiggy.com/builders/access — this CLI targets a single authenticated user's own account.
  • Do not use this CLI to exceed the ₹1000 Food cart cap or bypass Swiggy's documented rate limits.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Local state that compounds

  • history — See spend and order counts across Food and Instamart in one view, even though Swiggy keeps them completely separate. Instamart totals are a sample of at most 20 orders (get_orders has no pagination) and are labeled partial when that cap is hit. --since is reserved and unused. Dineout has no orders-list tool and is not included.

    Reach for this when the user asks about overall Swiggy spend or activity rather than a single domain's orders.

    swiggy-pp-cli history --address-id addr_01HXYZ --agent
    

Agent-native plumbing

  • pay wait — Block until a UPI payment resolves instead of hand-rolling a polling loop yourself. Not for COD orders — check payment status once and proceed instead.

    Use this immediately after any UPI place-order/checkout/book-table call; do not poll check-payment-status manually.

    swiggy-pp-cli pay wait --paas-id paas_123 --order-id ord_01HXYZ --domain food --max-wait 5s
    
  • status — Check local credential presence and stored token expiry. A token with no stored expiry (typical for SWIGGY_ACCESS_TOKEN) is reported as unknown, not fully authenticated, and re-auth is recommended. This is not a live Swiggy validation.

    Check this before starting a multi-step order flow; treat unknown expiry or a later 401 as a signal to re-run auth login.

    swiggy-pp-cli status
    

Reachability mitigation

  • order verify-before-retry — Check whether a food or grocery order actually went through before retrying a failed placement. Matches amount/restaurant only inside --within (default 30m). Orders without timestamps fail closed instead of being treated as already placed or safe to retry.

    Use this before ever re-issuing place-food-order or checkout after a 5xx or timeout.

    swiggy-pp-cli order verify-before-retry --domain food --address-id addr_01HXYZ --amount 450 --within 30m
    

Command Reference

dineout — Swiggy Dineout MCP tools

  • swiggy-pp-cli dineout book-table — Swiggy Dineout (Reservations): Book a table at a restaurant for a specific time slot
  • swiggy-pp-cli dineout cancel-booking — S
Полный SKILL.md на GitHub

Установить pp-swiggy в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

FAQ

Что делает скилл pp-swiggy?

Every Swiggy Builders Club tool, one persistent OAuth session, and a local order history no Swiggy surface shows you. Trigger phrases: `order food on Swiggy`, `search Swiggy restaurants`, `order groceries on Instamart`, `book a table on Dineout`, `track my Swiggy order`, `use swiggy`, `run swiggy`.

Как установить скилл pp-swiggy?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-swiggy запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-swiggy с