名称: openclaw-feeds
描述: >
RSS 新闻聚合器。从三个精选类别(新闻、游戏、金融)的订阅源中获取头条新闻。当用户询问当前新闻、头条、发生了什么、有什么动态,或提及“新闻有什么动态”、“金融有什么动态”、“游戏有什么动态”,或其德语对应表达“was geht mit nachrichten”、“was geht mit money”、“was geht mit gaming”时使用。同样适用于“给我新闻简报”、“最新头条”、“市场新闻”、“游戏新闻”、“科技新闻”、“金融综述”或“简报”等请求。从公共 RSS 订阅源返回结构化 JSON —— 无需 API 密钥,也无需网络搜索。
许可证: MIT
compatibility: 需要 Python 3、feedparser(通过 pip install feedparser 安装)以及网络访问权限以获取 RSS 订阅源。
允许工具: Bash(python3:)
元数据:*
author: nesdeq
version: "3.1.1"
tags: "rss, news, feeds, headlines, aggregator"
RSS 新闻聚合器。从三个精选类别(新闻、游戏、金融)的订阅源中获取所有当前条目。支持并发获取,输出流式 JSON。无需 API 密钥。
当此技能激活时,请勿使用网络搜索、WebFetch、浏览器工具或任何其他 URL 获取工具。RSS 订阅源是唯一的数据来源。 请勿通过外部搜索来补充、验证或扩展结果。不要获取文章 URL —— 输出中已包含摘要。
根据用户消息检测类别:
newsfinancegames| 类别 | 订阅源数量 | 来源 |
|---|---|---|
news |
21 | Ars Technica, Wired, TechCrunch, The Verge, NYT, Heise, Quanta, Aeon, Nautilus 等 |
games |
10 | GameStar, GamesGlobal, PC Gamer, Polygon, Kotaku, IGN, Rock Paper Shotgun, GamesIndustry.biz |
finance |
26 | Bloomberg, WSJ, FT, CNBC, MarketWatch, Seeking Alpha, The Economist, Forbes, CoinDesk, Fed, ECB 等 |
订阅源列表定义在 scripts/lists.py 中。
每个类别运行一次调用。如果用户请求多个类别,则运行多次。
python3 scripts/feeds.py --category news
python3 scripts/feeds.py --category games
python3 scripts/feeds.py --category finance
脚本输出一个 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 字符 |
| 标志 | 描述 |
|---|---|
-c, --category |
订阅源类别:news、games 或 finance(必需) |
解析输出后,呈现结构清晰、简洁的简报:
示例输出:
### 科技与产业
- **[标题](url)** —— 一行摘要 *(来源)*
- **[标题](url)** —— 一行摘要 *(来源)*
### 科学
- **[标题](url)** —— 一行摘要 *(来源)*
{"error": "No entries found", "category": "..."} 退出。