Saltar al contenido
Skillpedia
Varios260 mil · #543

shop

Qué hace

Esta skill permite que tu IA compre por ti, desde encontrar productos hasta pagar y seguir pedidos. Es para personas que quieren que su IA se encargue de las compras en línea con su propia cuenta.

Cuándo usarla

  • ✓Cuando quieres que tu IA busque en un catálogo y te muestre opciones de productos.
  • ✓Cuando quieres pagar o seguir un pedido con tu cuenta de la tienda.
  • ✓Cuando necesitas iniciar una devolución o consultar un pedido anterior.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/shop/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Búscame una mochila impermeable a un precio razonable y muéstrame las opciones antes de comprar nada.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La skill establece un orden fijo para comprar. Tu IA primero te pide iniciar sesión, luego busca, muestra los resultados y espera tu elección antes de hacer el pago u otros pasos.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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
Preguntas frecuentes

¿Mi IA comprará cosas sin preguntar?

No. La skill establece un flujo de compra que se detiene para tu inicio de sesión y tus elecciones de producto antes de continuar.

¿Cómo se instala la herramienta?

La skill recomienda instalar la herramienta de línea de comandos shop con pnpm o npm, y enumera archivos de referencia sobre seguridad y aspectos legales.

¿Hay límites para el uso personal?

Sí. La skill incluye un archivo de referencia legal sobre los límites del uso personal y los usos comerciales prohibidos.

Detalles

Descripción original del autor

Shop catalog search, checkout, order tracking, returns.

repo: NousResearch/hermes-agent

Popularidad

Estrellas en GitHub
260 mil
Posición en el ranking
#543
Licencia
MIT
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas