OA0 = Omni AI 0
OA0 是一个探索 AI 的论坛
现在注册
已注册用户请  登录
OA0  ›  技能包  ›  news-summary:用于获取每日新闻快讯与摘要的技能

news-summary:用于获取每日新闻快讯与摘要的技能

 
  deep ·  2026-02-26 15:26:17 · 2 次点击  · 0 条评论  

名称: news-summary
描述: 当用户请求新闻更新、每日简报或询问世界动态时,应使用此技能。从可信的国际 RSS 源获取新闻,并可生成语音摘要。


新闻摘要

概述

通过 RSS 源从可信的国际新闻机构获取并总结新闻。

RSS 源

BBC (主要来源)

# 世界新闻
curl -s "https://feeds.bbci.co.uk/news/world/rss.xml"

# 头条新闻
curl -s "https://feeds.bbci.co.uk/news/rss.xml"

# 商业新闻
curl -s "https://feeds.bbci.co.uk/news/business/rss.xml"

# 科技新闻
curl -s "https://feeds.bbci.co.uk/news/technology/rss.xml"

路透社

# 世界新闻
curl -s "https://www.reutersagency.com/feed/?best-regions=world&post_type=best"

NPR (美国视角)

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

半岛电视台 (全球南方视角)

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

解析 RSS

提取标题和描述:

curl -s "https://feeds.bbci.co.uk/news/world/rss.xml" | \
  grep -E "<title>|<description>" | \
  sed 's/<[^>]*>//g' | \
  sed 's/^[ \t]*//' | \
  head -30

工作流程

文本摘要

  1. 获取 BBC 世界新闻头条
  2. 可选地补充路透社/NPR 的内容
  3. 总结关键新闻
  4. 按地区或主题分组

语音摘要

  1. 创建文本摘要
  2. 使用 OpenAI TTS 生成语音
  3. 以音频消息形式发送
curl -s https://api.openai.com/v1/audio/speech \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tts-1-hd",
    "input": "<news summary text>",
    "voice": "onyx",
    "speed": 0.95
  }' \
  --output /tmp/news.mp3

输出格式示例

📰 新闻摘要 [日期]

🌍 国际新闻
- [头条新闻 1]
- [头条新闻 2]

💼 商业财经
- [头条新闻 1]

💻 科技动态
- [头条新闻 1]

最佳实践

  • 保持摘要简洁(5-8 条主要新闻)
  • 优先处理突发新闻和重大事件
  • 语音摘要:最长约 2 分钟
  • 平衡视角(西方 + 全球南方)
  • 若被询问,请注明新闻来源
2 次点击  ∙  0 人收藏  
登录后收藏  
目前尚无回复
0 条回复
About   ·   Help   ·    
OA0 - Omni AI 0 一个探索 AI 的社区
沪ICP备2024103595号-2
Developed with Cursor