← 返回 Skills 市场
snapliiai

Snaplii Autopilot

作者 snapliiai · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ 安全检测通过
45
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (SKILL.md)

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:

  1. Snaplii tools — either the snaplii CLI (Bash) or snaplii_* MCP tools.
  2. 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:

  1. 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.
  2. 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:
    1. Before purchase — show brand, amount, and the quoted price; wait for explicit "yes".
    2. 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.
  • 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 until ACTIVE/DELIVERED.
  • Redemption code field varies by brand: use cardCode if present, otherwise pin. (DoorDash etc. use pin.) The detail response nests fields under data.

3. Drive the browser to redeem + order

  1. 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.
  2. Add the gift card: go to Payment → Add Gift Card / Promo, enter the redemption code (and PIN if separate).
  3. Build the order the user asked for: search the restaurant/item, add to cart, set delivery address and tip.
  4. Take a screenshot / read the page to verify each step.
  5. 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.
安全使用建议
Install only if you are comfortable letting an agent use Snaplii tools and your active browser session to complete purchases. Keep the Snaplii per-key limit low, review the quoted gift-card purchase and final merchant order summary carefully, and only give explicit confirmation when the amount, address, tip, and items are correct.
能力标签
financial-authoritycan-make-purchases
能力评估
Purpose & Capability
The stated purpose is to buy a Snaplii gift card, redeem it on a merchant or delivery site, and place an order; purchase authority and browser automation are high-impact but directly aligned with that purpose.
Instruction Scope
The skill requires explicit confirmation before buying the gift card and again before clicking the final place-order or pay button, and it tells the agent not to claim completion if the order was not completed.
Install Mechanism
The artifact is a single non-executable SKILL.md with no declared dependencies, scripts, or installation-time code.
Credentials
It expects Snaplii tooling and a browser automation tool, and may use the user's logged-in merchant browser session; that is sensitive but expected for completing user-directed delivery orders.
Persistence & Privilege
No persistence, background workers, privilege escalation, credential harvesting, or hidden storage behavior is present in the artifact.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install snaplii-autopilot
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /snaplii-autopilot 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Frictionless setup: guide Chrome-connector install instead of erroring; never dead-end the user.
v1.0.0
Initial release. Full Agent-to-Merchant autopilot: buy gift card with cashback, then drive the browser to redeem and place the order. Requires a browser-automation tool; falls back to redemption code if none.
元数据
Slug snaplii-autopilot
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

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。

💬 留言讨论