pbalajiips

Ecommerce Price Watcher

商业运营v1.1.0
作者:pbalajiips更新于 2026-05-11共 2 个版本 · 最新版本发布于 2026-02-13ecommerce-price-watcher@clawhub_pbalajiips/ecommerce-price-watcher
电商运营

据 AlphaMoat 统计,截至 2026-09,Ecommerce Price Watcher 累计下载 4,258 次、获 4 个星标,在全部 5,078 个 AI 技能中排名第 2,328 位,在「商业运营」分类(297 个)中排名第 128 位。

累计安装
134
累计下载
4,258
星标
4
全站排名
#2,328
全站前 46% · 「商业运营」前 44%
平台累计安装累计下载星标评论
ClawHub ↗1344,1573-
SkillHub ↗1344,2584—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

该技能会查找商品、提取当前价格并与历史价格或目标价比较;解析结果可能不准确,也可能受到网站拦截。 抓取前应同时验证输入网址和重定向目标。

资料发布于 2026-10-29

可以用来做什么

  • 适合需要跟踪公开电商商品价格并接收目标价或降价提醒的用户。

什么时候用

  • 只使用可信的公开电商网址,避免内部、私有网络或敏感链接;采取提醒前先核对商品与价格。

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

请说明如何监控一个公开商品页面的价格变化,并列出收到提醒后应核实的信息。

月度数据趋势

累计下载4,258
1,9503,1904,4292026-03 · 累计下载 2,1212026-05 · 累计下载 3,3532026-06 · 累计下载 3,5592026-07 · 累计下载 3,8832026-08 · 累计下载 4,0172026-09 · 累计下载 4,25826-0326-09
星标4
3442026-03 · 星标 32026-05 · 星标 42026-06 · 星标 32026-07 · 星标 42026-08 · 星标 42026-09 · 星标 426-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-094,258—4
2026-084,017+3.5%4
2026-073,883+9.1%4
2026-063,559+6.1%3
2026-053,353—4
2026-032,121—3

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.9 KB · ClawHub v1.1.0
---
name: ecommerce-price-watcher
description: Track product prices across ecommerce sites and alert on offers or target-price hits. Use when a user wants to monitor one or many product URLs or item queries, compare current vs previous prices, detect discounts, and generate alert-ready summaries with product name, old/new price, percent drop, and direct link.
---

# Ecommerce Price Watcher

Monitor product URLs, keep price history, detect offers, and output alert-ready JSON.

## Quick start
展开全部(共 95 行)

Use `scripts/price_watch.py`.

```bash
# URL mode
python3 skills/ecommerce-price-watcher/scripts/price_watch.py add \
  --url "https://example.com/product" \
  --target-price 399990 \
  --currency CLP

# Item mode (discover URLs from query)
python3 skills/ecommerce-price-watcher/scripts/price_watch.py add-item \
  --query "iPhone 13 128GB Chile" \
  --target-price 349990 \
  --currency CLP \
  --trusted-only \
  --max-results 5

python3 skills/ecommerce-price-watcher/scripts/price_watch.py check --all
```

## Commands

- `add`: add a single product URL
- `add-item`: discover product URLs from an item query, then add watches
- `list`: list watched products
- `check --id <id>`: check one product now
- `check --all`: check all products now
- `remove --id <id>`: delete watcher
- `history --id <id>`: print full price history

## Alert behavior

A check produces alerts when at least one condition matches:

1. `price_drop`: current price < previous price
2. `target_hit`: current price <= target price

Alert payload includes:
- product id
- title
- old/new price
- drop percent (when available)
- URL
- timestamp

## Item-query mode details

`add-item` uses a lightweight search discovery flow to find candidate product links.

- `--trusted-only` restricts discovered URLs to a curated trusted domain list.
- `--max-results` controls how many links are added.
- Duplicate URLs are skipped safely.

This gives users natural language entry ("track iPhone 13 128GB") instead of forcing direct URLs.

## Parsing strategy

Use a layered parser:
1. JSON-LD `offers.price`
2. Open Graph/meta price fields
3. Generic HTML regex fallback

When multiple prices are found, choose the lowest positive value as the current offer candidate.

## Security standards

- Accept only `http`/`https` URLs.
- Enforce request timeout.
- Enforce response body size cap.
- Do not execute remote JavaScript.
- Store no API keys/tokens in watcher data.
- Treat all page content as untrusted.
- Return structured JSON for safe downstream automation.

## Limits and operational notes

- Some stores block bot-like requests (403). This is expected on certain sites.
- Price extraction is best-effort and may need store-specific adapters over time.
- For production alerting, run `check --all` on schedule and forward only non-empty `alerts`.

## Suggested scheduled usage

Run every 30–120 minutes via cron, then send each alert to Telegram/WhatsApp/Discord.

「商业运营」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。