跳到正文
Skillpedia
网页抓取260k · #559

rss-feeds

它能做什么

这项技能让你的 AI 读取 RSS 和 Atom 订阅源。它们是许多博客和新闻网站发布的更新列表。适合想不打开网站,就能看到某个站点最新文章的人。

适用场景

  • ✓你询问某个博客、新闻网站或 GitHub 仓库有什么新内容的时候。
  • ✓你想定期获取某个网站的文章摘要,而订阅源比抓取首页更省事的时候。
  • ✓你分享了一个网站,并想知道它是否提供 RSS 订阅源的时候。

技能链接

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/research/rss-feeds/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/research/rss-feeds/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“这个博客最新的文章有哪些?请列出最新的十篇并附上日期。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能读取你提供的订阅源地址,或找到普通网页背后的订阅源,然后按日期排序返回一份清晰的列表。它只使用电脑上已有的 Python。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

RSS Feeds Skill

Reads any RSS 2.0, RSS 1.0/RDF, Atom, or JSON Feed URL into a clean, date-sorted list of entries, and discovers the feed behind an ordinary page URL (<link rel="alternate"> or the usual /feed, /rss.xml, /atom.xml paths). Standard library only, nothing to install. It does not fetch full article bodies — pass an entry's link to web_extract for that.

When to Use

  • "What's new on <blog/site>", "latest releases of <GitHub repo>", "recent posts in <subreddit>", "read this feed", "does this site have an RSS feed".
  • Building a recurring digest with cronjob_manage (feeds are cheaper and more stable than scraping the HTML front page every run). For a persistent read/unread database across many feeds install the optional blogwatcher skill; this skill is the zero-install read.
  • Anything where a structured list of title / link / date / author / summary beats a rendered page: podcasts, changelogs, YouTube channels, newsrooms, forum categories.

Prerequisites

None. Python 3.10+, network access to the feed host.

How to Run

Run through terminal with the skill-relative script path:

python3 scripts/feed.py read https://hnrss.org/frontpage --limit 10
python3 scripts/feed.py read https://simonwillison.net/            # page URL → discovers the feed
python3 scripts/feed.py read URL --since 2026-09-01 --json          # only newer entries, machine-readable
python3 scripts/feed.py discover https://example.com/               # list candidate feed URLs

Quick Reference

Source Feed URL pattern
GitHub releases / commits / tags https://github.com/OWNER/REPO/releases.atom, …/commits/BRANCH.atom, …/tags.atom
Subreddit / Reddit search https://www.reddit.com/r/NAME/.rss, https://www.reddit.com/search.rss?q=… (1 req/min anon; see reddit-reading)
YouTube channel https://www.youtube.com/feeds/videos.xml?channel_id=UC…
Hacker News https://hnrss.org/frontpage, https://hnrss.org/newest?q=TERM
arXiv category https://rss.arxiv.org/rss/cs.CL
Substack / Medium / WordPress / Ghost SITE/feed, medium.com/feed/@user, SITE/rss/
Podcasts the show's RSS URL from its hosting page (discover finds it)

Output fields per entry: title, link, published (UTC ISO 8601), author, summary (HTML stripped, ≤ 2000 chars). Entries are sorted newest-first.

Procedure

① If you only have a site URL, run read on it directly; the script discovers the feed and reports which URL it used (discovered_from). Use discover when you want to choose between several advertised feeds (comments feed vs posts feed, per-category feeds).

② Bound the request: --limit for "latest N", --since YYYY-MM-DD for "since last check". For a cron digest persist the last-seen published value and pass it as --since next run.

③ For full text, hand the entry link to web_extract; feed summaries are frequently truncated or the first paragraph only.

④ Cite the entry link, not the feed URL, when the result feeds a report (grounded-citations).

Pitfalls

  • A 200 response with HTML means the URL is a page, not a feed; the script falls through to discovery automatically, but a site with no <link rel="alternate"> and none of the common paths reports no feed found — check the site's footer or /sitemap.xml before concluding there is none.
  • Reddit feeds share Reddit's anonymous throttle (about one request per minute per IP). Chain them through reddit-reading, which waits out the window, when you need more than one Reddit call.
  • Dates: RSS pubDate is RFC 822 and Atom uses ISO 8601; the script normalises both to UTC. Feeds that omit dates sort to the bottom and are dropped by --since.
  • Some feeds are Cloudflare-fronted and 403 non-browser clients; blocked-page-recovery handles that class.

Verification

python3 scripts/feed.py read https://github.com/NousResearch/hermes-agent/releases.atom --limit 1 prints one entry with a releases/tag/ link and a [atom] format tag; discover https://simonwillison.net/ prints an /atom/ URL.

常见问题

它会读取完整的文章吗?

不会。技能只返回标题、链接、日期和摘要,并说明如需阅读全文,应对链接使用网页提取工具。

需要安装什么吗?

不需要。技能说明它只需要 Python 3.10 或更新版本,以及访问订阅源的网络。

它能长期追踪许多订阅源吗?

如需追踪许多订阅源并记录已读和未读状态,技能建议使用单独的 blogwatcher 技能。

详情

作者的原始描述

Read RSS, Atom, JSON feeds; discover feeds behind a page.

repo: NousResearch/hermes-agent

热度

GitHub 星标
260k
排名
#559
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能