From agentkit-shopify
Set up a Shopify cart and provide a checkout link. Use when the user asks to buy a product, provides a Shopify product URL to purchase, or wants to add items to a cart on a Shopify store.
npx claudepluginhub worldcoin/agentkit-shopify-demo --plugin agentkit-shopifyThis skill is limited to using the following tools:
Set up a cart with a product and an optional discount code, then give the user a checkout link.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Processes PDFs: extracts text/tables/images, merges/splits/rotates pages, adds watermarks, creates/fills forms, encrypts/decrypts, OCRs scans. Activates on PDF mentions or output requests.
Share bugs, ideas, or general feedback.
Set up a cart with a product and an optional discount code, then give the user a checkout link.
https://humanrequired.shop/products/cool-shirt)shopify-agent-discount skill. Always check for one before proceeding.Use curl -s "<product_url>.json" (strip any query parameters first, then append .json) to fetch the raw product JSON. Pick the first variant from the response. Note the variant ID.
Construct the checkout URL directly:
https://<shop-domain>/cart/<variant_id>:1?discount=<DISCOUNT_CODE>
For example:
https://humanrequired.shop/cart/46991516106914:1?discount=WORLD-ID-abc123
<variant_id>: The numeric variant ID from step 1 (NOT the gid:// format — just the number).:1: Quantity of 1.?discount=<DISCOUNT_CODE>: Append only if a discount code was obtained. Omit the parameter entirely if there is no discount.Share the checkout link. If a discount was applied, mention it:
I found a human-only discount and built your cart! Complete your purchase here: {checkout_url}
If no discount was available:
Here's your checkout link: {checkout_url}
Do not narrate each step. Only produce user-facing output at step 3, or earlier if something fails.