作者:互联网 时间: 2026-08-10 12:35:01
从源直接安装技能的最快方式。
npx clawhub@latest install news-summary
将技能文件夹复制到以下位置之一
全局模式~/.openclaw/skills/
工作区
<project>/skills/
优先级:工作区 > 本地 > 内置
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 news-summary。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
新闻摘要技能是 Openclaw Skills 生态系统中一个强大的工具,专为需要简洁、平衡的新闻更新的用户设计。通过轮询来自 BBC、路透社和 NPR 等来源的受信任国际 RSS 提要,该技能将复杂的全球事件合成易于处理的简报。通过筛选世界z治、商业和技术领域的顶级故事,该技能有助于弥合信息过载与可行情报之间的差距。
它专为灵活性而构建,支持基于文本的摘要和高质量的语音合成。用户可以利用此技能保持知情,而无需手动浏览多个网站,确保由开源 Openclaw Skills 框架支持的精简信息流。
要将此技能集成到您的 Openclaw Skills 设置中,请按以下步骤操作:
export OPENAI_API_KEY='your_key_here'
curl -s "https://feeds.bbci.co.uk/news/world/rss.xml" | grep -E "<title>|<description>" | sed 's/<[^>]*>//g' | head -30
| 组件 | 详情 |
|---|---|
| 数据源 | BBC, Reuters, NPR, Al Jazeera RSS 提要 |
| 输出格式 | Markdown 文本摘要和 MP3 音频文件 |
| 元数据 | 来源归属、类别标签和时间戳 |
| 语音模型 | OpenAI tts-1-hd 搭配 onyx 语音配置文件 |
name: news-summary
description: This skill should be used when the user asks for news updates, daily briefings, or what's happening in the world. Fetches news from trusted international RSS feeds and can create voice summaries.
Fetch and summarize news from trusted international sources via RSS feeds.
# World news
curl -s "https://feeds.bbci.co.uk/news/world/rss.xml"
# Top stories
curl -s "https://feeds.bbci.co.uk/news/rss.xml"
# Business
curl -s "https://feeds.bbci.co.uk/news/business/rss.xml"
# Technology
curl -s "https://feeds.bbci.co.uk/news/technology/rss.xml"
# World news
curl -s "https://www.reutersagency.com/feed/?best-regions=world&post_type=best"
curl -s "https://feeds.npr.org/1001/rss.xml"
curl -s "https://www.aljazeera.com/xml/rss/all.xml"
Extract titles and descriptions:
curl -s "https://feeds.bbci.co.uk/news/world/rss.xml" | r
grep -E "<title>|<description>" | r
sed 's/<[^>]*>//g' | r
sed 's/^[ ]*//' | r
head -30
curl -s https://api.openai.com/v1/audio/speech r
-H "Authorization: Bearer $OPENAI_API_KEY" r
-H "Content-Type: application/json" r
-d '{
"model": "tts-1-hd",
"input": "<news summary text>",
"voice": "onyx",
"speed": 0.95
}' r
--output /tmp/news.mp3
?? News Summary [date]
?? WORLD
- [headline 1]
- [headline 2]
?? BUSINESS
- [headline 1]
?? TECH
- [headline 1]