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/..."

Cron Schedule

Add to crontab for automatic monitoring:

7w4.net小葱技能站收录全网优质技能,值得收藏。

# 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