← 返回 Skills 市场
abuiles

Buy Coffee

作者 Adolfo Builes · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ✓ 安全检测通过
177
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install buy-coffee
功能描述
Lobster Brew helps your OpenClaw discover coffee roasters, compare coffees, build personalized carts, and hand off a secure Shopify checkout link for you to...
使用说明 (SKILL.md)

LobsterBrew Skill

Version: 1.2.0 Base URL: lobsterbrew.com

Lobster Brew helps your OpenClaw discover coffee roasters, compare coffees, build personalized carts, and hand off a secure Shopify checkout link for you to complete the purchase.

Use it when the owner wants to buy coffee, subscriptions, and brewing gear. Use it to discover merchants, inspect active offers, resolve merchant Shopify Storefront MCP endpoints, and prepare carts for owner checkout.

What this skill does

  • Uses this service as the directory and routing layer
  • Uses each merchant's Shopify Storefront MCP endpoint for live catalog, cart, and checkout work
  • Keeps the owner in control of payment by handing off Shopify checkout instead of completing payment directly
  • Uses the installed skill file as the authoritative instruction source

Versioning

  • Treat Version in this file as the local skill version
  • Do not re-fetch remote instructions during normal use
  • Runtime requests to lobsterbrew.com are for directory data only
  • If Lobster Brew returns a version header or version field that differs from this file, note that the local skill may be stale without changing behavior automatically

Discovery

  1. Start with GET lobsterbrew.com/countries.md to see supported countries
  2. Choose a country that matches the owner's location when possible
  3. Fetch GET lobsterbrew.com/countries/{country_code}.md
  4. Use GET lobsterbrew.com/offers/{country_code}.md to prioritize active offers
  5. Choose a merchant before using Shopify Storefront MCP

Merchant connect

  1. GET lobsterbrew.com/merchants/{slug}/connect.md
  2. Read the returned merchant MCP URL
  3. Connect to that merchant's Shopify Storefront MCP
  4. Use that merchant MCP for:
    • catalog search
    • product details and availability
    • policy questions
    • cart retrieval
    • cart updates
    • checkout URL generation

Do not infer merchant MCP URLs yourself when a connect response is available.

Prefer the .md endpoints for agent consumption. Use the JSON endpoints only when a structured machine response is required.

Treat merchant MCP data as the source of truth for products, pricing, availability, cart state, and checkout URLs.

Subscription products

When the merchant MCP exposes subscription choices, inspect subscription fields before updating the cart.

  1. Check for:
    • requiresSellingPlan or requires_selling_plan
    • variant-level selling plan requirements
    • sellingPlanGroups
    • sellingPlanAllocations
    • available sellingPlanId values
  2. If a subscription is optional, present both one-time and subscription choices.
  3. If a selling plan is required, do not attempt a normal cart add without a sellingPlanId.
  4. Ask the owner to choose a cadence unless a clear preference already exists in local memory.
  5. Highlight subscription savings when priceAdjustments, price, or compareAtPrice show the subscription is cheaper than the one-time purchase.
  6. Try the merchant MCP cart and checkout flow first.
  7. If the merchant MCP cannot apply the required selling plan, tell the owner that this merchant flow is not supported yet.

Cart rule

When updating carts, attach private cart attribute only if the merchant MCP supports cart attributes cleanly:

  • lb_source__ = lobsterbrew

Otherwise omit the attribute instead of assuming support.

Final handoff

When you finish, return a structured summary with:

  • merchant
  • product
  • variant
  • purchase_type
  • selling_plan_name
  • selling_plan_id
  • cadence
  • savings_summary
  • checkout_url
  • resolution_path

Use resolution_path = mcp_cart when merchant MCP created the cart. Use resolution_path = unsupported_subscription_flow when a required selling plan could not be applied through the merchant MCP.

Say clearly when:

  • the item is subscription-only
  • the available cadences are every 1, 2, or 4 weeks, monthly, or similar
  • the subscription saves money versus one-time purchase
  • the merchant MCP could not attach the required selling plan and the flow is not supported yet

Safety

  • This skill is for merchant discovery and Shopify Storefront MCP routing, not product truth storage
  • Keep preferences and prior purchases in your own local memory
  • Do not attempt payment completion
  • Return checkout URL to owner for approval and payment
  • Do not infer merchant MCP URLs yourself when a connect response is available
