Daily AI News Skill
This skill helps AI agents fetch and present daily curated AI news from the 60s API, which provides the latest updates on AI, large models, and related technologies.
When to Use This Skill
Use this skill when users:
- - Ask for today's AI news or updates on large language models
- Want a quick daily briefing on artificial intelligence
- Request AI news summaries
- Need historical AI news from a specific date
- Want AI news in different formats (text, JSON, markdown)
How to Use
Execute the associated scripts/news.sh script to fetch the AI news.
CODEBLOCK0
Options
- -
--encoding, -e <format>: Optional. Specifies the output response format. Valid options are text, json, and markdown. The API defaults to json if not specified. - INLINECODE6 : Optional. Fetch historical AI news for a specific date. If omitted, fetches today's news. Note: If this is the only argument provided, you can omit the
--date flag entirely.
Return Values
The script securely calls the 60s AI news API and outputs the response to stdout. Depending on the encoding parameter, the response could be a JSON string, plain text, or markdown.
Usage Examples
CODEBLOCK1
Response Format
To balance information depth with token consumption, you MUST use the following rules for the encoding parameter:
- 1. Default Strategy (
--encoding markdown)
-
When to use: By default for standard AI news inquiries.
-
Why: Provides well-structured, easy-to-read information with moderate token usage.
- 2. Brief Information (
--encoding text)
-
When to use: When the user explicitly requests brief or summarized AI news.
-
Why: Returns only essential details in plain text, saving maximum tokens.
- 3. 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.
每日AI新闻技能
此技能帮助AI智能体从60s API获取并呈现每日精选AI新闻,该API提供关于人工智能、大模型及相关技术的最新动态。
使用场景
当用户出现以下情况时使用此技能:
- - 询问今日AI新闻或大语言模型最新动态
- 想要获取每日人工智能简报
- 请求AI新闻摘要
- 需要特定日期的历史AI新闻
- 希望以不同格式(文本、JSON、Markdown)获取AI新闻
使用方法
执行关联的 scripts/news.sh 脚本来获取AI新闻。
bash
./scripts/news.sh [选项] [日期]
选项
- - --encoding, -e <格式>:可选参数。指定输出响应格式。有效选项为 text、json 和 markdown。如未指定,API默认返回 json 格式。
- --date, -d :可选参数。获取指定日期的历史AI新闻。如省略,则获取今日新闻。注意:如果这是唯一提供的参数,可以省略 --date 标志。
返回值
该脚本安全调用60s AI新闻API,并将响应输出到 stdout。根据 encoding 参数的不同,响应可以是JSON字符串、纯文本或Markdown格式。
使用示例
bash
使用默认API编码(json)获取今日AI新闻
./scripts/news.sh
以纯文本格式获取今日AI新闻
./scripts/news.sh --encoding text
使用标志获取指定日期的AI新闻
./scripts/news.sh --date 2024-03-01
获取指定日期的AI新闻(简化用法,无需标志)
./scripts/news.sh 2024-03-01
以Markdown格式获取指定日期的AI新闻
./scripts/news.sh -e markdown -d 2024-03-01
响应格式
为了在信息深度和Token消耗之间取得平衡,你必须遵循以下关于 encoding 参数的规则:
- 1. 默认策略(--encoding markdown)
-
使用时机: 默认用于标准AI新闻查询。
-
原因: 提供结构清晰、易于阅读的信息,Token消耗适中。
- 2. 简要信息(--encoding text)
-
使用时机: 当用户明确要求简短或摘要式AI新闻时。
-
原因: 仅以纯文本返回必要细节,最大限度节省Token。
- 3. 完整信息(--encoding json)
-
使用时机: 仅当用户明确要求原始数据、详细字段或全面数据时。
-
原因: 返回完整的API负载,Token消耗极高。