name: reddit-trends-tracker description: Track trending topics across multiple subreddits and generate daily reports with AI-powered insights metadata: clawdbot: emoji: ๐ requires: bins: - node skills: - reddit-readonly
Reddit Trends Tracker
Track trending topics, posts, and discussions across multiple subreddits. Generate daily reports with AI-powered insights and trend analysis.
What This Skill Does
- Monitor multiple subreddits for trending content
- Track keyword frequency and sentiment
- Identify emerging topics before they go viral
- Generate daily trend reports
- Export data for analysis
Features
1. Multi-Subreddit Monitoring
Track up to 20 subreddits simultaneously:
node {baseDir}/scripts/tracker.mjs track \
--subreddits "artificial,MachineLearning,programming" \
--timeframe 24h
2. Keyword Analysis
Find trending keywords and topics:
node {baseDir}/scripts/tracker.mjs keywords \
--subreddits "artificial" \
--min-frequency 5 \
--output trends.json
3. Daily Report Generation
Create comprehensive daily reports:
node {baseDir}/scripts/tracker.mjs report \
--date today \
--format markdown \
--output daily-report.md
4. Sentiment Tracking
Track sentiment changes over time:
node {baseDir}/scripts/tracker.mjs sentiment \
--topic "AI safety" \
--days 7
Configuration
Create config.json in the skill directory:
{
"subreddits": [
"artificial",
"MachineLearning",
"programming",
"OpenAI",
"LocalLLaMA"
],
"tracking": {
"timeframe": "24h",
"minScore": 10,
"minComments": 5,
"keywords": [
"GPT",
"LLM",
"AI",
"model",
"release"
]
},
"reporting": {
"format": "markdown",
"includeLinks": true,
"maxPosts": 50
}
}
Usage Examples
Basic Tracking
# Track default subreddits
node {baseDir}/scripts/tracker.mjs track
# Track specific subreddits
node {baseDir}/scripts/tracker.mjs track \
--subreddits "artificial,MachineLearning"
Generate Reports
# Daily report
node {baseDir}/scripts/tracker.mjs report --date today
# Weekly report
node {baseDir}/scripts/tracker.mjs report --date week
# Custom date range
node {baseDir}/scripts/tracker.mjs report \
--start 2024-01-01 \
--end 2024-01-07
Export Data
# Export to JSON
node {baseDir}/scripts/tracker.mjs export \
--format json \
--output trends.json
# Export to CSV
node {baseDir}/scripts/tracker.mjs export \
--format csv \
--output trends.csv
Integration with OpenClaw
Daily Digest Integration
Add to HEARTBEAT.md:
Every day at 17:00 UTC:
- Run reddit-trends-tracker report
- Send summary to Telegram
- Save full report to memory/digests/
Automated Tracking
Schedule regular tracking with cron:
# Every 6 hours
0 */6 * * * cd /path/to/skill && node scripts/tracker.mjs track
Output Format
Markdown Report
# Reddit Trends Report - [DATE]
## ๐ Overview
- Total posts analyzed: 1234
- Subreddits tracked: 5
- Trending topics: 12
- Sentiment: Positive (65%)
## ๐ฅ Top Trends
### 1. GPT-5 Rumors
- Mentions: 45
- Growth: +230%
- Sentiment: Mixed
- Top subreddits: r/artificial, r/OpenAI
### 2. Local LLM Performance
- Mentions: 38
- Growth: +180%
- Sentiment: Positive
- Top subreddits: r/LocalLLaMA
## ๐ Rising Topics
...
## ๐ Declining Topics
...
## ๐ก Insights
- AI safety discussions increasing
- Open source alternatives gaining traction
- New model releases driving engagement
Advanced Features
Custom Trend Detection
Define custom trend patterns:
{
"customTrends": [
{
"name": "Model Releases",
"keywords": ["release", "launch", "new model"],
"minMentions": 10
}
]
}
Webhook Integration
Send reports to webhooks:
{
"webhooks": [
{
"url": "https://your-webhook.com/reddit-trends",
"events": ["daily_report", "viral_alert"]
}
]
}
Troubleshooting
Rate Limiting
If you hit Reddit's rate limits:
# Reduce request frequency
export REDDIT_DELAY_MS=2000
node scripts/tracker.mjs track
Data Storage
Trend data is stored in:
data/
โโโ trends/
โ โโโ 2024-01-01.json
โ โโโ 2024-01-02.json
โ โโโ ...
โโโ reports/
โโโ daily/
โโโ weekly/
License
MIT License - Free for personal and commercial use.
Support
For issues or feature requests:
- GitHub: [your-repo-url]
- OpenClaw Discord: [discord-link]