shop
できること
このスキルにより、AIは商品を探すことから、チェックアウトして注文を追跡するまで、あなたの買い物を手伝えます。自分のアカウントでオンラインの買い物をAIに任せたい人向けです。
使う場面
- ✓カタログを検索して、商品の候補を見せてほしいとき。
- ✓自分のショップアカウントを使って、チェックアウトや注文の追跡をしたいとき。
- ✓過去の注文の返品を始めたり、状況を確認したりしたいとき。
スキルのリンク
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/productivity/shop/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“防水のバックパックを、手頃な価格で探してください。購入する前に、候補を見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、買い物の順序を固定しています。AIは最初にサインインを求め、その後検索して結果を表示し、チェックアウトなどの次の手順の前に、あなたの選択を待ちます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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.
- 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
- Search the catalog with
shop search. → Searching - Show results — one assistant message per product, then one summary message. → Showing products
- Offer visualization when the item is visual. → Visualization
- Checkout on the merchant domain, only with clear purchase intent. → Checkout
- 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-tois the buyer's destination (a hard filter) and alone localizes context to it;--countryis location context only — pass it only when you actually know it, never invent. Default--ships-fromto the--ships-tocountry (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
よくある質問
AIは尋ねずに買い物をしますか?
いいえ。スキルは、サインインと商品の選択で止まってから次に進む買い物の流れを定めています。
ツールはどのようにインストールしますか?
スキルは、pnpmまたはnpmでshopコマンドラインツールをインストールすることを勧めています。安全性と法律に関する参照ファイルも挙げています。
個人利用には制限がありますか?
はい。スキルには、個人利用の制限と禁止されている商用利用についての法律の参照ファイルが含まれています。
詳細
人気
- GitHubのスター
- 260k
- ランキング
- #543
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-merge-conflict-arbiter
260k並行して動く2つのエージェントのブランチ間のgitマージ競合を、中立的な第三者として解決し、リポジトリに1つのマージ結果を作ります。
antigravity-cli
260kAntigravityのコマンドラインツールのインストール、更新、トラブルシューティングをガイドし、そのプラグイン、サインイン、サンドボックスも扱います。
blackbox
260kBlackbox AIのコマンドラインツールに、コーディングのタスクを渡します。このツールは複数のAIモデルを動かし、最も良い結果を選びます。
dynamic-workflow
260k多くの似た作業の大きな束を、保存されたスクリプトとして実行し、検証済みの結果だけをメインの会話に返すようエージェントに教えます。