详情

首页手游攻略 新闻摘要:自动 AI 新闻简报与语音合成 - Openclaw Skills

新闻摘要:自动 AI 新闻简报与语音合成 - Openclaw Skills

佚名 2026-08-10 12:35:01
下载入口:https://github.com/openclaw/skills/tree/main/skills/joargp/news-summary

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install news-summary

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 <project>/skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 news-summary。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

什么是 新闻摘要?

新闻摘要技能是 Openclaw Skills 生态系统中一个强大的工具,专为需要简洁、平衡的新闻更新的用户设计。通过轮询来自 BBC、路透社和 NPR 等来源的受信任国际 RSS 提要,该技能将复杂的全球事件合成易于处理的简报。通过筛选世界z治、商业和技术领域的顶级故事,该技能有助于弥合信息过载与可行情报之间的差距。

它专为灵活性而构建,支持基于文本的摘要和高质量的语音合成。用户可以利用此技能保持知情,而无需手动浏览多个网站,确保由开源 Openclaw Skills 框架支持的精简信息流。

新闻摘要 应用场景

  • 创建每日早报以保持对世界事件的更新。
  • 坚控特定的技术和商业领域以获取专业见解。
  • 生成免提音频更新,以便在通勤或运动期间使用。
  • 使用 Openclaw Skills 在团队沟通渠道中实现新闻报道自动化。
新闻摘要 工作原理
  1. 该技能启动对来自国际新闻机构的多个 RSS 提要 URL 的抓取请求。
  2. 原始 XML 内容通过基于 CLI 的解析脚本处理,以提取相关的标题和描述。
  3. 头条新闻被分类为特定板块,如世界、商业和技术。
  4. AI 驱动的总结步骤将内容压缩为 5-8 条顶级故事。
  5. 如果有要求,摘要将发送到 OpenAI TTS API 以生成高保真音频消息。

新闻摘要 配置指南

要将此技能集成到您的 Openclaw Skills 设置中,请按以下步骤操作:

  1. 确保您已安装 curl 和基础 shell 工具。
  2. 对于语音摘要,设置您的 OpenAI API 密钥环境变量:
export OPENAI_API_KEY='your_key_here'
  1. 在本地测试提要提取:
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.

News Summary

Overview

Fetch and summarize news from trusted international sources via RSS feeds.

RSS Feeds

BBC (Primary)

# 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"

Reuters

# World news
curl -s "https://www.reutersagency.com/feed/?best-regions=world&post_type=best"

NPR (US perspective)

curl -s "https://feeds.npr.org/1001/rss.xml"

Al Jazeera (Global South perspective)

curl -s "https://www.aljazeera.com/xml/rss/all.xml"

Parse RSS

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

Workflow

Text summary

  1. Fetch BBC world headlines
  2. Optionally supplement with Reuters/NPR
  3. Summarize key stories
  4. Group by region or topic

Voice summary

  1. Create text summary
  2. Generate voice with OpenAI TTS
  3. Send as audio message
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

Example Output Format

?? News Summary [date]

?? WORLD
- [headline 1]
- [headline 2]

?? BUSINESS
- [headline 1]

?? TECH
- [headline 1]

Best Practices

  • Keep summaries concise (5-8 top stories)
  • Prioritize breaking news and major events
  • For voice: ~2 minutes max
  • Balance perspectives (Western + Global South)
  • Cite source if asked
相关资讯
点击查看更多
游戏推荐
推荐专题
热门阅读
推荐下载