← 返回 Skills 市场
zt6558609-cpu

Competitor Monitor

作者 zt6558609-cpu · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ⚠ suspicious
94
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install competitor-monitor-cn
功能描述
竞品价格监控助手,自动追踪竞品价格变动、上下架状态,支持淘宝/京东/拼多多/亚马逊。
使用说明 (SKILL.md)

竞品价格监控助手

电商卖家必备工具!自动监控竞品价格变动、上下架状态、促销活动,第一时间掌握市场动态。

功能特点

  • 💰 价格监控: 7×24 小时自动追踪竞品价格
  • 📊 历史趋势: 记录价格变化曲线
  • 🔔 实时提醒: 价格变动立即推送(微信/钉钉/邮件)
  • 📦 多平台支持: 淘宝/京东/拼多多/亚马逊
  • 📈 数据分析: 竞品销量估算、关键词排名

核心场景

1. 价格战应对

  • 竞品降价 → 立即通知
  • 竞品促销 → 第一时间知晓
  • 自动建议:是否跟进降价

2. 新品监控

  • 竞品上新 → 立即提醒
  • 快速分析:爆款潜力评估
  • 抄作业:学习优秀详情页

3. 库存监控

  • 竞品缺货 → 抓住机会
  • 竞品补货 → 调整策略
  • 上下架状态追踪

快速开始

1. 安装技能

clawhub install competitor-monitor

2. 配置监控商品

编辑 config/products.json:

{
  "products": [
    {
      "name": "竞品 A - 无线鼠标",
      "url": "https://item.taobao.com/item.htm?id=123456",
      "platform": "taobao",
      "target_price": 59.9,
      "check_interval": 30
    },
    {
      "name": "竞品 B-机械键盘",
      "url": "https://item.jd.com/100012345.html",
      "platform": "jd",
      "target_price": 299,
      "check_interval": 60
    }
  ]
}

3. 配置推送

编辑 config/notify.json:

{
  "channels": {
    "wechat": {
      "enabled": true,
      "webhook": "https://qyapi.weixin.qq.com/..."
    },
    "dingtalk": {
      "enabled": true,
      "webhook": "https://oapi.dingtalk.com/..."
    },
    "email": {
      "enabled": false,
      "smtp": "smtp.qq.com",
      "from": "[email protected]"
    }
  },
  "notify_rules": {
    "price_drop": true,
    "price_rise": false,
    "out_of_stock": true,
    "back_in_stock": true
  }
}

4. 启动监控

# 手动测试
python3 scripts/monitor.py --test

# 定时任务(每 30 分钟)
openclaw cron add competitor-monitor --interval 30

输出示例

👀 竞品监控提醒 - 价格变动

【商品】竞品 A - 无线鼠标
【平台】淘宝
【时间】2026-03-24 17:05

💰 价格变化
├ 原价:79.9 元
├ 现价:69.9 元
└ 降幅:10 元 (-12.5%)

📊 历史最低价
├ 30 天最低:59.9 元
└ 当前排名:第 2 低

🎯 建议操作
├ 是否跟进:是
├ 建议价格:67.9 元(略低于竞品)
└ 毛利测算:15.3 元/件

📈 竞品分析
├ 月销估算:5000+
├ 当前排名:类目前 10
└ 促销活动:满 99-20

---
🔗 商品链接:https://item.taobao.com/...
💡 竞品监控 | 30 分钟更新一次

支持平台

平台 价格 销量 评价 状态
淘宝
天猫
京东
拼多多
抖音小店
亚马逊

高级功能

1. 关键词排名监控

{
  "keywords": [
    {
      "keyword": "无线鼠标",
      "platform": "taobao",
      "target_rank": 10,
      "check_interval": 60
    }
  ]
}

2. 销量估算

基于评价增长率,估算竞品日销/月销:

日销量 ≈ (今日评价 - 昨日评价) × 转化率系数
月销量 ≈ 日销量 × 30

