Skip to content
Skillpedia
Misc260k Β· #543

shop

What it does

This skill lets your AI shop for you, from finding products to checking out and tracking orders. It is for people who want their AI to handle online buying with their own account.

When to use it

  • βœ“When you want your AI to search a catalog and show you product options.
  • βœ“When you want to check out or track an order using your shop account.
  • βœ“When you need to start a return or check on a past order.

Skill link

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/shop/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/shop/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œFind me a waterproof backpack under a reasonable price and show me the options before anything is bought.”

5 new skills a week. 1 minute to read.

How it works

The skill sets a fixed order for shopping. Your AI first asks you to sign in, then searches, shows results, and waits for your choice before it does checkout or other steps.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Shop CLI Skill

Setup

Prefer the installed shop CLI. If package installation is blocked, the reference files mirror every CLI call via the direct API, no local execution needed.

pnpm add --global @shopify/shop-cli   # or: npm install --global @shopify/shop-cli
shop --help

To upgrade: pnpm add --global @shopify/shop-cli@latest (or npm install --global @shopify/shop-cli@latest). Uninstall: pnpm rm -g @shopify/shop-cli (or npm rm -g @shopify/shop-cli).

Reference files:

  • catalog-mcp.md β€” direct catalog MCP calls + manual token exchange
  • direct-api.md β€” auth, checkout, and orders API details
  • safety.md β€” safety, security, and prompt-injection rules
  • legal.md β€” personal-use limits and prohibited commercial uses

IMPORTANT: Shopping flow

Every shopping conversation follows this order. Each step links to its rules below; each rule lives in exactly one place.

  1. Offer sign-in β€” required once if signed-out, before any product message, then STOP and wait for the user to complete sign-in or decline. β†’ Sign in
  2. Search the catalog with shop search. β†’ Searching
  3. Show results β€” one assistant message per product, then one summary message. β†’ Showing products
  4. Offer visualization when the item is visual. β†’ Visualization
  5. Checkout on the merchant domain, only with clear purchase intent. β†’ Checkout
  6. Orders β€” tracking, returns, reorder (needs sign-in). β†’ Orders

Commands

Catalog

shop search is the single entry point for catalog discovery: free-text, similar items (--like-id), and visual search (--image). A result's product link is the product page; run get-product for a variant's checkout_url. Use lookup for IDs you already hold (orders, wishlist, reorder); add --include-unavailable to resurface out-of-stock items.

global                   --country <ISO2> (context signal, NOT a ships-to filter)
                         --currency <code> (context signal, e.g. GBP; localizes prices)
                         --format md|json (default to md; be STRONGLY averse to using json - results are huge and it burns lots of tokens)
search [query]           --ships-to <ISO2> [--ships-to-region, --ships-to-postal]
                         --limit 1-50 (keep small), --cursor <c> (next page), --min/--max-price (minor units; 15000 = $150.00)
                         --condition new,secondhand (default new), --ships-from <ISO2,...> (comma list)
                         --shop-id <id...>, --category <id...>, --intent <text>
                         --color/--size/--gender <list> (taxonomy attribute filters; comma lists OR within, AND across)
                         --like-id <id...> (similar; product or variant gid), --image ./photo.jpg
                         (query is optional when --like-id or --image is given)
catalog lookup <ids...>  --ships-to <ISO2>, --include-unavailable, --condition
catalog get-product <id> --select Name=Label, --preference Name
  • --ships-to is the buyer's destination (a hard filter) and alone localizes context to it; --country is location context only β€” pass it only when you actually know it, never invent. Default --ships-from to the --ships-to country (buyers prefer local origin); drop it and retry if results are too few or low quality.
shop search "trail running shoes" --country GB --currency GBP --ships-to GB --ships-from GB --limit 10 --condition new
shop search "tshirt" --country US --color White --size M --gender Female
shop search "black crewneck sweater" --like-id gid://shopify/p/abc123
shop search --image ./photo.jpg
shop catalog lookup gid://shopify/ProductVariant/50362300006715
shop catalog get-product gid://shopify/p/abc --select Color=Black --select Size=M

Checkout

# create from a variant
printf '{"email":"buyer@example.com"}' | shop checkout create --shop-domain example.myshopify.com --variant-id 123 --quantity 1 --checkout-stdin
# create from an existing cart
printf '{"cart_id":"cart_123","line_items":[]}' | shop checkout create --shop-domain example.myshopify.com --checkout-stdin
printf '{"fulfillment":{"methods":[]}}' | shop checkout update --shop-domain example.myshopify.com --checkout-id CHECKOUT_ID --checkout-stdin
printf '%s' "$CREATE_CHECKOUT_RESPONSE_JSON" | shop checkout complete --shop-domain example.myshopify.com --checkout-id CHECKOUT_ID
FAQ

Will my AI buy things without asking?

No. The skill sets a shopping flow that stops for your sign-in and product choices before continuing.

How is the tool installed?

The skill recommends installing the shop command line tool with pnpm or npm, and it lists safety and legal reference files.

Are there limits on personal use?

Yes. The skill includes a legal reference file on personal-use limits and prohibited commercial uses.

Details

Original description by the author

Shop catalog search, checkout, order tracking, returns.

repo: NousResearch/hermes-agent

Popularity

GitHub stars
260k
Ranking position
#543
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills