TopRank Skills

Home / Claw Skills / 数据解析 / ai-daily
Official OpenClaw rules 54%

ai-daily

Fetches AI news from smol.ai RSS. Use when user asks about AI news or daily tech updates.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 ai-daily 技能。 若已安装,则直接安装 ai-daily 技能。

Overview

Skill Key
hjw21century/ai-daily
Author
hjw21century
Source Repo
openclaw/skills
Version
-
Source Path
skills/hjw21century/ai-daily
Latest Commit SHA
40df9cbb637d1099dac7e7a7fb5f956d80bfef57

Extracted Content

SKILL.md excerpt

# 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

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

**Available commands**:

```bash
# 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

```markdown
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**:

```markdown
# 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 |
|-------...

Related Claw Skills