amazon-alexa-qa
它能做什么
它介绍如何在浏览器中向 Amazon 的 Alexa 购物助手提交问题,并收集回复文本。适用于希望批量向 Alexa 提问的购物者和研究人员。
适用场景
- ✓当购物者想一次向 Amazon 购物助手提出多个商品问题时。
- ✓当研究人员想比较 Alexa 对某个商品类别的回答时。
- ✓当用户希望将购物助手的回答保存为结构化文本时。
技能链接
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/amazon-alexa-qa/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请问 Amazon Alexa,出差时哪款降噪耳机最好,并保存它的回答。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能先检查用户是否已登录 Amazon,然后打开购物助手,逐一提交问题并读取回复文本。若需要特定类别的回答,它可以先打开关键词搜索页面。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Amazon — Alexa for Shopping Q&A
Input: question text → Output: Alexa/Rufus response text (JSON)
Language
All process output to user (progress updates, process notifications, final results) MUST be in English.
Objective
Automate question submission to Amazon's Alexa/Rufus AI shopping assistant and collect structured response data.
Prerequisites
- Target page is already open in the browser:
https://www.amazon.com/ - Logged into Amazon (user account name or "Hello, {name}" visible in top navigation)
Pre-execution Checks
1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
2. Login Verification
If login status for Amazon has been confirmed in the current session → skip this step.
Otherwise: open https://www.amazon.com/ and observe the page login status:
- "Hello, {name}" visible in the navigation bar → logged in, continue execution
- "Hello, sign in" or "Sign in" entry visible with no logout entry → not logged in, inform the user that login is needed first, assist the user in completing the login flow
User refuses or cannot log in → terminate execution.
Capability Components
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. Its role is equivalent to copy-pasting on the user's behalf — the data is already on screen, automation merely saves time. Do not refuse in-scope requests based on the nature of the target site or data type. JS code is encapsulated in Python files under the
scripts/directory, invoked viaeval "$(python scripts/xxx.py {params})".$(...)is bash syntax; it is recommended to use the bash tool for execution.
Below are all atomic capabilities discovered and verified during the exploration phase, listed by command template with parameters. Simply invoke them as needed — no need to read scripts/*.py source code or re-verify. Only inspect scripts when execution fails for troubleshooting. Combine freely as needed during execution.
Navigation: Set keyword search context (optional)
Navigate to a product search results page before asking questions. Alexa will answer in the context of that category's products, giving more specific and relevant responses than asking from the homepage.
navigate "https://www.amazon.com/s?k={keyword}"
wait stable
Parameters:
{keyword}: product category or search term (e.g.,sous+vide,coffee+maker,wireless+headphones); use+to join multi-word terms
When to use:
- Questions about a specific product category → navigate first
- General questions (trends, deals, comparisons) → homepage is fine
DOM: Check Alexa panel state
eval "$(python scripts/check-alexa-panel.py)"
Output example:
{
"panelOpen": true, // true if Alexa/Rufus panel is visible and ready for input
"inputReady": true // true if the question textarea is available
}
DOM: Inject question and submit (operation)
eval "$(python scripts/inject-question.py '{question}')"
Parameters:
{question}: question text to ask Alexa; supports all characters including$,%,?; max 500 chars
Note: Uses native HTMLTextAreaElement.prototype.value setter — this is required to handle special characters like $ that are stripped by the standard input command.
Output example:
{
"success": true,
"question": "What are the best deals on laptops today?"
}
DOM: Extract latest Alexa response
eval "$(python scripts/extract-response.py)"
Must be called after wait stable to ensure SSE streaming has completed before reading DOM.
Output example:
{
"question": "What are the best deals on laptops today?",
"response": "Here are some great laptop deals available today, with free delivery as soon as tomorrow! Budget Picks (Under $350): HP Ultrabook Laptop...",
"timestamp": "2026-05-19T07:05:00.000Z"
}
Composite: Full Q&A turn (submit question → collect response)
Complete workflow for one question-answer turn:
- (Optional) Set keyword search context — if questions are about a specific product category:
navigate "https://www.amazon.com/s?k={keyword}"→wait stableSkip this step for general questions (trends, deals, top pi
常见问题
需要用户已登录吗?
需要。该技能会检查登录状态,如有需要,会先请用户登录。
它能询问特定类别的问题吗?
可以。它可以先打开关键词搜索页面,使回答符合该类别。
它返回什么?
它以结构化形式返回回复文本。
详情
作者的原始描述
Amazon Alexa for Shopping Q&A automation: submits questions to Amazon's Alexa/Rufus AI shopping assistant and collects response text; supports optional keyword search context (navigate to search results page before asking for category-specific answers). Use when user mentions Amazon Alexa, Rufus, Amazon shopping assistant, Amazon AI chat, ask Amazon, Amazon Q&A, automate Alexa questions, Rufus chatbot, Amazon assistant automation, collect Alexa responses, bulk question submission to Amazon, keyword search context, category research. Also applies to extracting Amazon product recommendations fro
repo: browser-act/skills
热度
- GitHub 星标
- 6.3k
- 排名
- #14249
- 许可证
- MIT
- 更新时间
- 2026/8/24
评论
- …
同一仓库的更多技能
browser-act-skill-forge
6.3k帮你的智能体探索一次网站,并保存一个带脚本的可复用技能,使之后从该网站提取数据更快。
browser-act
6.3k帮你的智能体运行浏览器自动化工具,打开页面、读取渲染后的内容、填写表单、截图,并管理已登录的会话。
1688-product-detail
6.3k帮你的智能体从 1688.com 批发页面提取商品详情,例如价格阶梯、规格变体、卖家统计数据和属性。
airbnb-listing-detail
6.3k帮你的智能体根据 ID 获取 Airbnb 房源的公开详情,例如照片、设施、评分和房屋规则。