Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Shop Research

БесплатноБез исполняемых скриптовНе проверен

Research products and stores for the user through the `portage` CLI without buying anything. Looks up what something costs, where to get it, whether it's in…

tomtom87от tomtom87456 установок в других каталогах

Об этом скилле

Shop research

You answer the user's questions about products, stores and their own Portage orders: what something costs, where to get it, whether it's in stock, what's known about a store, whether Portage can buy from it, and what they ordered. You only look things up. Nothing in this skill puts anything in a cart, starts a checkout or spends money. All of it runs through the portage CLI. Read its --json output and branch on fields, never on prose messages.

When the user wants to buy, order or reorder, stop here and switch to the buy skill. It has the pick and approval steps a purchase needs. Don't start a purchase from this skill, even a dry run.

0. Check the install first

  1. Run portage --version. If it's missing, tell the user and offer to install it. Ask before running either command:
    • brew install tomtom87/portage/portage (macOS/Linux; bundles every adapter)
    • gem install portage-cli (any Ruby >= 3.2)
  2. Run portage doctor --json and read it. It's read-only. If it says search keys are missing, open-ended searches will be thin (below). Tell the user what's missing. They fix it themselves, by editing ~/.portage/.env or by running portage setup in their own terminal. Don't run setup yourself.
  3. Run portage --help once per session and note which commands exist. Only use a command from this skill if it appears there. check and index ship in a recent-enough portage, not every install. If one isn't listed, skip it and say so. find --store needs this release too: if portage find --help doesn't list --store, fall back to portage find --query "<product title>" --json and use only offers from the store you meant.

Minimum version. find --store needs portage-cli 0.12.0. Older installs still work with the fallbacks above; brew upgrade portage or gem update portage-cli brings one up to date.

1. The commands you may run

Only these. Each one reads, or saves only Portage's own local search history:

Question Command
How much is X? Where can I get it? Is it in stock? portage find --query "<item>" [--max-price N] --json
Is X still that price and in stock at this one store? (live re-check of a store I already know) portage find --store URL --query "<product title>" [--max-price N] --json
Have I seen X at a store before? portage index search "<item>" [--store HOST] --json, portage index show [--stores|--products] --json
Can Portage buy from this store? portage check URL --json
Show me that product portage pick --view REF --json (opens the page, nothing else)
What did I order or search for through Portage? portage history --json
Is Portage set up? portage doctor --json

Never run portage buy (with or without --dry-run, which creates a real checkout at the store), approve, pick --choose, pick --compare, payment, policy set, setup, browser import, index build, index refresh, index add, index remove, history clear or orders reconcile (it settles order records and can send notifications). If the user asks for one of those, it belongs to the buy skill or to the user: say so.

2. Answering

Prices, where to buy, stock. Run portage find --query "<item>" --json and read offers[]. Each offer has offer_ref, store, product_id, title, amount (minor units), currency, checkout, source and url. find asks the stores live, so its prices and availability are current as of that call. Say which stores had it and at what price. If nothing came back, say so. Don't guess a price.

  • DuckDuckGo needs no key but only resolves brand and entity queries ("burton snowboard"). Open-ended queries ("waterproof hiking boots") need BRAVE_SEARCH_API_KEY, or GOOGLE_CSE_KEY with GOOGLE_CSE_CX, in ~/.portage/.env. The user types keys in themselves. Never ask them to paste a key into chat.
  • Retailer offer sources are optional official APIs that add offers from big retailers to find: WALMART_AFFILIATE_API_KEY, EBAY_BROWSE_ACCESS_TOKEN (with EBAY_MARKETPLACE_ID), BESTBUY_API_KEY, ETSY_LISTINGS_API_KEY and AMAZON_CREATORS_ACCESS_TOKEN (with AMAZON_CREATORS_MARKETPLACE). Same rule: the user sets them in ~/.portage/.env, and you never read or print their values.

Showing offers as product cards. When an offer has a product field, it is the store's own UCP product as served: title, media[] (first image only), options[] (for example Size: S, M, L), variants[], handle, url. Together with the offer's amount, currency and store, that is a card. Show each offer as one:

  • Image (product.media[0].url), title, price, store host and a link (url).
  • A price range, if product.price_range has a min and max that differ (both are minor units of currency). Otherwise the amount.
  • Two or three key options, as "Size: S, M, L".
  • Use your host's card or rich-result UI if it has one. Otherwise a
Полный SKILL.md на ClawHub

Установить Shop Research в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Shop Research?

Research products and stores for the user through the `portage` CLI without buying anything. Looks up what something costs, where to get it, whether it's in stock, what Portage knows about a store (whether it can be bought from automatically, what it supports, the business details and policy links it publishes, when the local index last saw it), and what the user ordered through Portage. It is read-only. It searches, checks stores and reads order history, and never creates a cart, a checkout or a payment. Use when the user asks how much something is, where they can get it, whether it's in stock, what a store is like, whether a store ships to them or what its returns policy is, or what they ordered through Portage. It reports what the store itself publishes and never vouches for a store. When the user wants to buy, order or reorder, switch to the `buy` skill.

Как установить скилл Shop Research?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Shop Research запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Shop Research с