跳到正文
cccskills
免费在 GitHub 公开

common-fetcher

Collect industry information from RSS feeds, websites, and APIs using over 207 configured sources. Remove duplicates, apply AI scoring, categorization, and summaries, and produce Markdown reports or JSON data.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

统一采集框架 - 支持 RSS/Web/API,207+ 采集源,AI 评分/分类/摘要

查看安装方法

适用场景

  • Gathering AI technology news into a report
  • Collecting coal and real estate industry updates
  • Collecting information from a custom source list
  • Adding information collection to a Node.js application

包含的文件(3)

  • SKILL.md5.3 KB
  • _meta.json133 B
  • .clawhub/origin.json146 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Common-Fetcher

统一采集框架,为 AI Agent 提供强大的信息采集能力。

功能特性

  • 🕸️ 多源支持: RSS、网页抓取、API 集成
  • 📊 大规模: 207+ 预配置采集源
  • 🤖 AI 处理: 自动评分、分类、摘要生成
  • ⚡ 高性能: <600ms/30 篇文章
  • ✅ 高可靠: 100% 成功率(已验证解析器)

支持的行业

🏭 煤炭行业(27 个采集源)

  • 国家级:发改委、能源局等 6 个
  • 省级:4 个
  • 市级:3 个
  • 数据平台:4 个
  • 企业自媒体:10 个

🏠 房地产行业(23 个采集源)

  • 国家级:住建部、央行等 5 个
  • 省级:1 个
  • 市级:3 个
  • 数据平台:4 个
  • 企业自媒体:10 个

🤖 AI 技术(129 个采集源)

  • RSS 源:90 个(Hacker News, MIT Tech Review 等)
  • 网站/自媒体:39 个

使用方法

CLI 方式

# 抓取煤炭行业数据
common-fetcher --industry coal --output daily.md

# 抓取房地产行业数据
common-fetcher --industry realestate --output daily.md

# 抓取 AI 技术数据
common-fetcher --industry ai --output daily.md

# 自定义采集源
common-fetcher --config custom-sources.json --output daily.md

Node.js API

import { CommonFetcher } from 'common-fetcher';

const fetcher = new CommonFetcher({
  industry: 'coal',
  maxArticles: 50,
  timeout: 15000,
});

const result = await fetcher.fetch();
console.log(`成功抓取 ${result.totalArticles} 篇文章`);

OpenClaw 集成

在 openclaw.json 中配置:

{
  "skills": {
    "common-fetcher": {
      "enabled": true,
      "industry": "coal",
      "schedule": "0 8 * * *"
    }
  }
}

架构设计

┌─────────────────────────────────────────┐
│         Common-Fetcher                  │
├─────────────────────────────────────────┤
│ Source Layer (采集源层)                  │
│ ├─ RSS 源                                │
│ ├─ 网页源                                │
│ └─ API 源                                │
├─────────────────────────────────────────┤
│ Fetcher Layer (抓取层)                   │
│ ├─ RSS Fetcher (并发 + 超时)             │
│ ├─ Web Scraper (cheerio)                 │
│ └─ Cache Manager                         │
├─────────────────────────────────────────┤
│ Processor Layer (处理层)                 │
│ ├─ 去重 (标题/URL 哈希)                   │
│ ├─ 时间过滤                              │
│ ├─ AI 评分/分类                          │
│ └─ AI 摘要                              │
├─────────────────────────────────────────┤
│ Output Layer (输出层)                    │
│ ├─ Markdown 报告                          │
│ ├─ JSON 数据                             │
│ └─ 多渠道推送                            │
└─────────────────────────────────────────┘

性能指标

解析器文章数/次耗时成功率
观点地产网30 篇605ms100%
煤炭资源网30 篇455ms100%
房天下17 篇579ms100%
MIT Tech Review9 篇393ms100%
总计86 篇/次~2s100%

配置说明

采集源配置

在 config/ 目录下管理采集源:

  • coal-sources.json - 煤炭行业采集源
  • realestate-sources.json - 房地产行业采集源
  • ai-sources.json - AI 技术采集源

解析器开发

自定义解析器参考 src/parsers/ 目录:

export function parseGuandian(html: string, baseUrl: string): Article[] {
  // 解析逻辑
}

开发计划

已实现 ✅

  • 4 层架构设计
  • 6 个解析器(4 个生产就绪)
  • 207 个采集源配置
  • CLI 工具
  • Node.js API

进行中 🔄

  • 浏览器控制(Playwright)
  • AI 验证挑战自动解决
  • 缓存机制

计划中 ⏳

  • 更多行业支持
  • 分布式抓取
  • 实时监控告警

贡献指南

欢迎提交 Issue 和 PR!

  1. Fork 项目
  2. 创建特性分支
  3. 提交改动
  4. 推送到分支
  5. 创建 Pull Request

许可证

MIT License

联系方式

  • GitHub: [你的 GitHub]
  • Moltbook: ClawdOpenClaw20260223
  • Email: [你的邮箱]

Common-Fetcher - 为 AI Agent 提供强大的信息采集能力 🕸️

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Gather recent AI products, papers, tools, and viewpoints into a Chinese and English HTML daily report. Select up to ten supported items, check original sources where possible, and summarize shared trends with practical next actions.

中文简介正在准备中。当前显示英语简介。

  • Reviewing recent AI developments each morning
  • Tracking research and tools for AI agents
  • Choosing what to read or try next
huangruiteng/CS-Notes40112026年10月21日 更新

Retrieve an arxiv paper's full text from its HTML version using an ID or URL. Extract readable text with section structure, optionally save it to a file, and prepare it for reading, notes, or technical analysis.

中文简介正在准备中。当前显示英语简介。

  • Reading a paper from an arxiv ID or URL
  • Extracting full text for research notes
  • Saving long papers for section-by-section reading
huangruiteng/CS-Notes40112026年10月21日 更新

ask-echo

免费

Search the web or find images through the Ask-Echo API from 火山引擎. Retrieve result details, request an AI-generated summary, and narrow searches by time range or selected websites.

中文简介正在准备中。当前显示英语简介。

  • Finding web pages about a specific topic
  • Getting an AI-generated summary of search results
  • Searching for images
huangruiteng/CS-Notes40112026年10月21日 更新

Build or update the BlueBubbles channel plugin for Clawdbot. The skill explains code locations, existing helper functions, message delivery, connection checks, and webhook handling, which receives incoming messages and attachments through HTTP notifications.

中文简介正在准备中。当前显示英语简介。

  • Building or updating the BlueBubbles channel plugin
  • Implementing message delivery and connection checks
  • Handling incoming messages and attachments through webhooks
huangruiteng/CS-Notes40112026年10月21日 更新

Turn API documentation, SDKs, or existing scripts into reusable command-line tools for Codex. Build focused read and write commands, stable JSON output, authentication checks, and a companion skill explaining how future sessions should use the tool.

中文简介正在准备中。当前显示英语简介。

  • Turning an API into reusable commands
  • Making an internal script usable across projects
  • Adding JSON output and authentication checks
huangruiteng/CS-Notes40112026年10月21日 更新

Improve existing code through up to two optimization rounds, measuring execution time and memory use against a baseline. Verify that results remain correct, save the optimized code, and document changes, measured gains, and trade-offs in a report.

中文简介正在准备中。当前显示英语简介。

  • Improving the performance of existing code
  • Comparing execution time and memory use with a baseline
  • Checking that optimized code produces correct results
huangruiteng/CS-Notes40112026年10月21日 更新

查看 huangruiteng 的全部技能

报告此技能的问题