Token导航 LogoToken导航

Agent Skill · 研究检索

ecommerce-market-analyzer-skill(电子商务市场分析技能)

ecommerce-market-analyzer-skill 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ecommerce-market-analyzer-skill 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为操作浏览器;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 19,294。

总安装 5,668周安装 241GitHub Stars 公开资料未说明下载 1,986核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ecommerce-market-analyzer-skill(电子商务市场分析技能)
来源仓库:https://github.com/nepp-an/ecommerce-market-analyzer-skill
安装命令:
openclaw skills install ecommerce-market-analyzer-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ecommerce-market-analyzer-skill

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

电商市场数据整理与分析工具,抓取竞品页面与提取产品数据。自动处理弹窗、截图与 HTML 解析,支持多站点结构化信息提取。适用于竞品调研、价格监控与市场趋势分析,提供可视化报告输出。安装命令:openclaw skills install ecommerce-market-analyzer-skill,依赖浏览器自动化。

注意遵守目标网站 robots.txt 与访问频率限制,防止触发反爬机制。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install ecommerce-market-analyzer-skill;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ecommerce-market-analyzer-skill 怎么安装?

在终端执行 openclaw skills install ecommerce-market-analyzer-skill。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ecommerce-market-analyzer-skill 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ecommerce-market-analyzer-skill 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

ecommerce-market-analyzer-skill 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ecommerce-market-analyzer-skill 用的人多吗?

公开数据是累计安装 5,668 次,近一周安装 241 次,下载 1,986 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ecommerce-market-analyzer-skill 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
ecommerce-market-analyzer-skill

电子商务市场分析技能 · 本页

5,668—操作浏览器MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
ecommerce-market-analyzer
description
Scrape e-commerce homepages from multiple websites in a target market, handle popups automatically, capture screenshots and HTML, extract product data, and generate comprehensive market analysis reports. Use when asked to "analyze [market] e-commerce market", "scrape e-commerce websites", "find hot products in [country]", "analyze product trends", or "generate market report for [region]". Works with German, English, and other international markets.

E-commerce Market Analyzer

Automated workflow for scraping e-commerce websites, handling popups, extracting product data, and generating comprehensive market analysis reports.

Workflow Overview

This skill follows a 4-step workflow:

  1. Setup & Scraping - Run Playwright scraper to capture homepages
  2. Visual Analysis - Analyze screenshots to identify product categories
  3. Data Extraction - Parse HTML to extract specific products and prices
  4. Report Generation - Create comprehensive market analysis report
User provides website list
         ↓
Step 1: Run scraper (handles popups automatically)
         ↓
Step 2: Analyze screenshots visually
         ↓
Step 3: Extract structured data from HTML
         ↓
Step 4: Generate final report

Step 1: Setup & Scraping

Quick Start

When user provides a list of e-commerce websites, immediately run the scraper:

# Create output directory
mkdir -p screenshots_clean

# Run the scraper
uv run python scripts/scrape_websites.py

Customizing the Website List

Edit scripts/scrape_websites.py and update the WEBSITES list:

WEBSITES = [
    "amazon.de",
    "ebay.de",
    "otto.de",
    # Add more websites...
]

Key Features

The scraper automatically:

  • Handles cookie consent popups (German, English, universal selectors)
  • Handles region/language selection dialogs
  • Captures full-page screenshots (1920x1080)
  • Saves HTML source code
  • Uses German locale settings (or customize for other markets)
  • Waits for page stabilization

Important: The script uses popup patterns from references/popup_patterns.md. Consult this file if dealing with new popup types.

Expected Output

