360 Secure SkillHub
360 安全技能中心

Ai Daily

该 Skill 解析用户给出的相对或绝对日期,调用 Python 脚本从 smol.ai 的 RSS 源抓取对应日期的 AI 新闻,检查内容是否存在后按 Markdown 模板输出;依赖 feedparser 和 requests,需要网络,无需 API key。

hjw21century
hjw21century
热度 85.27
最近更新 2026-05-11 16:51:50
分类:搜索依赖:代码执行 / 第三方 API应用场景:研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ai-daily
Metadata
name
ai-daily
description
Fetches AI news from smol.ai RSS. Use when user asks about AI news or daily tech updates.

AI Daily News

Fetch AI industry news from smol.ai RSS feed.

Quick Start

# Basic queries
昨天AI资讯
今天的AI新闻
2026-01-13的资讯

Query Types

Type Examples Description
Relative date 昨天AI资讯 今天的新闻 前天 Yesterday, today, day before
Absolute date 2026-01-13的新闻 YYYY-MM-DD format
Date range 有哪些日期的新闻 Show available dates

Workflow

- [ ] Step 1: Parse date from user request
- [ ] Step 2: Fetch RSS data
- [ ] Step 3: Check content availability
- [ ] Step 4: Format and display results

Step 1: Parse Date

User Input Target Date Calculation
昨天 Yesterday today - 1 day
前天 Day before today - 2 days
今天 Today Current date
2026-01-13 2026-01-13 Direct parse

Format: Always use YYYY-MM-DD


Step 2: Fetch RSS

python skills/ai-daily/scripts/fetch_news.py --date YYYY-MM-DD

Available commands:

# Get specific date
python skills/ai-daily/scripts/fetch_news.py --date 2026-01-13

# Get date range
python skills/ai-daily/scripts/fetch_news.py --date-range

# Relative dates
python skills/ai-daily/scripts/fetch_news.py --relative yesterday

Requirements: pip install feedparser requests


Step 3: Check Content

When NOT Found

Sorry, no news available for 2026-01-14

Available date range: 2026-01-10 ~ 2026-01-13

Suggestions:
- View 2026-01-13 news
- View 2026-01-12 news

Step 4: Format Results

Example Output:

# AI Daily · 2026年1月13日

> not much happened today

## Content

[News content from smol.ai RSS...]

---
Source: smol.ai

Configuration

Variable Description Default
RSS_URL RSS feed URL https://news.smol.ai/rss.xml

No API keys required.


Troubleshooting

Issue Solution
RSS fetch fails Check network connectivity
Invalid date Use YYYY-MM-DD format
No content Check available date range

References