3. 自动定价建议

根据竞品价格、你的成本、目标毛利,自动计算最优定价:

建议价 = max(
    竞品价格 - 1,  # 略低于竞品
    成本价 × 1.2   # 保证 20% 毛利
)

配置说明

监控频率

间隔 适用场景 成本
10 分钟 价格战期间
30 分钟 日常监控
60 分钟 稳定期
180 分钟 长尾商品 最低

推送规则

{
  "notify_rules": {
    "price_drop": true,      // 降价通知
    "price_rise": false,     // 涨价不通知
    "out_of_stock": true,    // 缺货通知
    "back_in_stock": true,   // 补货通知
    "promotion": true,       // 促销活动
    "new_review": false      // 新评价(可选)
  }
}

告警阈值

{
  "alert_threshold": {
    "min_price_drop": 5,     // 降价超过 5 元才通知
    "min_price_drop_pct": 0.05, // 或降幅超过 5%
    "max_price": 999,        // 价格异常上限
    "min_price": 0.01        // 价格异常下限
  }
}

数据看板

价格趋势图

价格
│
│  80 ─┐
│      │\
│  70 ─┤ \    ┌── 竞品 A
│      │  \  /
│  60 ─┤   \/    ┌── 竞品 B
│      │         │
│  50 ─┴─────────┴──────→ 时间
   3/1  3/10  3/20  3/24

市场份额分析

竞品 A: ████████████████ 45%
竞品 B: ████████████ 35%
我方:  ████████ 20%

常见问题

Q: 监控频率多少合适?
A: 日常 30-60 分钟,大促期间 10-15 分钟。

Q: 会被平台封 IP 吗?
A: 建议配合代理使用,避免高频请求。

Q: 数据准确吗?
A: 价格 100% 准确,销量为估算(误差±20%)。

Q: 可以监控多少个商品?
A: 免费版 10 个,付费版不限。

定价策略

免费版

  • ✅ 监控 10 个商品
  • ✅ 30 分钟更新
  • ✅ 微信推送

付费版(99 元/月)

  • ✅ 不限商品数量
  • ✅ 10 分钟更新
  • ✅ 全渠道推送
  • ✅ 数据导出
  • ✅ API 访问

企业版(999 元/月)

  • ✅ 所有付费版功能
  • ✅ 专属代理 IP
  • ✅ 定制报表
  • ✅ 1 对 1 客服
  • ✅ SLA 保障

风险提示

⚠️ 重要声明:

  • 请合理使用,避免高频请求
  • 建议配合代理 IP 使用
  • 数据仅供参考,以平台为准
  • 不要恶意竞争,遵守平台规则

更新日志

v1.0.0 (2026-03-24)

  • ✅ 首次发布
  • ✅ 淘宝/京东/拼多多支持
  • ✅ 价格监控 + 推送
  • ✅ 历史趋势记录

📅 计划

  • 销量估算优化
  • 关键词排名监控
  • 自动定价建议
  • 数据可视化看板
  • API 开放

许可证

MIT License

反馈

GitHub: https://github.com/zt6558609-cpu/competitor-monitor


电商卖家必备神器!早用早赚钱! 💰📈

