运行时依赖
安装命令
点击复制技能文档
RSS Feed Digest 将多个RSS/Atom feeds聚合成一个清晰、总结的摘要。适合用于自动化新闻稿、新闻监控或每日简报。
用法 获取并显示最近的项目 python3 {baseDir}/scripts/rss_digest.py fetch \ --feeds "https://hnrss.org/frontpage" "https://feeds.arstechnica.com/arstechnica/technology-lab" \ --hours 24 \ --limit 20 按关键词过滤 python3 {baseDir}/scripts/rss_digest.py fetch \ --feeds "https://hnrss.org/frontpage" \ --keywords "AI,LLM,agent,OpenClaw" \ --hours 48 输出为Markdown文件 python3 {baseDir}/scripts/rss_digest.py fetch \ --feeds "https://hnrss.org/frontpage" \ --output digest.md \ --format markdown 使用feed列表文件 # 创建feeds.txt,每行一个URL python3 {baseDir}/scripts/rss_digest.py fetch \ --feed-file feeds.txt \ --hours 24
功能 📰 支持RSS 2.0和Atom feeds 🔍 关键词过滤(包含/排除) 🔄 跨多个feeds的去重 📅 时间基于过滤(最近N小时) 📝 Markdown或纯文本输出 📋 支持feed列表文件以管理多个来源
依赖 pip3 install feedparser
示例:每日AI新闻摘要 # feeds.txt https://hnrss.org/frontpage https://feeds.arstechnica.com/arstechnica/technology-lab https://www.artificialintelligence-news.com/feed/ https://openai.com/blog/rss.xml # 每天通过cron运行 python3 rss_digest.py fetch --feed-file feeds.txt --keywords "AI,LLM,GPT,Claude,agent" --hours 24 --output /tmp/daily-ai-digest.md
用例 每日简报:为团队总结行业新闻 新闻稿自动化:为Beehiiv/Substack新闻稿生成内容 竞争监控:跟踪竞争对手或关键词的提及 研究:聚合学术/行业feeds关于某个主题 Heartbeat集成:在OpenClaw heartbeat期间运行以检查相关新闻