npx skills add ...
npx skills add finpeakinc/frevana-skills --skill google-shopping-search
Use when the user wants Google Shopping product search results through Frevana, including product titles, prices, ratings, source merchants, localized country/language results, pagination offsets, device-specific results, or Google Shopping sort order.
npx skills add finpeakinc/frevana-skills --skill google-shopping-search
Search Google Shopping product listings through Frevana.
This skill is for finding Google Shopping product results.
Inputs:
qgoogle_domainglhlstartdevicesort_byOutput:
This skill validates that the response is JSON, saves it to disk, and returns it unchanged on stdout. Do not rewrite or reshape the returned data unless the user explicitly asks for a transformation.
qgoogle_domainglhlstartdevicesort_byFREVANA_TOKEN in the environment variables, or an explicit --token override for the current runcurlbashpython3Use this flow so the request stays simple and reliable:
q or an equivalent product search query.curl commands.FREVANA_TOKEN first.FREVANA_TOKEN is missing, the script may prompt for it.FREVANA_TOKEN or pass --token explicitly.--query is accepted as an alias for --q.
The script sends this payload shape, omitting optional fields that were not provided:
Only q is required. Do not invent google_domain, gl, hl, start, device, or sort_by values when the user did not provide them.
The API returns Frevana JSON. This skill validates the response as JSON and returns it unchanged.
./out/google-shopping-search-<UTC timestamp>-<pid>.json--output: the same JSON is written to the specified file path instead of the default path--q or --query--google-domain only when the user specifies a Google domain such as google.com--gl when the user requests a specific country or region--hl when the user requests a specific language--start when the user requests pagination by result offset--device only for desktop, mobile, or tablet--sort-by 1 for price low to high and --sort-by 2 for price high to low when the user asks for those Google Shopping sort orderscurl is missing, stop and tell the user to install curlpython3 is missing, stop and tell the user to install python3bash <skill-path>/scripts/search_google_shopping.sh \
--q "wireless earbuds" \
--start 20 \
--device mobile \
--sort-by 1bash <skill-path>/scripts/search_google_shopping.sh \
--q "wireless earbuds" \
--gl US \
--hl en \
--output ./out/google-shopping-search-result.jsonbash <skill-path>/scripts/search_google_shopping.sh \
--q "wireless earbuds" \
--token "your bearer token"{
"q": "wireless earbuds",
"google_domain": "google.com",
"gl": "US",
"hl": "en",
"start": 20,
"device": "mobile",
"sort_by": "1"
}