WeChat MP Monitor

👤 lwd815813 📦 v1.0.0 ⭐ 4.0 ⬇️ 1K 下載
🤖 AI-Agent 免費

📖 技能介紹


name: wechat-mp-monitor description: Monitor WeChat MP (微信公眾號) articles and send notifications. Use when user needs to track public account updates, summarize articles, or receive alerts when new content is published. Supports Feishu/Lark notifications and scheduled monitoring via cron.


WeChat MP Monitor

Monitor WeChat public account articles and deliver notifications.

Features

  • Monitor specific WeChat public accounts for new articles
  • Extract and summarize article content
  • Send notifications to Feishu/Lark
  • Schedule checks via cron

Quick Start

Monitor a single article

scripts/wechat_mp.py summary <article_url>

Add account to watchlist

scripts/wechat_mp.py watch <account_name> [--feishu-webhook <url>]

Check all watched accounts

scripts/wechat_mp.py check-all

Setup

Feishu Webhook (Optional)

To receive Feishu notifications:

  1. Create a Feishu group
  2. Add a webhook bot
  3. Copy the webhook URL
  4. Set environment variable: bash export FEISHU_WEBHOOK="https://open.feishu.cn/open-apis/bot/v2/hook/..."

    小蔥技能站7w4.net每天更新,海量AI技能等你發現。

Cron Schedule

Add to crontab for automatic monitoring:

# Check every hour
0 * * * * cd /path/to/workspace && python scripts/wechat_mp.py check-all

Or use OpenClaw cron:

openclaw cron add --name "wechat-monitor" --schedule "0 * * * *" --command "python scripts/wechat_mp.py check-all"

Commands

Command Description
summary <url> Summarize a single article
watch <name> Add account to watchlist
unwatch <name> Remove from watchlist
list Show watched accounts
check-all Check all accounts for updates
history Show recently processed articles

Data Storage

  • Watchlist: ~/.wechat_mp_monitor/watchlist.json
  • Article history: ~/.wechat_mp_monitor/history.json

Dependencies

  • Python 3.6+
  • requests
  • beautifulsoup4

Install: pip install requests beautifulsoup4

🤖 AI 評測

這個工具文件寫得很清楚,操作步驟也詳細。優點是有完整的說明、介面清晰、支援飛書通知。但存在明顯缺陷:核心的自動監控功能(check-all)其實只是個演示版本,並沒有真正實現;微信的反爬機制可能導致抓取失敗。總體來說功能比較基礎,更像是一個半成品原型,實際可用性有限。

📊 多維度評分

適應性4
規範性4
有效性3.9
可靠性3.8
可信度4.8

📁 包含檔案 (3 個)

📄 SKILL.md 2 KB
📄 _meta.json 136 B
📄 scripts/wechat_mp.py 9 KB