Daily News
/install daliy-news
Daily News Skill
This skill helps AI agents fetch and present daily curated news from the 60s API, which provides 15 selected news items plus a daily quote.
When to Use This Skill
Use this skill when users:
- Ask for today's news or current events
- Want a quick daily briefing
- Request news summaries in Chinese
- Need historical news from a specific date
- Want news in different formats (text, markdown, image)
How to Use
Execute the associated scripts/news.sh script to fetch the news.
./scripts/news.sh [options] [date]
Options
--encoding, -e \x3Cformat>: Optional. Specifies the output response format. Valid options aretext,json,markdown,image, andimage-proxy. The API defaults tojsonif not specified.--date, -d \x3CYYYY-MM-DD>: Optional. Fetch historical news for a specific date. If omitted, fetches today's news. Note: If this is the only argument provided, you can omit the--dateflag entirely.
Return Values
The script securely calls the 60s API and outputs the response to stdout. Depending on the encoding parameter, the response could be a JSON string, plain text, markdown, or image URLs.
Usage Examples
# Get today's news using default API encoding (json)
./scripts/news.sh
# Get today's news in plain text format
./scripts/news.sh --encoding text
# Get news for a specific date using flags
./scripts/news.sh --date 2024-03-01
# Get news for a specific date (simplified usage without flags)
./scripts/news.sh 2024-03-01
# Get news for a specific date in markdown format
./scripts/news.sh -e markdown -d 2024-03-01
Response Format
To balance information depth with token consumption when text-based output is needed, you MUST use the following rules for the encoding parameter. Note: If image output is requested, you should still use image or image-proxy.
-
Default Strategy (
--encoding markdown)- When to use: By default for standard daily news inquiries.
- Why: Provides well-structured, easy-to-read information with moderate token usage.
-
Brief Information (
--encoding text)- When to use: When the user explicitly requests brief or summarized news.
- Why: Returns only essential details in plain text, saving maximum tokens.
-
Complete Information (
--encoding json)- When to use: Only when the user explicitly asks for raw data, detailed fields, or comprehensive data.
- Why: Returns the complete API payload, which is highly token-heavy.
Troubleshooting
Issue: No data returned
- Solution: Try requesting previous dates (yesterday or the day before)
- The service tries latest 3 days automatically
Issue: Image not loading
- Solution: Use
encoding=image-proxyinstead ofencoding=image - The proxy endpoint directly returns image binary data
Issue: Old date requested
- Solution: Data is only available for recent dates
- Check the response status code
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install daliy-news - 安装完成后,直接呼叫该 Skill 的名称或使用
/daliy-news触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Daily News 是什么?
Use when users need daily news summaries, current events, or want to stay informed about world news in Chinese. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 581 次。
如何安装 Daily News?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install daliy-news」即可一键安装,无需额外配置。
Daily News 是免费的吗?
是的,Daily News 完全免费(开源免费),可自由下载、安装和使用。
Daily News 支持哪些平台?
Daily News 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Daily News?
由 JaceyMarvin99(@jaceymarvin99)开发并维护,当前版本 v0.1.0。