安全使用建议
This skill appears to implement the advertised price-monitoring features, but review these points before installing: - The metadata requires a binary named 'uv' which the code does not use — confirm whether this is a typo (e.g., uvicorn) or an unexplained dependency. Don't install unknown binaries without confirmation. - The scripts perform web scraping and call external APIs and webhooks. Only provide webhook URLs, SMTP credentials, or other secrets if you trust the skill source; credentials are stored in plain JSON files in the skill directory. - Run scripts in a sandbox or non-production environment first (try scripts/demo.py to test local behavior) and inspect config/notify.json before enabling notifications. - Be aware of legal and platform risks of high-frequency scraping; the README and SKILL.md already recommend using proxies and avoiding excessive frequency. - If you need higher assurance, ask the author for an explanation of the 'uv' requirement and for an explicit list of third-party APIs the production version will call (the code contains simulated Taobao responses and direct JD API calls).
功能分析
Type: OpenClaw Skill Name: competitor-monitor-cn Version: 2.0.0 The skill bundle is a legitimate tool designed for monitoring competitor product prices across various e-commerce platforms like JD, Taobao, and Amazon. The core logic in `scripts/monitor.py` and `scripts/monitor_v2.py` uses standard HTTP requests and regular expressions to extract pricing data, with support for user-configured notifications via WeChat and DingTalk webhooks. No evidence of malicious behavior, such as credential theft, unauthorized data exfiltration, or prompt injection attacks, was detected.
能力评估
Purpose & Capability
The name/description (competitor price monitor) align with the included scripts: they fetch prices from Taobao/JD/PDD/Amazon, save history, and send webhook/email notifications. However, the SKILL metadata lists required binaries ['python3','uv'] — python3 is justified, but 'uv' is never referenced in the code or docs and appears unnecessary or a typo (e.g., maybe meant 'uvicorn'). This is a minor incoherence to confirm with the author.
Instruction Scope
SKILL.md instructs editing config files and running the Python scripts; the scripts do exactly that: perform HTTP requests to e‑commerce pages/APIs, parse HTML/JSON via regex, save history and markdown reports to an output directory, and post to webhook URLs. The instructions and code do not request access to unrelated system files or unknown external endpoints beyond configured webhooks/APIs. They do perform network IO and write local files (history/reports), which is expected for this purpose.
Install Mechanism
There is no install spec (instruction-only), and source files are included. No external archive downloads or package installs are specified — lowest install risk. The presence of code files without an explicit install is coherent for a skill that runs python scripts, but you should note the repository includes runnable code that will execute network requests when run.
Credentials
The skill declares no required environment variables, which is consistent with the code that reads webhook/SMTP credentials from config JSON files. The config contains webhook URLs and an email password field; those are expected for notification functionality but are sensitive — they are stored in plain JSON files, not declared env vars. Also note the unexplained 'uv' binary requirement in metadata (not used by code).
Persistence & Privilege
always is false and the skill does not request elevated privileges or modify other skills. It writes history and report files under its own scripts/output directory (normal for this app) and does network calls; no evidence it persists beyond its own files or alters agent/system configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install competitor-monitor-cn
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /competitor-monitor-cn 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
competitor-monitor-cn v2.0.0 - 新增 demo 脚本和新版监控脚本:scripts/demo.py, scripts/monitor_v2.py - 新增监控输出示例:scripts/output/demo_alert_罗技 G102 鼠标_20260324_1716.md, scripts/output/demo_report_20260324_1716.md - 更新 config/products.json,适配新版脚本或产品配置调整 - 更新 README.md,反映新增脚本和使用方法
v1.0.0
competitor-monitor 1.0.0 - 首次发布竞品价格监控助手,专为电商卖家设计 - 支持淘宝、京东、拼多多、亚马逊多平台价格与上下架状态自动追踪 - 实现7×24小时价格监控、变动实时提醒、历史趋势记录 - 多种推送渠道(微信/钉钉/邮件),可设置推送与告警规则 - 提供价格战、新品和库存监控、销量估算、关键词排名等数据分析功能
元数据
Slug competitor-monitor-cn
版本 2.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Competitor Monitor 是什么?

竞品价格监控助手,自动追踪竞品价格变动、上下架状态,支持淘宝/京东/拼多多/亚马逊。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。

如何安装 Competitor Monitor?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install competitor-monitor-cn」即可一键安装,无需额外配置。

Competitor Monitor 是免费的吗?

是的,Competitor Monitor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Competitor Monitor 支持哪些平台?

Competitor Monitor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Competitor Monitor?

由 zt6558609-cpu(@zt6558609-cpu)开发并维护,当前版本 v2.0.0。

💬 留言讨论