← Back to Skills Marketplace
534422530

RSS监控

by 534422530 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
49
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install laosi-rss
Description
RSS监控技能 - 监控RSS/Atom订阅源,检测更新,获取新内容。
README (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. 监控社交媒体动态
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install laosi-rss
  3. After installation, invoke the skill by name or use /laosi-rss
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
监控RSS订阅更新
Metadata
Slug laosi-rss
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is RSS监控?

RSS监控技能 - 监控RSS/Atom订阅源,检测更新,获取新内容。 It is an AI Agent Skill for Claude Code / OpenClaw, with 49 downloads so far.

How do I install RSS监控?

Run "/install laosi-rss" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is RSS监控 free?

Yes, RSS监控 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does RSS监控 support?

RSS监控 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created RSS监控?

It is built and maintained by 534422530 (@534422530); the current version is v1.0.0.

💬 Comments