Overview
- Skill Key
- aaa2531349/ai-news-daily
- Author
- aaa2531349
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/aaa2531349/ai-news-daily
- Latest Commit SHA
- d77686048b8bfe8897eb94e713afef9d7c5acc8f
AI 新闻日报 v1.0.3 - 自动抓取全球 AI 行业最新动态,每日推送 10 条精选新闻。支持英文标题/内容自动翻译、400-500 字中文摘要、外部配置 (config.yaml)、失败重试、智能去重。安装后自动创建 OpenClaw 定时任务,每天早上 9:00 自动推送到对话框。用于定时抓取 AI 新闻、RSS 聚合、多语言支持。
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 ai-news-daily-v1-0-3 技能。 若已安装,则直接安装 ai-news-daily-v1-0-3 技能。
# AI 新闻日报 v1.0.3
自动抓取全球 AI 行业最新动态,每日推送 10 条精选新闻。
## ✨ 功能特性 (v1.0.3)
1. **自动推送** - 安装后自动创建 OpenClaw 定时任务,每天早上 9:00 推送到对话框
2. **AI 生成摘要** - **400-500 字**中文摘要,内容更丰富详细
3. **英文自动翻译** - 英文标题和内容自动翻译成中文
4. **外部配置** - 所有参数移到 `config/config.yaml`,方便自定义
5. **完整内容保存** - 保存原始内容供 AI 生成高质量摘要
6. **失败重试** - 自动重试失败的请求,指数退避机制
7. **智能去重** - URL 归一化 + 标题相似度检测,避免重复新闻
## 🚀 快速开始
### 安装
```bash
# 解压 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 会自动推送新闻到当前对话**。
### 手动运行
```bash
# 立即抓取并推送
./run.sh
```
## ⚙️ 配置
编辑 `config/config.yaml`:
```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
```
## 📅 定时任务管理
```bash
# 查看所有定时任务
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_m...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.