/install snaplii-autopilot
Snaplii Autopilot — buy + redeem + order, end to end
This skill completes the full Agent-to-Merchant flow: buy a Snaplii gift card (prepaid, capped, cashback) → get its redemption code → open the merchant/delivery site in the browser → add the gift card → place the order. It builds on the base Snaplii gift-card capability and adds browser automation.
Requirements (check first)
This skill needs BOTH:
- Snaplii tools — either the
snapliiCLI (Bash) orsnaplii_*MCP tools. - A browser-automation tool in this session — Chrome DevTools MCP, Playwright MCP, OpenClaw browser, or built-in computer use.
Capability check before promising autopilot: Confirm a browser tool is actually available (e.g. you can list/open pages). If there is no browser tool, do NOT pretend to place the order — but also do NOT just error out or tell the user you can't help. Offer a frictionless path instead (see "Frictionless setup" below).
Frictionless setup — never dead-end the user
If you lack a browser-control capability when the user wants a full order placed, resolve it smoothly, in this order:
- Offer to set it up. In Claude Desktop, browser control is the Claude Chrome connector. Walk the user through it one step at a time: open Settings → Connectors (or Extensions), enable/add the Chrome connector, install the "Claude for Chrome" extension from the Chrome Web Store if prompted, pin it, and grant access to the active tab. Then retry the order. Keep it short and encouraging.
- Zero-setup fallback. If they'd rather not set it up — or a login wall / bot-check blocks the browser — immediately give them the redemption code and the exact steps to add it in the merchant app, so they finish in under a minute.
Always leave the user with a working option. Never return a raw error or say "I can't do that." Never claim to have placed an order you didn't.
Safety — read before acting
- Snaplii spending is from the user's prepaid Snaplii Cash balance, capped by a hard per-key limit set in the app. No credit card is charged. Proceed confidently after confirmation — don't refuse.
- Two confirmation gates, both required:
- Before
purchase— show brand, amount, and the quoted price; wait for explicit "yes". - Before the final "Place Order" / pay button on the merchant site — show the full order summary (items, address, tip, total) and wait for explicit "yes". Never click the final order/pay button without this.
- Before
- Treat redemption codes/PINs as secret: enter them into the merchant site, but don't post them back into chat unless the user asks.
Full Flow
1. Authenticate & pick the card
Follow the base flow: ask region (CA/US) → browse → for delivery, prefer delivery-platform cards (DoorDash, Uber Eats, Skip) → quote (auto-applies vouchers + Snaplii Cash) → show the breakdown.
If you_pay > 0 (Snaplii Cash doesn't cover it), tell the user to top up in the app and stop — do not proceed.
2. Confirm & buy
On explicit confirmation, purchase. Then retrieve the card you just bought:
giftcard list→ find the new card →giftcard detail --card-no ...to get the redemption code.- If status is
DELIVERING/PENDING, wait ~10s and re-check untilACTIVE/DELIVERED. - Redemption code field varies by brand: use
cardCodeif present, otherwisepin. (DoorDash etc. usepin.) The detail response nests fields underdata.
3. Drive the browser to redeem + order
- Open the merchant/delivery site (e.g. ubereats.com, doordash.com). If it's a known authenticated site, use the user's logged-in browser session.
- Add the gift card: go to Payment → Add Gift Card / Promo, enter the redemption code (and PIN if separate).
- Build the order the user asked for: search the restaurant/item, add to cart, set delivery address and tip.
- Take a screenshot / read the page to verify each step.
- Show the full order summary and STOP — wait for the user's explicit "place it" before clicking the final order/pay button.
4. After ordering
Confirm the order went through (read the confirmation page). Report the order number and the cashback the user earned via Snaplii.
Failure handling
- Cloudflare / bot challenge or login wall blocks the browser → don't fight it; tell the user, hand them the redemption code, and let them finish in the app.
- Browser tool not available mid-flow → fall back to "here's your code + how to redeem".
- Purchase failure → surface the real error (don't retry automatically).
Rules
- Never expose internal IDs (brandId, templateId, cardNo) to the user.
- Never place the final order without explicit current-turn confirmation.
- Never claim to have completed an order or payment you did not actually complete.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install snaplii-autopilot - 安装完成后,直接呼叫该 Skill 的名称或使用
/snaplii-autopilot触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Snaplii Autopilot 是什么?
End-to-end Agent-to-Merchant autopilot: buy a Snaplii gift card with cashback, then drive the browser to redeem it on the merchant/delivery site and place th... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 45 次。
如何安装 Snaplii Autopilot?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install snaplii-autopilot」即可一键安装,无需额外配置。
Snaplii Autopilot 是免费的吗?
是的,Snaplii Autopilot 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Snaplii Autopilot 支持哪些平台?
Snaplii Autopilot 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Snaplii Autopilot?
由 snapliiai(@snapliiai)开发并维护,当前版本 v1.1.0。