← Back to Skills Marketplace
aaa2531349

ai-news-daily-v1.0.4

by aaa2531349 · GitHub ↗ · v1.0.4
cross-platform ⚠ suspicious
591
Downloads
2
Stars
3
Active Installs
4
Versions
Install in OpenClaw
/install ai-news-daily
Description
AI 新闻日报 v1.0.3 - 自动抓取全球 AI 行业最新动态,每日推送 10 条精选新闻。支持英文标题/内容自动翻译、400-500 字中文摘要、外部配置 (config.yaml)、失败重试、智能去重。安装后自动创建 OpenClaw 定时任务,每天早上 9:00 自动推送到对话框。用于定时抓取 AI 新...
README (SKILL.md)

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 归一化 + 标题相似度检测,避免重复新闻

🚀 快速开始

安装

# 解压 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 \x3Cjob-id>

# 暂停任务
openclaw cron update \x3Cjob-id> --enabled false

# 删除任务
openclaw cron remove \x3Cjob-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 | 每日更新

🛠️ 故障排除

定时任务未创建

# 手动运行一次创建定时任务
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/百度翻译

🔧 工作原理

  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

Usage Guidance
This package looks like a plausible AI-news aggregator, but there are several inconsistencies you should resolve before installing or enabling it to run autonomously: - Version/behavior mismatch: SKILL.md and manifest report different versions and different summary-length targets (SKILL.md: 400–500 Chinese characters; code/config: 200–250). Decide which behavior you expect. - Missing file: run.sh and documentation reference src/push.py, but push.py is not in the package. Verify how push/cron registration is implemented and whether automatic scheduling actually occurs. - Auto-cron: the skill claims to create an OpenClaw scheduled task. Ask for the exact code path that registers the cron job (or inspect the remainder of daily_fetch.py) before allowing automatic invocation. - Env vars: translator and push features read TELEGRAM_*/DISCORD_WEBHOOK_URL/TRANSLATE_* from environment. Only provide credentials you trust and are prepared to allow the skill to use; if you won't use push features, leave those env vars unset. - Data persistence: the skill saves raw article content to data/news.db and writes data/openclaw_message.txt. If sensitive content could appear in fetched pages, review retention and file permissions. - Network activity: the skill will fetch many external RSS/HTTP endpoints and call translation services (MyMemory/Baidu/DeepL). If you require network isolation, run in a controlled environment first. Recommendation: review the complete daily_fetch.py (the provided snippet was truncated) and confirm where cron registration and push logic live. If you cannot verify the auto-scheduling/push implementation, run the skill manually (./run.sh or python3 src/daily_fetch.py in an isolated/test environment) and inspect created files/logs before enabling autonomous scheduled runs.
Capability Analysis
Type: OpenClaw Skill Name: ai-news-daily Version: 1.0.4 The OpenClaw skill 'ai-news-daily' is a news aggregator designed to fetch, summarize, and push AI-related news daily. Its functionality, including external network requests to RSS feeds and translation APIs (MyMemory, Baidu, DeepL), local file system access (SQLite DB, logs, output file), and the creation of an OpenClaw scheduled task, aligns with its stated purpose. Sensitive API keys are handled securely via environment variables. There is no evidence of intentional harmful behavior such as data exfiltration, unauthorized remote control, or malicious prompt injection attempts in SKILL.md. Minor inconsistencies like the summary word count in `config.yaml` versus `SKILL.md` and `generate_summary.py` are functional bugs, not security vulnerabilities or malicious intent.
Capability Assessment
Purpose & Capability
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/registry differ, indicating sloppy packaging/version drift.
Instruction Scope
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 an OpenClaw cron job. The instructions also reference environment variables (TELEGRAM_*, DISCORD_WEBHOOK_URL, TRANSLATE_API_KEY) that are not declared in metadata; they appear optional in code but are used if present. This combination (missing referenced script + unclear auto-cron behavior + undocumented env use) is a behavioural inconsistency to verify.
Install Mechanism
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.
Credentials
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.
Persistence & Privilege
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ai-news-daily
  3. After installation, invoke the skill by name or use /ai-news-daily
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.4
- Increased summary length to 400–500 Chinese characters for more detailed news digests - Added English title and content auto-translation - Updated and optimized summary extraction logic - Reorganized source files: new translation and summary modules, removed setup/push scripts - Improved documentation to reflect new configuration options and workflow
v1.0.3
- Added support for automatic creation of OpenClaw scheduled tasks to enable daily 9:00 AM news push after installation. - New setup.py script to automate scheduled task setup. - Modularized source code with separate scripts for news fetching, summary generation, and push logic. - Improved documentation to cover scheduled tasks, troubleshooting tips, and detailed usage instructions. - Enhanced config/config.yaml structure for clearer settings.
v1.0.2
1. 新增多家AI媒体渠道 2.优化新闻推荐权重,使推荐内容更优质 3.优化摘要撰写
v1.0.0
1.0.0:Push 10 trending AI news articles every day at 9:00 AM, intelligently filter and generate summaries, and include links to read the full articles.
Metadata
Slug ai-news-daily
Version 1.0.4
License
All-time Installs 3
Active Installs 3
Total Versions 4
Frequently Asked Questions

What is ai-news-daily-v1.0.4?

AI 新闻日报 v1.0.3 - 自动抓取全球 AI 行业最新动态,每日推送 10 条精选新闻。支持英文标题/内容自动翻译、400-500 字中文摘要、外部配置 (config.yaml)、失败重试、智能去重。安装后自动创建 OpenClaw 定时任务,每天早上 9:00 自动推送到对话框。用于定时抓取 AI 新... It is an AI Agent Skill for Claude Code / OpenClaw, with 591 downloads so far.

How do I install ai-news-daily-v1.0.4?

Run "/install ai-news-daily" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is ai-news-daily-v1.0.4 free?

Yes, ai-news-daily-v1.0.4 is completely free (open-source). You can download, install and use it at no cost.

Which platforms does ai-news-daily-v1.0.4 support?

ai-news-daily-v1.0.4 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created ai-news-daily-v1.0.4?

It is built and maintained by aaa2531349 (@aaa2531349); the current version is v1.0.4.

💬 Comments