openclaw-feeds

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Feeds

订阅源

RSS news aggregator. Fetches all current entries from curated feeds across three categories — news, games, and finance. Concurrent fetching, streamed JSON output. No API key needed.
RSS新闻聚合器,从新闻、游戏、财经三大类的精选订阅源抓取所有当前条目,支持并发抓取、流式JSON输出,无需API密钥。

Constraint

约束

Do NOT use web search, WebFetch, browser tools, or any other URL-fetching tool when this skill is active. The RSS feeds are the sole data source. Do not supplement, verify, or expand results with external searches. Do not fetch article URLs — summaries are already included in the output.
该技能激活时,请勿使用网页搜索、WebFetch、浏览器工具或任何其他URL抓取工具。RSS订阅源是唯一数据源,不要通过外部搜索补充、验证或扩展结果。不要抓取文章URL——输出中已经包含摘要内容。

Categories

分类

Detect the category from the user's message:
  • "news", "headlines", "nachrichten", "tech news" →
    news
  • "finance", "markets", "money", "stocks", "economy" →
    finance
  • "games", "gaming" →
    games
CategoryFeedsSources
news
21Ars Technica, Wired, TechCrunch, The Verge, NYT, Heise, Quanta, Aeon, Nautilus, and more
games
10GameStar, GamesGlobal, PC Gamer, Polygon, Kotaku, IGN, Rock Paper Shotgun, GamesIndustry.biz
finance
26Bloomberg, WSJ, FT, CNBC, MarketWatch, Seeking Alpha, The Economist, Forbes, CoinDesk, Fed, ECB
Feed lists are defined in scripts/lists.py.
从用户消息中识别分类:
  • "news", "headlines", "nachrichten", "tech news" →
    news
  • "finance", "markets", "money", "stocks", "economy" →
    finance
  • "games", "gaming" →
    games
分类订阅源数量来源
news
21Ars Technica, Wired, TechCrunch, The Verge, NYT, Heise, Quanta, Aeon, Nautilus等
games
10GameStar, GamesGlobal, PC Gamer, Polygon, Kotaku, IGN, Rock Paper Shotgun, GamesIndustry.biz
finance
26Bloomberg, WSJ, FT, CNBC, MarketWatch, Seeking Alpha, The Economist, Forbes, CoinDesk, Fed, ECB
订阅源列表定义在scripts/lists.py中。

How to Invoke

调用方式

Run one invocation per category. Run multiple if the user asks for more than one.
bash
python3 scripts/feeds.py --category news
python3 scripts/feeds.py --category games
python3 scripts/feeds.py --category finance
每个分类单独调用一次,如果用户需要多个分类的内容则多次调用。
bash
python3 scripts/feeds.py --category news
python3 scripts/feeds.py --category games
python3 scripts/feeds.py --category finance

Output Format

输出格式

The script streams a JSON array. The first element is metadata, the rest are entries:
json
[{"category": "news", "total_entries": 142, "sources": ["aeon.co", "arstechnica.com"], "fetched_at": "2026-01-31 22:00:00"}
,{"title": "Headline Here", "url": "https://example.com/article", "source": "arstechnica.com", "date": "Fri, 31 Jan 2026 12:00:00 GMT", "summary": "Brief summary text..."}
]
FieldDescription
title
Headline text
url
Link to full article
source
Domain name of the feed source
date
Publication date as provided by the feed
summary
Brief description, HTML stripped, max 500 chars
脚本会流式输出JSON数组,第一个元素是元数据,其余是内容条目:
json
[{"category": "news", "total_entries": 142, "sources": ["aeon.co", "arstechnica.com"], "fetched_at": "2026-01-31 22:00:00"}
,{"title": "Headline Here", "url": "https://example.com/article", "source": "arstechnica.com", "date": "Fri, 31 Jan 2026 12:00:00 GMT", "summary": "Brief summary text..."}
]
字段描述
title
头条标题
url
完整文章链接
source
订阅源的域名
date
订阅源提供的发布日期
summary
内容简介,已去除HTML标签,最多500字符

CLI Reference

CLI参考

FlagDescription
-c, --category
Feed category:
news
,
games
, or
finance
(required)
标识描述
-c, --category
订阅源分类:
news
games
finance
(必填)

Presenting Results

结果展示

After parsing the output, present a structured, concise rundown:
  1. Group by theme — cluster related stories under headings (e.g. "Tech & Industry", "Science", "Markets", "Crypto")
  2. Keep it tight — headline + one-line summary + source attribution per item
  3. Link to sources — use markdown links so the user can read more
  4. Deduplicate — if multiple feeds cover the same story, mention it once and note cross-source coverage
  5. Highlight big stories — if a story appears across 3+ sources, call it out prominently
Example output:
undefined
解析输出后,展示结构化的简洁摘要:
  1. 按主题分组——将相关报道归类到对应标题下(例如“科技与行业”“科学”“市场”“加密货币”)
  2. 保持简洁——每条内容包含头条+一行摘要+来源标注
  3. 链接到来源——使用markdown链接方便用户查看更多内容
  4. 去重——如果多个订阅源报道了同一条新闻,只展示一次并标注跨来源覆盖
  5. 重点突出大事件——如果一条新闻出现在3个及以上来源中,要醒目展示
示例输出:
undefined

Tech & Industry

科技与行业

  • Headline — One-line summary (Source)
  • Headline — One-line summary (Source)
  • Headline — One-line summary (Source)
  • Headline — One-line summary (Source)

Science

科学

  • Headline — One-line summary (Source)
undefined
  • Headline — One-line summary (Source)
undefined

Edge Cases

边界情况

  • Failed or timed-out feeds (15s timeout) are silently skipped — remaining feeds still return results.
  • If zero entries are returned, the script exits with
    {"error": "No entries found", "category": "..."}
    .
  • Some entries may lack summaries — they will still have title, URL, and source.
  • 抓取失败或超时的订阅源(超时时间15秒)会被静默跳过——剩余订阅源仍会返回结果。
  • 如果没有返回任何条目,脚本会退出并返回
    {"error": "No entries found", "category": "..."}
  • 部分条目可能没有摘要——但仍会包含标题、URL和来源信息。