全网新闻聚合助手

# 全网新闻聚合 Skill — News Aggregator

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "全网新闻聚合助手" with this command: npx skills add jpengcheng523-netizen/quannwang-news-aggregator

全网新闻聚合 Skill — News Aggregator

聚合多个信息源,按关键词过滤,自动生成每日简报并推送到飞书。

版本: 1.0.0 | 作者: 肥肥🐶 | 分类: 效率工具 > 信息聚合


功能特性

  • 🔍 多信源抓取: 支持 RSS 订阅源、网页爬取(通用 URL)
  • 🏷️ 关键词过滤: 精确匹配 + 模糊匹配,可配置多个关键词分类
  • 📰 每日简报: 自动按科技/财经/行业等分类整理新闻
  • 📤 飞书推送: 生成 Markdown 格式简报,一键推送到指定会话
  • 定时任务: 支持 Cron 表达式配置抓取时间(默认每天 08:00 UTC)
  • 🔄 去重机制: 基于标题相似度自动去重
  • 💾 历史存储: 本地存储已推送新闻,防止重复推送

安装方式

方式一:通过 OpenClaw Skill 市场安装(待上线)

openclaw skill install news-aggregator

方式二:手动安装

# 克隆到本地 skills 目录
git clone <repo_url> /home/gem/workspace/agent/workspace/skills/news-aggregator

# 安装依赖
cd /home/gem/workspace/agent/workspace/skills/news-aggregator
npm install

配置说明

首次使用需配置 config.json

{
  "feishu": {
    "chat_id": "oc_xxxxxxxx",       // 推送目标群/会话 ID
    "receive_id_type": "chat_id"    // chat_id(群聊)或 open_id(私聊)
  },
  "keywords": {
    "科技": ["AI", "人工智能", "大模型", "LLM", "ChatGPT"],
    "财经": ["经济", "股市", "加密货币", "比特币"],
    "行业": ["新能源", "半导体", "自动驾驶"]
  },
  "sources": [
    {
      "name": "36氪",
      "url": "https://36kr.com/feed",
      "type": "rss"
    },
    {
      "name": "少数派",
      "url": "https://sspai.com/feed",
      "type": "rss"
    },
    {
      "name": "虎嗅",
      "url": "https://www.huxiu.com/rss/0.xml",
      "type": "rss"
    }
  ],
  "schedule": "0 8 * * *",
  "maxNewsPerCategory": 10,
  "historyFile": "./data/history.json"
}

使用方法

启动定时任务

node scripts/scheduler.js

手动触发一次抓取

node scripts/fetch.js

手动推送简报

node scripts/push.js

一键运行(抓取 + 生成 + 推送)

node scripts/run.js

脚本说明

脚本功能
fetch.js从配置的信源抓取最新新闻
filter.js按关键词过滤并分类新闻
digest.js生成每日简报 Markdown
push.js将简报推送到飞书
run.js串联:抓取 → 过滤 → 生成 → 推送
scheduler.js基于 Cron 的定时调度器

数据结构

新闻条目

{
  "title": "新闻标题",
  "url": "https://example.com/article",
  "source": "信源名称",
  "publishedAt": "2026-04-22T10:00:00Z",
  "summary": "摘要内容(可选)",
  "category": "科技"
}

定价参考

方案价格功能
免费版¥03 个信源、每日 1 次、单一分类
专业版¥29/月10 个信源、每小时抓取、多分类
企业版¥99/月无限信源、自定义信源、API 接口、多渠道推送

技术栈

  • Node.js 18+
  • RSS 解析: rss-parser
  • 网页爬取: axios + cheerio
  • 飞书 SDK: openclaw-lark(内置)
  • 定时任务: node-cron

注意事项

  1. 请遵守各信源的 robots.txt 和使用条款
  2. 建议抓取间隔不小于 30 分钟
  3. 首次使用请先测试 fetch.js 确认信源可用
  4. 飞书推送需要机器人已在目标会话中

免责声明

本 Skill 仅供个人学习研究使用,请勿用于商业爬虫或其他违规用途。

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Multi Edge-TTS CN

Edge-TTS 在线语音合成 skill。基于微软 Edge TTS 引擎,生成速度快(1-2秒),支持多种音色和输出格式。同时支持飞书(OGG/Opus)和企业微信(AMR)。默认音色 xiaoxiao_lively。需联网。

Registry SourceRecently Updated
General

vedic-destiny

吠陀命盘分析中文入口。用于完整命盘研判、命主盘 Rashi chart 与九分盘 Navamsha chart 联读、既往事件回看、出生时间稳定度判断、事业主题、婚姻主题、时空盘专题,以及基于 Jagannatha Hora PDF、星盘截图或文本命盘数据的系统拆盘。当用户提到完整星盘、事业方向、婚姻问题、关系窗...

Registry SourceRecently Updated
General

One Person Company OS

Build a visual operating cockpit for an AI-native one-person company across promise, buyer, product, delivery, cash, learning, and assets. / 为 AI 一人公司建立可视化经营...

Registry SourceRecently Updated
General

健康追踪

健康追踪技能 - 追踪饮水、睡眠、步数等健康数据,JSON存储。

Registry SourceRecently Updated