After running, you'll have:

  • screenshots_clean/*.png - Full-page screenshots
  • screenshots_clean/*.html - HTML source files
  • Console output with success/failure summary

Success rate target: 85-95%

Common failures:

  • Anti-bot protection (requires manual intervention)
  • HTTP/2 protocol errors (some sites block automation)
  • Timeout on slow-loading sites

Step 2: Visual Analysis

Read Screenshots

After scraping, read the screenshot files to visually identify:

  • Product categories
  • Featured products
  • Promotional items
  • Visual design patterns

Example approach:

from pathlib import Path

screenshot_dir = Path("screenshots_clean")
screenshots = list(screenshot_dir.glob("*.png"))

# Read screenshots using the Read tool
for screenshot in screenshots[:5]:  # Start with 5 sites
    # Use Read tool to view image
    # Note product categories and featured items

What to Look For

Product Categories:

  • Clothing & Fashion (Bekleidung)
  • Electronics (Elektronik)
  • Home & Furniture (Möbel & Wohnen)
  • Food & Groceries (Lebensmittel)
  • Books & Media (Bücher)
  • Beauty & Personal Care (Beauty & Pflege)
  • Sports & Outdoor (Sport)
  • Toys & Baby (Spielzeug & Baby)

Featured Products:

  • Homepage banners
  • Promotional sections
  • "Deal of the day" items
  • New arrivals

Take notes on recurring patterns across multiple sites - these indicate market trends.


Step 3: Data Extraction

Strategy Selection

Choose extraction strategy based on site structure. See references/html_parsing_patterns.md for complete patterns.

Quick decision tree:

  1. Try JSON-LD schema extraction (best for structured data)
  2. Fall back to data attribute extraction
  3. Fall back to class-based extraction
  4. Last resort: keyword matching

Example: Extract from REWE.de

import re
from pathlib import Path

html_file = Path("screenshots_clean/rewe.de.html")
content = html_file.read_text(encoding='utf-8')

# REWE-specific patterns
title_pattern = r'data-offer-title="([^"]+)"'
price_pattern = r'<div class="cor-offer-price__tag-price">([^<]+)</div>'

titles = re.findall(title_pattern, content)
prices = re.findall(price_pattern, content)

for i, title in enumerate(titles[:10]):
    price = prices[i] if i < len(prices) else "N/A"
    print(f"{title}: {price}€")

Platform-Specific Parsing

Each e-commerce platform has unique HTML structure. Consult references/html_parsing_patterns.md for:

  • Amazon.de patterns
  • eBay.de patterns
  • Otto.de patterns
  • Zalando/AboutYou patterns
  • REWE/Lidl supermarket patterns
  • And more...

Price Normalization

Always normalize prices:

def normalize_price(price_str):
    """Convert German format (1.234,56€) to float"""
    price_str = price_str.replace('€', '').replace('EUR', '').strip()
    if ',' in price_str and '.' in price_str:
        price_str = price_str.replace('.', '').replace(',', '.')
    elif ',' in price_str:
        price_str = price_str.replace(',', '.')
    try:
        return float(price_str)
    except:
        return None

Handling Large Files

For HTML files >25k tokens:

# Use grep to search for specific patterns
grep -o 'data-product-name="[^"]*"' amazon.de.html | head -20

# Or extract specific sections
grep -A 5 'product-title' ebay.de.html

Extraction Best Practices

  1. Try multiple patterns - Start with JSON-LD, fall back as needed
  2. Validate extractions - Check for reasonable length (10-100 chars)
  3. Remove duplicates - Use sets to track seen products
  4. Limit results - Cap at 10-20 products per site
  5. Handle encoding - Always use encoding='utf-8'

Step 4: Report Generation

Use the Report Template

Copy and customize assets/report_template.md:

cp assets/report_template.md final_report.md

Report Structure

The template includes these sections:

  1. Executive Summary - Key findings
  2. Top Product Categories - Ranked list with percentages
  3. Verified Product Prices - Extracted data with exact prices
  4. Platform-Specific Analysis - Per-site breakdown
  5. Market Trends - Growth trends and consumer behavior
  6. Seasonal Characteristics - Current and predicted
  7. Technical Implementation - Success metrics and limitations
  8. Business Insights - Opportunities and recommendations
  9. Data Sources - Success/failure breakdown
  10. Conclusions - Actionable takeaways

Filling the Template

Replace placeholder tokens:

  • {MARKET} → German, UK, US, etc.
  • {NUM_SITES} → 23, 25, etc.
  • {DATE} → 2026-03-19
  • {SUCCESS_RATE} → 92
  • {CATEGORY_1} → Clothing & Fashion
  • {PERCENTAGE_1} → 28
  • And so on...

Data Quality Indicators

Include these metrics:

  • Success rate: % of successfully scraped sites
  • Popup handling: # of sites with popups handled
  • Price accuracy: % of verified prices
  • Screenshot quality: Resolution and file size
  • HTML completeness: Average file size

Writing Tips

Be bilingual (for German market):

  • Product names: German + Chinese/English translation
  • Categories: "Bekleidung / Clothing"
  • Maintain both languages throughout

Be specific:

  • ❌ "Electronics are popular"
  • ✅ "AirPods 4 (89,90€ on eBay), PlayStation 5, and Samsung smartphones are top electronics"

Include evidence:

  • Reference screenshot file names
  • Quote exact prices with sources
  • Link specific platforms to products

Troubleshooting

Issue: Popup Not Closed

Solution: Check references/popup_patterns.md for the specific site. Add custom selector if needed:

# In scripts/scrape_websites.py, add to popup_selectors list:
popup_selectors = [
    # ... existing selectors ...
    'button:has-text("Neue Popup Text")',  # Add custom
]

Issue: HTML Parsing Returns Empty

Diagnose:

  1. Check if HTML file exists and has content
  2. Verify the pattern with grep: grep -o "your-pattern" file.html
  3. Try alternative patterns from references/html_parsing_patterns.md
  4. Use keyword matching as fallback

Issue: Anti-Bot Detection

Symptoms: CAPTCHA, "Verify you are human", IP blocking

Solutions:

  1. Add delays between requests (already in script)
  2. Customize user agent string
  3. Use browser fingerprinting evasion
  4. For production: consider proxy rotation (not included)

Issue: Timeout Errors

Solution: Adjust timeout in script:

await page.goto(url, wait_until="domcontentloaded", timeout=120000)  # 2min

Or use more relaxed loading strategy:

await page.goto(url, wait_until="load", timeout=90000)

Market-Specific Configuration

German Market (Default)

context = await browser.new_context(
    locale="de-DE",
    timezone_id="Europe/Berlin",
    user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64)..."
)

Popup patterns: See references/popup_patterns.md → German Market section

UK Market

context = await browser.new_context(
    locale="en-GB",
    timezone_id="Europe/London",
)

Popup patterns: Use English/International selectors

US Market

context = await browser.new_context(
    locale="en-US",
    timezone_id="America/New_York",
)

Other Markets

Adjust locale and timezone_id accordingly. Update popup selectors in script based on language.


Advanced Usage

Parallel Scraping

For large website lists, modify script to use concurrent scraping:

import asyncio

async def scrape_all(websites):
    async with async_playwright() as p:
        browser = await p.chromium.launch(headless=True)
        tasks = [capture_homepage(browser, url, output_dir) for url in websites]
        results = await asyncio.gather(*tasks)
        await browser.close()
    return results

Note: Be respectful of rate limits. Use delays.

Custom Analysis

Beyond the standard workflow, you can:

  • Compare prices across platforms
  • Track price changes over time (run periodically)
  • Identify pricing patterns (premium vs discount)
  • Analyze promotional strategies
  • Monitor competitor activity

Exporting Data

Consider exporting to structured formats:

  • CSV: For spreadsheet analysis
  • JSON: For programmatic access
  • Database: For long-term tracking

Example CSV export:

import csv

with open('products.csv', 'w', newline='', encoding='utf-8') as f:
    writer = csv.writer(f)
    writer.writerow(['Platform', 'Product', 'Price', 'Category'])
    for product in products:
        writer.writerow([product['platform'], product['name'],
                        product['price'], product['category']])

Best Practices

Ethical Scraping

  1. Respect robots.txt - Check before scraping
  2. Rate limiting - Don't overwhelm servers (script includes delays)
  3. Terms of Service - Review site ToS
  4. Personal use - This skill is for market research, not commercial resale

Data Quality

  1. Verify prices - Cross-check suspicious values
  2. Update regularly - E-commerce changes fast
  3. Document assumptions - Note any manual adjustments
  4. Keep raw data - Save screenshots and HTML for reference

Report Quality

  1. Be objective - Base conclusions on data
  2. Show your work - Reference sources
  3. Contextualize - Explain market-specific factors
  4. Actionable - Provide specific recommendations

Resources Reference

scripts/scrape_websites.py

Main scraper with automatic popup handling. Uses Playwright to capture homepages.

Usage: uv run python scripts/scrape_websites.py

references/popup_patterns.md

Comprehensive collection of popup selectors for different markets and platforms.

When to read: When encountering new popup types or troubleshooting popup handling.

references/html_parsing_patterns.md

Platform-specific HTML parsing patterns and extraction strategies.

When to read: When extracting product data from HTML files. Contains patterns for Amazon, eBay, REWE, Otto, Zalando, and generic strategies.

assets/report_template.md

Structured template for the final market analysis report.

Usage: Copy and fill in with analysis results.

平台分布

OpenClaw

91.4%
按下载量换算1,815

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills