技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.4
统计:⭐ 2 · 421 · 1 current installs · 1 all-time installs
⭐ 2
安装量(当前) 1
🛡 VirusTotal :良性 · OpenClaw :可疑
Package:aaa2531349/ai-news-daily
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :可疑
OpenClaw 评估
The skill mostly matches an RSS/news-aggregator purpose, but there are multiple inconsistencies (version/summary-length claims, missing referenced files, and ambiguous auto‑cron behavior) that warrant caution before installing.
目的
The name/description (daily AI news aggregator, translation, summarization, scheduled push) matches the included code and dependencies (requests, feedparser, trafilatura, etc.). Requested capabilities (translation, Telegram/Discord push) are implemented via optional env vars. However metadata and docs claim 400–500 Chinese characters summaries while code/config default to 200–250, and the published version strings in SKILL.md/_meta.json/regist…
说明范围
SKILL.md instructs installation and says the skill will 'automatically create an OpenClaw scheduled task' when running daily_fetch.py. The provided files show writing to data/, creating a SQLite DB, fetching many external RSS URLs, and calling translation APIs — which is expected — but there is no push.py in the manifest (run.sh and SKILL.md mention python3 src/push.py), and the truncated daily_fetch.py doesn't clearly show code that registers…
安装机制
There is no remote install step; it's an instruction- and code-only skill with a requirements.txt. Dependencies are standard Python libs for web scraping and parsing. No downloads from arbitrary URLs or extract/install steps are present in the package.
证书
The skill does not declare required env vars in registry metadata but the code reads optional TELEGRAM_BOT_TOKEN, TELEGRAM_CHANNEL_ID, DISCORD_WEBHOOK_URL, TRANSLATE_API_KEY, and TRANSLATE_SECRET_KEY. These env vars are proportionate to push/translation features, but the mismatch between declared requirements (none) and actual optional env reads should be noted so users don't accidentally provide broad credentials without realizing why.
持久
always:false (normal). The skill advertises creating a scheduled OpenClaw job to auto-push daily at 9:00. Auto-scheduling is expected for a daily-push skill, but the implementation for creating the cron job is not obvious in the provided files (and a referenced push.py is missing). Confirm how/when the cron job is registered before allowing autonomous runs.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「ai-news-daily-v1.0.4」。简介:AI 新闻日报 v1.0.3 - 自动抓取全球 AI 行业最新动态,每日推送 10 条精选新闻。支持英文标题/内容自动翻译、400-500 字中文摘要、外部配…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aaa2531349/ai-news-daily/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: ai-news-daily-v1-0-3
description: AI 新闻日报 v1.0.3 - 自动抓取全球 AI 行业最新动态,每日推送 10 条精选新闻。支持英文标题/内容自动翻译、400-500 字中文摘要、外部配置 (config.yaml)、失败重试、智能去重。安装后自动创建 OpenClaw 定时任务,每天早上 9:00 自动推送到对话框。用于定时抓取 AI 新闻、RSS 聚合、多语言支持。
---
# 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_message.txt # 生成的消息
├── requirements.txt # Python 依赖列表
└── run.sh # 运行脚本
```
## 📰 新闻源
| 权重 | 来源 |
|------|------|
| 1.3 | 量子位、机器之心、36 氪、新智元、智东西、InfoQ |
| 1.2 | TechCrunch AI、The Verge AI、MIT Tech Review |
| 1.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 | 每日更新
```
## 🛠️ 故障排除
### 定时任务未创建
```bash
# 手动运行一次创建定时任务
python3 src/daily_fetch.py
```
### 依赖安装失败
```bash
pip install --break-system-packages -r requirements.txt
```
### 新闻抓取失败
```bash
# 查看日志
tail -f data/fetch.log
```
### 翻译失败
翻译使用 MyMemory 免费 API,如果失败会保留原文。可配置其他翻译服务:
```bash
export TRANSLATE_API_KEY="your_api_key" # DeepL/百度翻译
```
## 🔧 工作原理
1. **抓取阶段** (`daily_fetch.py`)
- 并发抓取 14 个 RSS 源
- 保存完整原始内容到数据库
- 智能去重,避免重复
2. **翻译阶段** (`translator.py`)
- 自动检测英文标题和内容
- 使用 MyMemory API 翻译成中文
- 支持 DeepL/百度翻译(需配置 API Key)
3. **摘要阶段** (`generate_summary.py`)
- 从数据库读取原始内容
- 生成 **400-500 字**中文摘要
- 自动补充说明达到字数要求
4. **推送阶段** (OpenClaw 定时任务)
- 每天 9:00 自动触发
- 生成摘要并推送到对话框
## 📝 更新日志
### v1.0.3 (2026-03-03)
- ✅ 摘要字数调整为 **400-500 字**(更详细)
- ✅ 英文标题自动翻译
- ✅ 增加更多补充说明内容
- ✅ 优化摘要提取逻辑
### v1.0.2
- ✅ 英文内容自动翻译
- ✅ 摘要字数 250-300 字
- ✅ 定时任务自动创建
### v1.0.1
- ✅ 基础功能实现
- ✅ RSS 抓取和去重
## 📄 License
MIT