Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计通过

rss-fetcherRSS 获取器

Agent Skill

rss-fetcher 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

23,712

周安装

988

GitHub Stars

公开资料未说明

下载量

7,904
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:rss-fetcher(RSS 获取器)
来源仓库:https://github.com/noah-1106/rss-fetcher
安装命令:
openclaw skills install rss-fetcher
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install rss-fetcher

简介

统一管理RSS整理任务,具备增量抓取与健康监测能力。

  • 适合长期跟踪特定网站更新情况的运维场景。
  • 自动生成HTML报告展示抓取状态与异常日志。
  • 需定期维护订阅源有效性以防失效链接。rss-fetcher 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 高频率抓取可能触发反爬虫机制,应适度控制速率。

SKILL.md

name
rss_fetcher
version
1.1.0
description
|
metadata
openclaw
emoji
📰
category
data-source
tags
["rss", "feed", "news", "fetcher", "tagging"]
requires
bins
["python3"]

RSS Fetcher - 统一RSS整理系统 | Unified RSS Feed Fetcher

核心特性 | Core Features

  • 增量抓取 / Incremental Fetching - 只抓取新文章,基于URL哈希自动去重 | Only fetch new articles, auto-deduplicate based on URL hash
  • 自动标签 / Auto-tagging - 优先使用RSS自带category,无则自动提取标题关键词 | Prioritize RSS category, auto-extract keywords from title if absent
  • HTML报告 / HTML Reports - 生成可筛选的静态HTML页面,支持日期/分类/标签多维度筛选 | Generate filterable static HTML pages with date/category/tag filters
  • 源健康监控 / Source Health Monitoring - 检测RSS源可用性,支持批量检查 | Monitor RSS source availability with batch checking
  • 分类管理 / Category Management - 文章自动继承源的分类,支持多维度筛选 | Articles inherit source categories, multi-dimensional filtering
  • 超时设置 / Timeout Setting - 单源30秒超时,避免长时间阻塞 | 30-second timeout per source to avoid blocking

数据库设计 | Database Design

表结构 | Table Structure

表名 / Table用途 / Purpose核心字段 / Core Fields
articles文章主数据 / Article dataid, source_id, category, title, url, published_at
tags标签定义 / Tag definitionsid, name
article_tags文章-标签关联 / Article-tag relationarticle_id, tag_id
fetch_logs抓取日志 / Fetch logssource_id, started_at, found, new, status

说明 / Note: RSS源通过 config/sources.json 文件管理,不存入数据库 | RSS sources are managed via config/sources.json file, not in database

关键设计 | Key Design

  • 时间戳使用 INTEGER (Unix时间戳) - 查询更快、比较更简单 | INTEGER Unix timestamps for faster queries
  • published_at NOT NULL - 必填,缺失时标记为 UNRELIABLE_TIME (1970-01-01) | Required, marked as UNRELIABLE_TIME if missing
  • URL唯一索引 / URL Unique Index - 确保去重 | Ensure deduplication
  • 多标签支持 / Multi-tag Support - 一篇文章可拥有多个标签 | Multiple tags per article
  • category字段 / Category Field - 继承自sources.json的分类配置 | Inherited from sources.json configuration

快速开始 | Quick Start

1. 初始化数据库 | Initialize Database

cd skills/rss_fetcher
python3 scripts/init_db.py

2. 配置RSS源 | Configure RSS Sources

编辑 config/sources.json,添加你的RSS源: Edit config/sources.json to add your RSS sources:

{
  "sources": [
    {
      "id": "openai",
      "name": "OpenAI Blog",
      "url": "https://openai.com/blog/rss.xml",
      "category": "tech",
      "enabled": true
    }
  ]
}

3. 执行抓取 | Execute Fetch

# 抓取所有源(最近24小时)/ Fetch all sources (last 24 hours)
python3 scripts/fetch.py

# 抓取指定源 / Fetch specific sources
python3 scripts/fetch.py --sources openai huggingface

# 抓取最近48小时 / Fetch last 48 hours
python3 scripts/fetch.py --hours 48

# 使用更多线程(默认20,最大50)/ Use more workers (default 20, max 50)
python3 scripts/fetch.py --workers 50

⚠️ 抓取后记得更新HTML报告 - 新抓取的文章需要重新生成页面才能在浏览器中查看 ⚠️ Remember to update HTML report after fetching - New articles require regeneration to view in browser

python3 scripts/fetch.py && python3 scripts/generate_html.py

4. 生成HTML报告 | Generate HTML Report

注意:每次抓取新文章后,必须重新生成HTML页面才能看到最新内容。 Note: Must regenerate HTML after fetching new articles to see latest content.

# 抓取并立即更新HTML(推荐工作流)/ Fetch and update HTML (recommended workflow)
python3 scripts/fetch.py && python3 scripts/generate_html.py

# 单独生成HTML(已有新数据时)/ Generate HTML only (when new data exists)
python3 scripts/generate_html.py

# 打开查看 / Open to view
open data/index.html  # Mac
# 或浏览器访问 / Or browser: file:///.../rss_fetcher/data/index.html

HTML报告功能 / HTML Report Features:

  • 📅 日期筛选 / Date Filter - 起止日期选择 | Start/end date selection
  • 🏷️ 分类筛选 / Category Filter - 按文章分类筛选 | Filter by article category
  • 🔍 关键词搜索 / Keyword Search - 实时搜索标题 | Real-time title search
  • ☑️ 标签多选 / Multi-tag Selection - 多标签组合筛选(AND逻辑)| Multi-tag combo filter (AND logic)
  • 📊 实时统计 / Real-time Stats - 显示筛选结果数量 | Show filtered results count

