News summary zh

From L-LesterYu/OpenClaw-hot-skills-zh · View interactive version

News summary zh is an AI agent skill from the GitHub repository L-LesterYu/OpenClaw-hot-skills-zh. 当用户询问新闻动态、每日简报或世界正在发生什么时,使用此技能。

How to use this skill

Skill file

新闻摘要

概述

从可信的国际新闻源通过 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

工作流程

文字摘要

语音摘要

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": "<新闻摘要文本>",

"voice": "onyx",

"speed": 0.95

}' \

--output /tmp/news.mp3

输出格式示例

📰 新闻摘要 [日期]

🌍 国际

💼 财经

💻 科技

最佳实践

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.