Install
openclaw skills install feed-watcherMonitor RSS/Atom feeds and send notifications when new content appears. Track YouTube channels, Reddit subreddits, GitHub releases, blogs, and any RSS/Atom f...
openclaw skills install feed-watcherMonitor RSS/Atom feeds and send notifications when new content appears.
This skill monitors RSS and Atom feeds for new content and sends notifications via webhook or cron job. It's designed to track YouTube channels, Reddit subreddits, GitHub repos, blogs, and any other RSS/Atom feed.
# Install required dependencies
npm install
# Or use globally
npm install -g rss-parser dotenv
Create a .env file with:
# Webhook URL for notifications (Discord, Telegram, Slack, etc.)
WEBHOOK_URL=https://your-webhook-url.com/hook
# Optional: Custom user agent
USER_AGENT=feed-watcher/1.0
node index.js add "feed_name" "https://example.com/feed.xml"
Example - YouTube channel:
node index.js add "Psychopoly" "https://www.youtube.com/feeds/videos.xml?channel_id=UCXXXX"
Example - Reddit subreddit:
node index.js add "programming" "https://www.reddit.com/r/programming/.rss"
Example - GitHub releases:
node index.js add "openclaw" "https://github.com/openclaw/openclaw/releases.atom"
node index.js list
node index.js scan
node index.js check "feed_name"
node index.js remove "feed_name"
Add to crontab for automatic monitoring:
# Run every 30 minutes
*/30 * * * * cd /path/to/feed-watcher && node index.js scan >> /var/log/feed-watcher.log 2>&1
Find channel ID, then use:
https://www.youtube.com/feeds/videos.xml?channel_id=UCxxxxx
For r/programming:
https://www.reddit.com/r/programming/.rss
For a repo:
https://github.com/owner/repo/releases.atom
| Variable | Required | Description |
|---|---|---|
| WEBHOOK_URL | No | URL to send notifications |
| DATA_DIR | No | Directory for state files (default: ~/.feed-watcher) |
When new content is found, the webhook receives:
{
"feed": "Feed Name",
"count": 3,
"items": [
{
"title": "Article Title",
"link": "https://example.com/article",
"pubDate": "2024-01-15T10:30:00Z"
}
]
}
~/.feed-watcher/feeds.jsonscan before setting up cron to test feeds