{"skill":{"slug":"social-trend-report","displayName":"Social Trend Report","summary":"Automated social media trend monitoring and AI-powered weekly report generation. Collects data from Reddit, Twitter/X, and YouTube, then produces structured...","description":"---\nname: social-trend-report\ndescription: Automated social media trend monitoring and AI-powered weekly report generation. Collects data from Reddit, Twitter/X, and YouTube, then produces structured trend reports with actionable content insights. Use when asked to \"monitor trends\", \"weekly report\", \"social media analysis\", \"content research\", \"trend tracking\", or \"competitive analysis\". Works with any niche — configure subreddits, keywords, and competitors for your industry.\n---\n\n# Social Trend Report\n\nGenerate weekly trend reports by monitoring Reddit, Twitter/X, and YouTube for any niche or industry.\n\n## Overview\n\nThis skill automates the content research workflow:\n1. **Collect** data from multiple platforms (Reddit, Twitter, YouTube)\n2. **Analyze** trends, sentiment, and engagement patterns\n3. **Output** a structured report with actionable content ideas\n\n## Setup\n\n### Prerequisites\n- `bird` CLI for Twitter/X data (install: `npm i -g @anthropic/bird`)\n  - Requires Twitter auth cookies: `AUTH_TOKEN` and `CT0` env vars\n- `web_fetch` tool for Reddit JSON API\n- `web_search` tool for YouTube discovery\n\n### Configuration\n\nCreate a `config.json` in your workspace to customize monitoring targets:\n\n```json\n{\n  \"niche\": \"your industry/niche name\",\n  \"reddit\": {\n    \"subreddits\": [\"subreddit1\", \"subreddit2\", \"subreddit3\"],\n    \"timeframe\": \"week\",\n    \"limit\": 10\n  },\n  \"twitter\": {\n    \"keywords\": [\"keyword1\", \"keyword2 phrase\", \"keyword3\"],\n    \"lang\": \"en\"\n  },\n  \"youtube\": {\n    \"search_queries\": [\"niche weekly update\", \"niche tutorial 2026\"],\n    \"competitors\": [\"@competitor1\", \"@competitor2\"]\n  },\n  \"output\": {\n    \"dir\": \"reports\",\n    \"filename_pattern\": \"weekly-{date}.md\",\n    \"discord_channel\": null\n  }\n}\n```\n\nIf no config.json exists, the skill will prompt you for niche and targets.\n\n## Workflow\n\n### Step 1: Data Collection\n\nRun `scripts/collect.sh` or use the tools directly:\n\n**Reddit** (via web_fetch):\n```\nURL pattern: https://www.reddit.com/r/{subreddit}/top/.json?t=week&limit=10\nExtract: title, score, num_comments, selftext (first 200 chars)\n```\n\n**Twitter/X** (via bird CLI):\n```bash\nbird search \"{keyword}\" --limit 20\n```\n\n**YouTube** (via web_search):\n```\nSearch: \"{niche} {keyword} this week\" + competitor channel names\n```\n\n### Step 2: AI Analysis\n\nFeed collected data to the agent with this analysis prompt:\n\n> Analyze the following social media data for the {niche} niche.\n> Identify: (1) trending topics with data backing, (2) frequently asked questions,\n> (3) content ideas with suggested formats, (4) competitor moves, (5) keyword trends.\n> Be specific and actionable. Prioritize by engagement metrics.\n\n### Step 3: Report Output\n\nThe report follows this structure:\n\n```markdown\n📊 {Niche} Trend Report ({date_range})\n\n🔥 Trending Topics (3-5)\n- Topic — Why it's hot + data (upvotes/views/engagement)\n\n❓ Frequently Asked Questions (3-5)\n- Common question → content opportunity\n\n💡 Content Ideas (5)\n- Idea title\n  - Rationale + data backing\n  - Suggested format (video/article/reel/thread)\n  - Urgency: 🔴 time-sensitive / 🟡 this week / 🟢 evergreen\n\n📈 Competitor Activity (2-3)\n- What competitors published + performance\n\n🌟 Keyword Trends\n- High-engagement keywords this period\n```\n\n## Automation\n\n### Cron Setup (OpenClaw)\n\nSchedule weekly reports via OpenClaw cron:\n\n```bash\nopenclaw cron add \\\n  --name \"Weekly Trend Report\" \\\n  --schedule \"0 10 * * 1\" \\\n  --timezone \"America/New_York\" \\\n  --task \"Read skills/social-trend-report/SKILL.md and generate this week's trend report using config.json. Save to reports/ and announce in Discord.\" \\\n  --model sonnet\n```\n\n### Hotspot Alert Mode\n\nFor time-sensitive trend detection, add to your HEARTBEAT.md:\n\n```markdown\n- Check if any monitored subreddit has a post with 500+ upvotes in last 24h\n- If yes, generate a hotspot alert card and notify\n```\n\n## Tips\n\n- **Start small**: Monitor 2-3 subreddits first, expand later\n- **Reddit JSON**: Append `.json` to any Reddit URL for structured data. Use `web_fetch` (not curl) if behind a firewall\n- **Twitter rate limits**: `bird search` has rate limits; keep to 4-6 queries per run\n- **Iterate on keywords**: Review each report and refine search terms based on what surfaces\n- **Cross-platform signals**: A topic trending on both Reddit AND Twitter is high-confidence\n\n## Example Niches\n\nThis skill works for any niche. Example configs:\n\n- **Tarot/Astrology**: r/tarot, r/astrology, r/spirituality + \"tarot reading\", \"weekly horoscope\"\n- **SaaS/Dev Tools**: r/SaaS, r/startups, r/webdev + \"developer tools\", \"AI coding\"\n- **E-commerce/DTC**: r/ecommerce, r/shopify, r/dropship + \"shopify store\", \"DTC brand\"\n- **Fitness**: r/fitness, r/weightlifting, r/running + \"workout routine\", \"fitness tips\"\n","topics":["Twitter"],"tags":{"latest":"0.1.0"},"stats":{"comments":0,"downloads":378,"installsAllTime":14,"installsCurrent":1,"stars":0,"versions":1},"createdAt":1771724192680,"updatedAt":1779077196527},"latestVersion":{"version":"0.1.0","createdAt":1771724192680,"changelog":"**Initial release – Automated social media trend monitoring and report generation.**\n\n- Collects and analyzes data from Reddit, Twitter/X, and YouTube for any niche.\n- Generates structured weekly trend reports with actionable insights and content ideas.\n- Fully configurable: set target subreddits, Twitter keywords, YouTube channels, and competitors.\n- Provides clear workflow for data collection, AI analysis, and report output.\n- Includes automation tips and integration with cron scheduling and alert modes.\n- Works for a wide range of industries and niches; example configs provided.","license":null},"metadata":null,"owner":{"handle":"alexyuui","userId":"s173zyxn2bgep1me90yz1zsy558848x1","displayName":"alexyuui","image":"https://avatars.githubusercontent.com/u/12937805?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1779948612881}}