
Ecommerce Competitor Analyzer
Batch-scrape Amazon, Temu, and Shopee listings and turn ASINs or URLs into structured competitor reports plus Sheets-friendly tables.
Overview
E-commerce Competitor Analyzer is an agent skill most often used in Idea (also Validate, Grow) that scrapes Amazon, Temu, and Shopee listings and generates AI competitor reports in Google Sheets and Markdown.
Install
npx skills add https://github.com/buluslan/ecommerce-competitor-analyzer --skill ecommerce-competitor-analyzerWhat is this skill?
- Scrapes Amazon, Temu, and Shopee from ASINs or product URLs
- Bulk processing of multiple product identifiers in one run
- Structured fields: title, price, rating, reviews, and strategic AI summaries
- Dual output: Google Sheets table plus Markdown report
- Four-dimensional analysis using bundled prompt templates and platform config
- Supports Amazon, Temu, and Shopee platforms
- Outputs include 4 analysis summary dimensions plus detailed 4-dimensional Markdown analysis
Adoption & trust: 1.2k installs on skills.sh; 46 GitHub stars; 2/3 security scanners passed (skills.sh audits).
What problem does it solve?
You need to compare many ecommerce listings across marketplaces but manual research does not scale and your agent has no standard scrape-and-report pipeline.
Who is it for?
Indie ecommerce operators researching competitor ASINs or URLs on Amazon, Temu, or Shopee before positioning, pricing, or catalog decisions.
Skip if: Builders who cannot run Node scraper scripts, lack rights to scrape target platforms, or only need generic SEO keyword research without product-level data.
When should I use this skill?
When the user asks to analyze, research, or extract insights from e-commerce products on Amazon, Temu, or Shopee, including bulk ASIN or URL lists.
What do I get? / Deliverables
You get structured product data and four-part strategic analysis per SKU, exported as a Sheets-friendly table and a Markdown report after scripts and prompts in the skill repo run.
- Google Sheets competitor table
- Markdown four-dimensional analysis report
- Structured scrape fields per listing
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Competitor product research is the canonical shelf in Idea before you commit to positioning or SKU strategy. The skill is built for multi-platform competitor listing analysis, which maps directly to the competitors subphase.
Where it fits
Compare five Amazon ASINs in one batch before choosing a hero SKU for your store.
Pull live prices and ratings to sanity-check your planned margin against Temu and Shopee anchors.
Refresh a Markdown competitor brief before updating PDP copy or ad angles.
How it compares
A bundled scrape-plus-analysis workflow skill—not a passive directory listing or a single-marketplace browser extension.
Common Questions / FAQ
Who is ecommerce-competitor-analyzer for?
Solo ecommerce founders and operators who want agent-driven competitor product research across Amazon, Temu, and Shopee with tabular and written outputs.
When should I use ecommerce-competitor-analyzer?
In Idea/competitors when benchmarking listings; in Validate/pricing when anchoring price bands; in Grow/content when refreshing competitive narratives—whenever you have ASINs or URLs to batch analyze.
Is ecommerce-competitor-analyzer safe to install?
It runs local scripts and network scrapes—check platform ToS, secrets handling, and the Security Audits panel on this Prism page before granting network and shell access.
SKILL.md
READMESKILL.md - Ecommerce Competitor Analyzer
# E-commerce Competitor Analyzer Skill ## Quick Start (For AI) **When to use this skill**: When user asks to analyze, research, or extract insights from e-commerce products (Amazon, Temu, Shopee). **What you should do**: 1. Extract product identifiers (ASINs or URLs) from user input 2. Call the scraper script to get product data 3. Call the AI analysis with the analysis prompt template 4. Output results in BOTH formats: Google Sheets + Markdown **Input examples**: - "Analyze B0C4YT8S6H" - "Analyze these products: B0C4YT8S6H, B08N5WRQ1Y, B0CLFH7CCV" - "Research this competitor: https://amazon.com/dp/B0C4YT8S6H" **Output requirements**: - Google Sheets table with: ASIN, Title, Price, Rating, 4 analysis summaries - Markdown report with detailed 4-dimensional analysis --- ## How AI Should Process Requests ### Step 1: Extract Product Identifiers From user input, extract all ASINs and/or URLs: **Example inputs**: ``` "Analyze these Amazon products: B0C4YT8S6H B08N5WRQ1Y B0CLFH7CCV" ``` **Extract**: `['B0C4YT8S6H', 'B08N5WRQ1Y', 'B0CLFH7CCV']` **Mixed input handling**: ``` "Analyze B0C4YT8S6H and https://amazon.com/dp/B08N5WRQ1Y" ``` **Extract**: `['B0C4YT8S6H', 'B08N5WRQ1Y']` (extract ASIN from URL) ### Step 2: Batch Scrape Product Data For each product identifier: 1. Detect platform (use `scripts/detect-platform.js` if available) 2. Call appropriate scraper (Amazon: `scripts/scrape-amazon.js`) 3. Use Olostep API with configured API key from `.env` **Batch processing pattern**: ```javascript // Process all products in parallel const products = ['B0C4YT8S6H', 'B08N5WRQ1Y', 'B0CLFH7CCV']; const results = await Promise.allSettled( products.map(asin => scrapeAmazon(asin)) ); // Handle failures gracefully const successful = results.filter(r => r.status === 'fulfilled'); const failed = results.filter(r => r.status === 'rejected'); ``` ### Step 3: Batch AI Analysis For each successfully scraped product: 1. Read the analysis prompt from `prompts/analysis-prompt-base.md` 2. Replace product data placeholders in the prompt 3. Call Gemini API (model: gemini-3-flash-preview) 4. Extract structured analysis results **Analysis framework** (4 dimensions): 1. **文案构建逻辑与词频分析** (The Brain) - Copywriting strategy & keywords 2. **视觉资产设计思路** (The Face) - Visual design methodology 3. **评论定量与定性分析** (The Voice) - Review sentiment analysis 4. **市场维态与盲区扫描** (The Pulse) - Market positioning & blind spots ### Step 4: Generate Dual Format Output **Format 1: Google Sheets** (Structured Data) Write to Google Sheets with columns: | ASIN | 产品标题 | 价格 | 评分 | 文案分析摘要 | 视觉分析摘要 | 评论分析摘要 | 市场分析摘要 | **Sheet selection priority**: 1. User explicitly specified Sheet ID/Name/URL 2. Default from `.env` (`GOOGLE_SHEETS_ID`) 3. Ask user to provide Sheet ID **Format 2: Markdown Report** (Detailed Analysis) Generate file: `竞品分析-YYYY-MM-DD.md` Structure: ```markdown # Amazon Competitor Analysis Report ## Analysis Overview - Products analyzed: 3 - Analysis date: 2026-01-29 - Total time: ~5 minutes --- ## Product 1: B0C4YT8S6H ### Basic Information - Title: [Product title] - Price: [Price] - Rating: [Rating] ### Copywriting Strategy & Keyword Analysis [Full analysis...] ### Visual Asset Design Methodology [Full analysis...] ### Customer Review Analysis [Full analysis...] ### Market Positioning & Competitive Intelligence [Full analysis...] --- ``` --- ## File Structure ``` ecommerce-