# Send ai-news-daily to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ai-news-daily",
    "name": "ai-news-daily",
    "source": "tencent",
    "type": "skill",
    "category": "其他",
    "sourceUrl": "https://clawhub.ai/aaa2531349/ai-news-daily",
    "canonicalUrl": "https://clawhub.ai/aaa2531349/ai-news-daily",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ai-news-daily",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-news-daily",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "_meta.json",
      "requirements.txt",
      "config/config.yaml",
      "run.sh",
      "SKILL.md",
      "src/generate_summary.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ai-news-daily"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ai-news-daily",
    "downloadUrl": "https://openagent3.xyz/downloads/ai-news-daily",
    "agentUrl": "https://openagent3.xyz/skills/ai-news-daily/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ai-news-daily/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ai-news-daily/agent.md"
  }
}
```
## Documentation

### AI 新闻日报 v1.0.3

自动抓取全球 AI 行业最新动态，每日推送 10 条精选新闻。

### ✨ 功能特性 (v1.0.3)

自动推送 - 安装后自动创建 OpenClaw 定时任务，每天早上 9:00 推送到对话框
AI 生成摘要 - 400-500 字中文摘要，内容更丰富详细
英文自动翻译 - 英文标题和内容自动翻译成中文
外部配置 - 所有参数移到 config/config.yaml，方便自定义
完整内容保存 - 保存原始内容供 AI 生成高质量摘要
失败重试 - 自动重试失败的请求，指数退避机制
智能去重 - URL 归一化 + 标题相似度检测，避免重复新闻

### 安装

# 解压 skill
unzip ai-news-daily-v1-0-3.skill -d ai-news-daily
cd ai-news-daily

# 安装依赖
pip install -r requirements.txt

# 运行主程序（会自动创建定时任务）
python3 src/daily_fetch.py

安装完成后，每天早上 9:00 会自动推送新闻到当前对话。

### 手动运行

# 立即抓取并推送
./run.sh

### ⚙️ 配置

编辑 config/config.yaml：

# 抓取配置
fetch:
  max_workers: 4          # 并发线程数
  request_timeout: 15     # 请求超时（秒）
  max_retries: 3          # 失败重试次数
  retry_delay: 2          # 重试间隔（秒）
  
# 摘要配置  
summary:
  target_min: 400         # 摘要最小中文字数
  target_max: 500         # 摘要最大中文字数

# 输出配置
output:
  top_n: 10               # 每天推送几条新闻
  
# 推送配置
push:
  openclaw:
    enabled: true
    output_file: data/openclaw_message.txt

### 📅 定时任务管理

# 查看所有定时任务
openclaw cron list

# 手动立即运行一次
openclaw cron run <job-id>

# 暂停任务
openclaw cron update <job-id> --enabled false

# 删除任务
openclaw cron remove <job-id>

### 📁 文件结构

ai-news-daily/
├── SKILL.md              # 本文件
├── config/
│   └── config.yaml       # 配置文件
├── src/
│   ├── daily_fetch.py    # 主程序（抓取新闻 + 生成摘要）
│   ├── translator.py     # 翻译模块（支持多语言）
│   └── generate_summary.py  # 摘要生成（400-500 字）
├── data/
│   ├── news.db           # SQLite 数据库（自动创建）
│   ├── fetch.log         # 运行日志
│   └── openclaw_message.txt  # 生成的消息
├── requirements.txt      # Python 依赖列表
└── run.sh                # 运行脚本

### 📰 新闻源

权重来源1.3量子位、机器之心、36 氪、新智元、智东西、InfoQ1.2TechCrunch AI、The Verge AI、MIT Tech Review1.1雷锋网、钛媒体、极客公园1.0虎嗅

### 📤 输出格式

📰 AI 每日新闻 - 2026 年 03 月 03 日

共 10 条精选
──────────────────────────────

**1. [量子位] 英伟达放弃 GPU 上 LPU：新推理芯片被曝 Groq 即买即用**

英伟达放弃 GPU 上 LPU：新推理芯片被曝 Groq 即买即用，OpenAI 第一个吃螃蟹。据悉，在即将开幕的 3 月圣何塞 GTC 大会上，黄仁勋将发布一套全新的 AI 推理系统...（400-500 字中文摘要）
🔗 [阅读原文](url)

...

🤖 AI News Aggregator | 每日更新

### 定时任务未创建

# 手动运行一次创建定时任务
python3 src/daily_fetch.py

### 依赖安装失败

pip install --break-system-packages -r requirements.txt

### 新闻抓取失败

# 查看日志
tail -f data/fetch.log

### 翻译失败

翻译使用 MyMemory 免费 API，如果失败会保留原文。可配置其他翻译服务：

export TRANSLATE_API_KEY="your_api_key"  # DeepL/百度翻译

### 🔧 工作原理

抓取阶段 (daily_fetch.py)

并发抓取 14 个 RSS 源
保存完整原始内容到数据库
智能去重，避免重复



翻译阶段 (translator.py)

自动检测英文标题和内容
使用 MyMemory API 翻译成中文
支持 DeepL/百度翻译（需配置 API Key）



摘要阶段 (generate_summary.py)

从数据库读取原始内容
生成 400-500 字中文摘要
自动补充说明达到字数要求



推送阶段 (OpenClaw 定时任务)

每天 9:00 自动触发
生成摘要并推送到对话框

### v1.0.3 (2026-03-03)

✅ 摘要字数调整为 400-500 字（更详细）
✅ 英文标题自动翻译
✅ 增加更多补充说明内容
✅ 优化摘要提取逻辑

### v1.0.2

✅ 英文内容自动翻译
✅ 摘要字数 250-300 字
✅ 定时任务自动创建

### v1.0.1

✅ 基础功能实现
✅ RSS 抓取和去重

### 📄 License

MIT
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: aaa2531349
- Version: 1.0.4
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ai-news-daily)
- [Send to Agent page](https://openagent3.xyz/skills/ai-news-daily/agent)
- [JSON manifest](https://openagent3.xyz/skills/ai-news-daily/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ai-news-daily/agent.md)
- [Download page](https://openagent3.xyz/downloads/ai-news-daily)