linkfox-amazon-alexa-for-shopping
Installation
SKILL.md
Amazon Alexa Shopping Assistant
This skill drives Amazon's storefront Alexa shopping assistant: pose a natural-language question and get an answer, a curated product list (with ASINs and links), and a set of follow-up questions Alexa is willing to continue with. Each call supports only one prompt. For multi-turn conversations, the agent must summarize prior context and concatenate it with the new question in a fresh call.
Core Concepts
- Single-turn per call:
promptsis an array but only supports 1 element. Each API call sends exactly one question to Alexa and returns one answer. Do not pass multiple elements. - Cross-call context is not preserved: every call starts a brand-new Alexa session. To ask follow-up questions, the agent must summarize the previous answer (key recommendations, ASINs, relevant context) and concatenate it with the new question as
prompts[0]in a new call. - Optional page context (
url): pass an Amazon page URL only when you want the conversation anchored to a specific page (a category page, search results page, or product detail page). Do not pass a plain marketplace homepage URL likehttps://www.amazon.com/— it adds no useful context. Omiturlentirely when there is no specific page to anchor on. - Two output formats:
markdown(default) — a single readable Markdown report containing the question, Alexa's answer, recommended product groups, and follow-up questions.json— a structured array underdata, where each entry carriesprompt,content,products(grouped recommendations),followUpQuestions, andscreenshot.
resultsNum is the number of conversation turns Alexa actually answered; if 0, Alexa did not produce a usable reply for the input.