360 Secure SkillHub
360 安全技能中心

RSS Monitor

该 Skill 通过 Python 脚本维护 RSS/Atom/JSON 订阅源清单,检测新发布文章,提供添加、移除、列出订阅源、检查单个或全部订阅源、查看历史记录等子命令。可选用飞书 Webhook 推送通知,也可通过 crontab 或 OpenClaw cron 定时执行检查。依赖 Python 3.6+ 与 requests、feedparser,订阅清单和历史记录以 JSON 文件保存…

lwd815813
lwd815813
热度 84.52
最近更新 2026-05-11 17:32:20
分类:自动化依赖:代码执行 / 读写文件 / 第三方 API应用场景:自动化脚本 / 工作流 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add rss-monitor
Metadata
name
rss-monitor
description
Monitor RSS feeds and send notifications when new content is published. Use when user needs to track blog updates, news feeds, or any RSS source. Supports Feishu/Lark notifications and scheduled monitoring via cron.

RSS Monitor

Monitor RSS feeds and deliver notifications when new articles are published.

Features

  • Monitor multiple RSS feeds
  • Detect new articles automatically
  • Send notifications to Feishu/Lark
  • Schedule checks via cron
  • Support for RSS, Atom, and JSON feeds

Quick Start

Add a feed to monitor

scripts/rss_monitor.py add <feed_url> [--name <friendly_name>]

Check all feeds for updates

scripts/rss_monitor.py check-all

List monitored feeds

scripts/rss_monitor.py list

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:
    export FEISHU_WEBHOOK="https://open.feishu.cn/open-apis/bot/v2/hook/..."
    

Cron Schedule

Add to crontab for automatic monitoring:

# Check every 30 minutes
*/30 * * * * cd /path/to/workspace && python scripts/rss_monitor.py check-all

Or use OpenClaw cron:

openclaw cron add --name "rss-monitor" --schedule "*/30 * * * *" --command "python scripts/rss_monitor.py check-all"

Commands

Command Description
add <url> Add RSS feed to watchlist
remove <name> Remove feed from watchlist
list Show all monitored feeds
check-all Check all feeds for updates
check <name> Check specific feed
history Show recently detected articles

Data Storage

  • Watchlist: ~/.rss_monitor/feeds.json
  • Article history: ~/.rss_monitor/history.json

Dependencies

  • Python 3.6+
  • requests
  • feedparser

Install: pip install requests feedparser