5. 源管理 | Source Management

# 检查所有源的健康状态 / Check all source health
python3 scripts/source.py check

# 查看源统计 / View source statistics
python3 scripts/source.py stats

# 添加新源 / Add new source
python3 scripts/source.py add myblog "My Blog" "https://example.com/feed.xml" tech

# 禁用/启用/删除源 / Disable/enable/remove source
python3 scripts/source.py disable myblog
python3 scripts/source.py enable myblog
python3 scripts/source.py remove myblog

6. 查看文章列表 | View Article List

# 终端表格查看最近文章 / View recent articles in terminal table
python3 scripts/list.py

# 查看最近48小时 / View last 48 hours
python3 scripts/list.py --hours 48

# 按分类查看 / View by category
python3 scripts/list.py --category tech

# JSON格式输出 / JSON output
python3 scripts/list.py --json

配置文件 | Configuration Files

sources.json

{
  "_description": "RSS源配置文件 | RSS source config file",
  "_updated": "2026-03-15",
  "_total_sources": 111,
  "sources": [
    {
      "id": "openai",
      "name": "OpenAI Blog",
      "url": "https://openai.com/blog/rss.xml",
      "category": "tech",
      "enabled": true
    }
  ]
}

字段说明 / Field Description:

  • id - 源唯一标识 | Source unique identifier
  • name - 显示名称 | Display name
  • url - RSS订阅地址 | RSS feed URL
  • category - 文章分类 | Article category
  • enabled - 是否启用 | Whether enabled

分类可自由定义,在 sources.json 中使用任意分类名称即可。 Categories can be freely defined using any category name in sources.json.


自动标签系统 | Auto-tagging System

标签生成逻辑 | Tag Generation Logic

  1. 优先使用RSS自带category - 提取 <category> 标签内容

Prioritize RSS category - Extract <category> tag content

  1. Fallback关键词提取 - 无category时从标题提取:

Fallback keyword extraction - Extract from title if no category: - 规则匹配(AI/区块链/股票等预定义规则)| Rule matching (AI/blockchain/stocks etc.) - 名词提取(英文大写单词、中文词组)| Noun extraction (English caps, Chinese phrases)

预定义标签规则 | Predefined Tag Rules

关键词 / Keywords标签 / Tag
AI, GPT, 大模型, 机器学习AI
区块链, 比特币, crypto区块链 / Blockchain
股票, 股市, equity股票 / Stocks
游戏, gaming, esports游戏 / Gaming
......

规则定义在 fetch.pyTAG_RULES 中,可自由扩展。 Rules defined in TAG_RULES in fetch.py, freely extensible.


数据查询示例 | Data Query Examples

获取今天所有文章 | Get Today's Articles

SELECT title, url, source_id
FROM articles
WHERE date(fetched_at, 'unixepoch') = date('now')
ORDER BY published_at DESC;

获取某分类的文章 | Get Articles by Category

SELECT * FROM articles
WHERE category = 'tech'
AND published_at > strftime('%s', 'now', '-24 hours');

获取带标签的文章 | Get Articles with Tags

SELECT a.title, a.url, GROUP_CONCAT(t.name) as tags
FROM articles a
LEFT JOIN article_tags at ON a.id = at.article_id
LEFT JOIN tags t ON at.tag_id = t.id
WHERE a.category = 'tech'
GROUP BY a.id;

获取热门标签 | Get Popular Tags

SELECT t.name, COUNT(*) as count
FROM tags t
JOIN article_tags at ON t.id = at.tag_id
GROUP BY t.id
ORDER BY count DESC;

文件位置 | File Locations

rss_fetcher/
├── SKILL.md                    # 本文档 | This document
├── config/
│   └── sources.json           # RSS源配置 | RSS source config
├── scripts/
│   ├── init_db.py             # 数据库初始化 | DB initialization
│   ├── fetch.py               # 核心抓取脚本(含自动标签)| Core fetch script
│   ├── generate_html.py       # HTML报告生成 | HTML report generation
│   ├── source.py              # 源健康检查与管理 | Source health check
│   ├── list.py                # 终端文章列表 | Terminal article list
│   └── query.py               # 数据查询工具 | Data query tool
├── data/
│   ├── rss_fetcher.db         # SQLite数据库 | SQLite database
│   └── index.html             # 生成的HTML报告 | Generated HTML report
└── references/
    └── schema.sql             # 数据库结构参考 | DB schema reference

数据库位置 | Database Location

rss_fetcher/data/rss_fetcher.db

注意事项 | Notes

  1. 首次抓取会比较慢 - 需要抓所有历史文章

First fetch is slow - Need to fetch all historical articles

  1. SQLite并发 - 单进程访问,避免并发写入

SQLite concurrency - Single process access, avoid concurrent writes

  1. 时间不可靠文章 - published_at = 0 的文章需人工审核

Unreliable time articles - Articles with published_at = 0 need manual review

  1. 标签自动累积 - 随着文章增多,标签会自动丰富

Tags auto-accumulate - Tags enrich as more articles are fetched

  1. 定期重新生成HTML - 抓取新文章后需重新运行 generate_html.py

Regularly regenerate HTML - Must rerun generate_html.py after fetching new articles


*Part of OpenClaw Daily Research System*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.02%
按下载量换算6,562

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills