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
累計下載
4258
星標
4
全站排名
#2,328
全站前 46% · 「商業營運」前 44%
平台累計安裝累計下載星標評論
ClawHub ↗13441573-
SkillHub ↗13442584—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該技能會查詢商品、提取當前價格並與歷史價格或目標價比較;解析結果可能不準確,也可能受到網站攔截。 抓取前應同時驗證輸入網址和重定向目標。

資料釋出於 2026-10-29

可以用來做什麼

  • 適合需要跟蹤公開電商商品價格並接收目標價或降價提醒的使用者。

什麼時候用

  • 只使用可信的公開電商網址,避免內部、私有網路或敏感連結;採取提醒前先核對商品與價格。

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

請說明如何監控一個公開商品頁面的價格變化,並列出收到提醒後應核實的資訊。

月度資料趨勢

累計下載4258
1950319044292026-03 · 累計下載 21212026-05 · 累計下載 33532026-06 · 累計下載 35592026-07 · 累計下載 38832026-08 · 累計下載 40172026-09 · 累計下載 425826-0326-09
星標4
3442026-03 · 星標 32026-05 · 星標 42026-06 · 星標 32026-07 · 星標 42026-08 · 星標 42026-09 · 星標 426-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-094258—4
2026-084017+3.5%4
2026-073883+9.1%4
2026-063559+6.1%3
2026-053353—4
2026-032121—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),按月更新。口徑說明見資料方法。