amazon-competitor-analyzer
Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pric…
它会碰到什么
逐条看命中(13 条严重或高危)
- 严重
.env.example:2cred-paths# Copy this file to .env and replace the placeholder with your actual API key
- 严重
amazon_competitor_analyzer.py:21cred-paths# Try to load .env file if python-dotenv is available
- 严重
amazon_competitor_analyzer.py:24cred-paths# Load .env from same directory as script
- 严重
amazon_competitor_analyzer.py:26cred-pathsenv_file = script_dir / ".env"
- 严重
amazon_competitor_analyzer.py:30cred-paths# If python-dotenv not available, check .env manually
- 严重
amazon_competitor_analyzer.py:32cred-pathsenv_file = script_dir / ".env"
- 严重
SKILL.md:49cred-pathsCopy the `.env.example` file to `.env` and add your API key:
- 严重
SKILL.md:49cred-pathsCopy the `.env.example` file to `.env` and add your API key:
- 严重
SKILL.md:52cred-pathscp .env.example .env
- 严重
SKILL.md:52cred-pathscp .env.example .env
- 严重
SKILL.md:53cred-paths# Edit .env and replace YOUR_API_KEY_HERE with your actual API key
- 严重
SKILL.md:105cred-pathsOptional (for automatic .env loading):
- 高
amazon_competitor_analyzer.py:43cred-envreadBROWSERACT_API_KEY = os.getenv("BROWSERACT_API_KEY", "")
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Amazon Competitor Analyzer
This skill scrapes Amazon product data from user-provided ASINs using browseract.com's browser automation API and performs deep competitive analysis.
When to Use This Skill
- Competitive research: Input multiple ASINs to understand market landscape
- Pricing strategy analysis: Compare price bands across similar products
- Specification benchmarking: Deep dive into technical specs and feature differences
- Review insights: Analyze review quality, quantity, and sentiment patterns
- Market opportunity discovery: Identify gaps and potential threats
What This Skill Does
- ASIN Data Collection: Extract product title, price, rating, review count, images
- Specification Extraction: Deep extraction of technical specs, features, and materials
- Review Quality Analysis: Analyze review patterns, keywords, and sentiment
- Multi-Dimensional Comparison: Side-by-side comparison of key metrics
- Moat Identification: Identify core competitive advantages and barriers
- Vulnerability Discovery: Find competitor weaknesses and market opportunities
Features
- Stable and accurate data extraction: Pre-set workflows ensure consistent results.
- Browser automation: Uses BrowserAct's automated browser instances for reliable data collection.
- Global accessibility: BrowserAct provides servers in multiple regions.
- Fast execution: Optimized workflow templates complete tasks quickly.
- Cost efficient: Reduces manual research time and associated costs.
Prerequisites
BrowserAct.com Account Setup
You need a BrowserAct.com account and API key:
- Visit browseract.com
- Sign up for an account
- Navigate to API Settings
- Generate an API key
Environment Configuration
Copy the .env.example file to .env and add your API key:
cp .env.example .env
# Edit .env and replace YOUR_API_KEY_HERE with your actual API key
Or set as environment variable:
export BROWSERACT_API_KEY="your-api-key-here"
Usage
Basic Analysis
python amazon-competitor-analyzer/amazon_competitor_analyzer.py B09G9GB4MG
Multiple Products
python amazon-competitor-analyzer/amazon_competitor_analyzer.py B09G9GB4MG B07ABC11111 B08N5WRWNW
With Output Directory
python amazon-competitor-analyzer/amazon_competitor_analyzer.py B09G9GB4MG -o ./output
Output Formats
- CSV: Structured data table
- Markdown: Comprehensive report
- JSON: Raw data with analysis
Parameters
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| asins | string | - | One or more Amazon ASINs to analyze |
| --output, -o | string | ./output | Output directory |
| --format | string | all | Output format (csv/markdown/json/all) |
| --api-key | string | env | BrowserAct API key |
Dependencies
This skill requires the following Python packages:
pip install requests
Optional (for automatic .env loading):
pip install python-dotenv
Environment Variables
| Variable | Required | Description |
|----------|----------|-------------|
| BROWSERACT_API_KEY | Yes | Your BrowserAct API key. Get it from BrowserAct Console |
Error Handling
- Invalid API Key: Check BROWSERACT_API_KEY environment variable
- Network Error: Verify internet connection
- Rate Limit: Wait and retry with exponential backoff
- Invalid ASIN: Verify ASIN format (10 alphanumeric characters)
Version: 1.0.0
Updated: 2026-02-09
Template ID: 77814333389670716
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
solutions/ecommerce/amazon-competitor-analyzer/SKILL.md同一个仓库里的其他技能
- browser-act
- browser-act-skill-forge
- 1688-product-detail
- airbnb-listing-detail
- airbnb-search-listing
- amazon-alexa-qa
- amazon-asin-lookup-api-skill
- amazon-best-selling-products-finder-api-skill
- amazon-bestseller-listing
- amazon-buy-box-monitor-api-skill
- amazon-listing-competitor-analysis-skill
- amazon-product-api-skill