← 返回 Skills 市场
534422530

RSS监控

作者 534422530 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
49
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install laosi-rss
功能描述
RSS监控技能 - 监控RSS/Atom订阅源,检测更新,获取新内容。
使用说明 (SKILL.md)

RSS Monitor - RSS监控

激活词: RSS监控 / 订阅更新 / Feed监控

安装

pip install feedparser

功能

  • 解析RSS/Atom feeds
  • 检测新内容
  • 过滤分类
  • 历史记录

Python函数

import feedparser
import time
from datetime import datetime

class RSSMonitor:
    def __init__(self):
        self.feeds = {}
        self.last_check = {}
    
    def add_feed(self, name: str, url: str):
        self.feeds[name] = url
    
    def check_updates(self) -> list:
        updates = []
        for name, url in self.feeds.items():
            feed = feedparser.parse(url)
            
            for entry in feed.entries[:5]:
                entry_time = datetime(*entry.published_parsed[:6])
                
                if name not in self.last_check or entry_time > self.last_check[name]:
                    updates.append({
                        'feed': name,
                        'title': entry.title,
                        'link': entry.link,
                        'published': entry.get('published', 'Unknown'),
                    })
            
            self.last_check[name] = datetime.now()
        
        return updates
    
    def get_entries(self, url: str, limit: int = 10):
        feed = feedparser.parse(url)
        return [{
            'title': e.title,
            'link': e.link,
            'summary': e.get('summary', '')[:200],
        } for e in feed.entries[:limit]]

命令行

# 解析RSS
curl -s "https://example.com/feed.xml" | grep -o '\x3Ctitle>.*\x3C/title>'

使用场景

  1. 监控技术博客更新
  2. 跟踪新闻源
  3. 关注播客��集
  4. 监控社交媒体动态
安全使用建议
This skill appears consistent with an RSS/Atom monitor. Before installing, note: (1) it will fetch remote feed URLs over the network — only add feeds you trust and consider privacy implications; (2) the provided example keeps update state in memory (no persistence) — if you need historical state, implement safe storage; (3) pip packages run code on install — installing feedparser from PyPI is common, but you may prefer to review or pin the dependency version; (4) the curl|grep example is brittle and may not correctly parse XML/HTML — prefer using the Python feedparser code for production. If you want stronger isolation, run the skill or its dependencies in a sandboxed environment.
功能分析
Type: OpenClaw Skill Name: laosi-rss Version: 1.0.0 The RSS Monitor skill bundle provides standard functionality for parsing and monitoring RSS/Atom feeds using the legitimate 'feedparser' library. The Python code in SKILL.md implements basic feed tracking and update detection logic without any indicators of malicious behavior, data exfiltration, or unauthorized command execution.
能力评估
Purpose & Capability
Name and description describe RSS/Atom monitoring; the only dependency is feedparser and the provided Python sample implements feed parsing, update detection, and basic filtering — all coherent with the stated purpose.
Instruction Scope
SKILL.md instructs installing feedparser and shows explicit Python logic plus a simple curl example. Instructions do not request unrelated files, environment variables, or transmit data to unexpected endpoints. The curl/grep example is simplistic and brittle but not out-of-scope.
Install Mechanism
No install spec beyond advising `pip install feedparser` (a standard PyPI dependency). No arbitrary downloads or archive extraction; low install risk.
Credentials
The skill requires no environment variables, credentials, or config paths. Requested access is proportional to monitoring feeds over the network.
Persistence & Privilege
Skill is not always-on and does not request elevated persistence or modify other skills/configurations. The provided sample stores last_check in-memory (no persistent storage), which is a functional detail rather than a privilege escalation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install laosi-rss
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /laosi-rss 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
监控RSS订阅更新
元数据
Slug laosi-rss
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

RSS监控 是什么?

RSS监控技能 - 监控RSS/Atom订阅源,检测更新,获取新内容。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 49 次。

如何安装 RSS监控?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install laosi-rss」即可一键安装,无需额外配置。

RSS监控 是免费的吗?

是的,RSS监控 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

RSS监控 支持哪些平台?

RSS监控 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 RSS监控?

由 534422530(@534422530)开发并维护,当前版本 v1.0.0。

💬 留言讨论