AgentSkillsCN

hotdeal-monitor

通过源特定排名与跨源去重功能,监测Ppomppu、Ruliweb与Quasarzone上的韩国热门优惠。在设置定期热门优惠检查、预警管道,或通过Telegram摘要进行源级评论排序与重复去除时使用此功能。

SKILL.md
--- frontmatter
name: hotdeal-monitor
description: Monitor Korean hot deals from Ppomppu, Ruliweb, and Quasarzone with source-specific ranking and cross-source deduplication. Use when setting up periodic hot-deal checks, alert pipelines, or Telegram summaries with per-source comment-based sorting and duplicate removal.

Hotdeal Monitor

Run the checker script to collect, rank, dedupe, and emit a report payload.

Run

bash
python3 scripts/hotdeal_check.py \
  --sources ppomppu,ruliweb,quasarzone \
  --max-per-source 20 \
  --max-alert 8 \
  --seen-file memory/hotdeal-seen-v2.json \
  --out-json /tmp/hotdeal-report.json

Scoring

Use source-local ranking:

  • score = comments*5 + reco*3 + ln(views+1)

Dedup

Use cross-source dedupe key:

  • normalized title tokens + normalized price

Output contract

Script writes JSON containing:

  • items_raw
  • items_ranked
  • items_deduped
  • items_new
  • summary

Use items_new for alerting. Include per-item source link in outbound message.

Notes

  • Prefer individual post URLs when parsed.
  • If parsing fails for a source, skip that source and continue.
  • Keep state in seen-file to avoid duplicate alerts.