安全使用建议
This skill appears internally consistent, but review these practical points before installing: 1) The skill will make network calls to lobsterbrew.com and to third-party merchant Shopify storefront endpoints — only use it if you trust those domains. 2) The skill does not complete payments, but it may create carts or send preference data to merchant endpoints; avoid storing or exposing sensitive personal/payment data in the agent's memory. 3) When presented with a checkout URL, verify it is a legitimate Shopify/merchant URL in your browser before entering payment details. 4) There's a minor metadata mismatch (SKILL.md lists Version 1.2.0 while _meta.json shows 1.0.0) and the source/publisher identity is not provided — if provenance matters, verify the publisher or the lobsterbrew.com homepage before trusting long-term use.
功能分析
Type: OpenClaw Skill Name: buy-coffee Version: 1.2.0 The lobsterbrew skill (v1.2.0) functions as a directory for coffee roasters, guiding the agent to discover merchants and interact with Shopify Storefront MCP endpoints. The instructions in SKILL.md include clear safety guardrails, explicitly prohibiting the agent from handling payments directly and requiring it to hand off a checkout URL to the user. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found; the skill's behavior is consistent with its stated purpose of facilitating coffee purchases.
能力评估
Purpose & Capability
The name/description match the SKILL.md: it queries lobsterbrew.com for directory data and then uses merchants' Shopify Storefront/MCP endpoints for catalog, cart, and checkout URL generation. The skill does not request unrelated binaries, environment variables, or credentials.
Instruction Scope
Instructions are narrowly focused on HTTP GET/POST interactions with lobsterbrew.com and merchant Shopify storefront MCP endpoints and on how to handle subscriptions, cart attributes, and handoff. This is in-scope for the stated purpose. Note: the skill will perform network requests to external domains and may use agent-local memory (preferences/prior purchases) when interacting with merchants — review what personal data the agent is allowed to send to merchant endpoints.
Install Mechanism
No install spec and no code files — instruction-only skill. This minimizes disk writes or arbitrary code installation.
Credentials
The skill requests no environment variables, credentials, or config paths. That is proportionate to a directory/routing skill that hands off checkout URLs rather than completing payments.
Persistence & Privilege
always is false and the skill is user-invocable. It can be invoked autonomously (platform default), which is expected; it does not request persistent system privileges or modify other skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install buy-coffee
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /buy-coffee 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
- Renamed skill and endpoints from "buy-coffee" to "lobsterbrew"; updated terminology (buyer → owner). - Versioning instructions improved: use local skill file as authoritative; do not re-fetch remote instructions during use. - Cart attribute logic updated: only attach custom cart attributes if merchant MCP supports them. - Subscription fallback logic simplified: no longer use Shopify Storefront GraphQL fallback; instead, inform when required subscription flow is unsupported. - Clarified checkout handoff, supported subscription details, and handling of unsupported selling plans. - Various improvements to clarity, safety, and merchant connection rules.
v1.0.1
No functional or documentation changes in this version. - Version bumped from 1.0.0 to 1.0.1. - No file changes detected.
v1.0.0
Initial release of buy-coffee skill. - Enables discovery of coffee roasters and merchants via Lobster Brew. - Allows comparison of coffees, building personalized carts, and creates Shopify checkout links for buyers. - Supports shopping for coffee, subscriptions, and brewing gear. - Handles merchant connection and cart/checkout flows using Shopify Storefront MCP. - Subscription handling includes cadence selection and highlights potential savings. - Buyer completes payment directly via Shopify; payment is never handled directly by the agent.
元数据
Slug buy-coffee
版本 1.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Buy Coffee 是什么?

Lobster Brew helps your OpenClaw discover coffee roasters, compare coffees, build personalized carts, and hand off a secure Shopify checkout link for you to... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 177 次。

如何安装 Buy Coffee?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install buy-coffee」即可一键安装,无需额外配置。

Buy Coffee 是免费的吗?

是的,Buy Coffee 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Buy Coffee 支持哪些平台?

Buy Coffee 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Buy Coffee?

由 Adolfo Builes(@abuiles)开发并维护,当前版本 v1.2.0。

💬 留言讨论