Install
openclaw skills install quannwang-news-aggregator聚合多信源新闻,按关键词分类过滤,自动生成并定时推送飞书每日简报,支持去重和历史存储。
openclaw skills install quannwang-news-aggregator聚合多个信息源,按关键词过滤,自动生成每日简报并推送到飞书。
版本: 1.0.0 | 作者: 肥肥🐶 | 分类: 效率工具 > 信息聚合
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": "科技"
}
| 方案 | 价格 | 功能 |
|---|---|---|
| 免费版 | ¥0 | 3 个信源、每日 1 次、单一分类 |
| 专业版 | ¥29/月 | 10 个信源、每小时抓取、多分类 |
| 企业版 | ¥99/月 | 无限信源、自定义信源、API 接口、多渠道推送 |
rss-parseraxios + cheerioopenclaw-lark(内置)node-cronrobots.txt 和使用条款fetch.js 确认信源可用本 Skill 仅供个人学习研究使用,请勿用于商业爬虫或其他违规用途。