ZJU-REAL/Easel / skills/builtin/skill-rss-aggregator
skill-rss-aggregator
VerifiedRSS/Newsletter 聚合:订阅一批博主/媒体/Newsletter 的 RSS/Atom 源,拉取最新条目, 按关键词与时间窗过滤、去重、按时间排序,产出选题/资讯摘要。当用户说"RSS""订阅源" "聚合资讯""追更博主""Newsletter""看看最近有什么新文章""汇总这些源的更新""feed"时使用。 纯标准库解析,无第三方依赖。
RSS / Newsletter 聚合
把一批订阅源的最新更新聚合成摘要,用于每日选题与资讯追踪。走
scripts/rss_digest.py(纯标准库解析 RSS 2.0 / Atom),无第三方依赖。
全网热搜见 skill-trending-topics;行业新闻见 skill-news-intelligence;本 SKILL 专注 用户自选订阅源的更新聚合。
输入
| 字段 | 必填 | 说明 |
|---|---|---|
| 订阅源 | 是 | --url 单个/多个,或 --feeds 列表文件(每行一个 RSS/Atom URL) |
| 关键词 | 可选 | 只保留标题/摘要命中的条目(逗号分隔) |
| 时间窗 | 可选 | 只保留最近 N 天 |
执行
脚本路径(相对项目根):skills/builtin/skill-rss-aggregator/scripts/rss_digest.py。
# 聚合多源,过滤 AI/大模型,最近 7 天,输出 Markdown 摘要
python <skill>/scripts/rss_digest.py fetch --feeds feeds.txt \
--keyword AI,大模型,Agent --since 7 -o outputs/资讯简报/digest.md
# 单个源快速看
python <skill>/scripts/rss_digest.py fetch --url https://example.com/feed.xml --limit 20
feeds.txt 每行一个 URL(# 开头为注释)。输出 .md 自动 Markdown,否则 JSON。
结果怎么用
- 聚合摘要 → 从中挑选题,喂 skill-topic-evaluator 评估可行性、skill-content-matrix 排选题。
- 关键词过滤锁定垂类,只看和账号相关的更新。
- 定期跑(配合当前执行引擎可用的定时功能或系统调度器)做"每日/每周资讯简报";没有调度能力时说明限制,不声称已安排自动执行。
Profile 感知
- 有 Profile:默认关键词取
identity.md垂类关键词;只推与账号定位相关的更新。 - 无 Profile:不过滤或按用户给的关键词,全量聚合。
规则
- 找不到某平台 RSS 时,很多站点/公众号可用 RSSHub 生成 RSS,提示用户配置。
- 无 pubDate 的条目不因时间窗被误删(保留,排最后)。
- 摘要只列标题/来源/日期/摘要片段与链接,不抓全文(尊重版权)。
- 拉取失败的源跳过并提示,不中断整体聚合。
参考来源
RSS 2.0 / Atom 为标准 XML 订阅格式;无 RSS 的站点常用 RSSHub 生成。本 SKILL 用 stdlib xml.etree 解析(兼容两种格式 + HTML 清洗 + RFC822/ISO 日期),关键词/时间窗过滤 + 去重排序。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 470k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |