blogwatcher:RSS 和 Atom 订阅源监控 CLI - Openclaw Skills

作者:互联网

2026-04-14

AI教程

什么是 blogwatcher?

blogwatcher 是一款精简的命令行界面工具,专为希望在不离开终端的情况下获取关注网页内容的开发人员和高级用户设计。通过将此工具集成到您的 Openclaw Skills 库中,您可以实现跨多个源抓取、列出和管理文章的自动化流程。它通过为您的所有 RSS 和 Atom 订阅提供集中枢纽,简化了内容获取的工作流,使其成为技术研究和了解行业动态的重要工具。

下载入口:https://github.com/openclaw/skills/tree/main/skills/mohdalhashemi98-hue/mh-blogwatcher

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install mh-blogwatcher

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 /skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 mh-blogwatcher。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

blogwatcher 应用场景

  • 将来自多个开发人员和组织的技术博客更新集中到单个终端视图中。
  • 通过扫描 RSS 和 Atom 订阅源中的特定更新或文章来自动化新闻发现。
  • 将博客监控集成到基于终端的开发工作流中,以减少浏览器上下文切换。
  • 通过官方订阅源更新跟踪产品发布或安全公告,以便快速响应。
blogwatcher 工作原理
  1. 使用 add 命令将目标博客或 RSS/Atom 订阅源 URL 添加到本地数据库以开始跟踪。
  2. 执行 scan 命令以解析所有已配置的源,获取新内容和更新。
  3. 使用 articles list 命令查看获取的文章及其相关元数据。
  4. 通过将特定项目或所有条目标记为已读来管理阅读状态,保持仪表盘整洁。
  5. 从跟踪注册表中删除不活跃或不相关的博客,以维护优化的订阅列表。

blogwatcher 配置指南

要开始将此工具作为 Openclaw Skills 设置的一部分使用,请通过 Go 安装 CLI:

go install github.com/Hyaxia/blogwatcher/cmd/blogwatcher@latest

通过运行以下命令验证安装并探索可用标志:

blogwatcher --help

blogwatcher 数据架构与分类体系

该技能管理与订阅源和文章条目相关的数据,以确保持久跟踪。架构遵循以下结构:

组件 描述
博客注册表 存储显示名称、源 URL 和检测到的订阅协议 (RSS/Atom)。
文章日志 维护文章标题、唯一链接和发布时间戳的记录。
阅读状态 指示特定文章是否已标记为已读的布尔标志。
元数据 包括注册表中每个源的扫描时间戳和发现指标。
name: blogwatcher
description: Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
homepage: https://github.com/Hyaxia/blogwatcher
metadata:
  {
    "openclaw":
      {
        "emoji": "??",
        "requires": { "bins": ["blogwatcher"] },
        "install":
          [
            {
              "id": "go",
              "kind": "go",
              "module": "github.com/Hyaxia/blogwatcher/cmd/blogwatcher@latest",
              "bins": ["blogwatcher"],
              "label": "Install blogwatcher (go)",
            },
          ],
      },
  }

blogwatcher

Track blog and RSS/Atom feed updates with the blogwatcher CLI.

Install

  • Go: go install github.com/Hyaxia/blogwatcher/cmd/blogwatcher@latest

Quick start

  • blogwatcher --help

Common commands

  • Add a blog: blogwatcher add "My Blog" https://example.com
  • List blogs: blogwatcher blogs
  • Scan for updates: blogwatcher scan
  • List articles: blogwatcher articles
  • Mark an article read: blogwatcher read 1
  • Mark all articles read: blogwatcher read-all
  • Remove a blog: blogwatcher remove "My Blog"

Example output

$ blogwatcher blogs
Tracked blogs (1):

  xkcd
    URL: https://xkcd.com
$ blogwatcher scan
Scanning 1 blog(s)...

  xkcd
    Source: RSS | Found: 4 | New: 4

Found 4 new article(s) total!

Notes

  • Use blogwatcher --help to discover flags and options.