amazon-alexa-qa
できること
ブラウザーでAmazonのAlexaショッピングアシスタントに質問を送り、回答の文章を集める方法を説明します。Alexaに質問をまとめて行いたいショッパーや調査者向けです。
使う場面
- ✓ショッピングアシスタントに、複数の商品について一度に質問したいとき。
- ✓調査者が、商品カテゴリーについてAlexaの回答を比べたいとき。
- ✓ショッピングアシスタントの回答を、構造化されたテキストとして保存したいとき。
スキルのリンク
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/amazon-alexa-qa/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。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.3k1688.comの卸売ページから、価格帯、バリエーション、販売者の評価、属性などの商品詳細を取得するのを支援します。
airbnb-listing-detail
6.3kAirbnbの掲載IDから、写真、設備、評価、宿泊ルールなど、公開されている詳細情報を取得するのを支援します。