OpenClaw Trends
Fetch trending content about OpenClaw from multiple sources and deliver a summary.
Quick Start
CODEBLOCK0
Workflow
- 1. Fetch from sources:
-
YouTube - Videos (Data API v3)
-
GitHub - Repos, discussions, releases
-
X/Twitter - Posts (web search)
-
Reddit - Discussions (web search)
-
Hacker News - Tech discussions (web search)
- 2. Filter by freshness: Default 2-3 days
- 3. Deduplicate & rank: Remove duplicates, sort by date
- 4. Output: Structured summary with links
Notes
- - YouTube uses Data API v3 (key embedded for convenience)
- X/Twitter, Reddit, HN use DuckDuckGo web search (no API needed)
- GitHub uses
gh CLI (auto-detected) - For agent-triggered runs, the
web_search tool provides richer results
Output Format
Returns a structured summary:
- - Source (YouTube, X, Blog, etc.)
- Title
- Description (truncated)
- URL
- Date
Scheduled Checks
For daily updates, add to cron:
CODEBLOCK1
Notes
- - YouTube uses Data API v3 (requires key)
- X/Twitter uses web search (no API needed)
- GitHub uses
gh CLI or REST API - All other sources use web search
技能名称: openclaw-trends
详细描述:
OpenClaw 趋势
从多个来源获取关于 OpenClaw 的热门内容,并生成摘要。
快速开始
bash
python3 scripts/fetch_trends.py [--days 3] [--output json|text]
工作流程
- 1. 从来源获取:
-
YouTube - 视频(Data API v3)
-
GitHub - 仓库、讨论、发布
-
X/Twitter - 帖子(网页搜索)
-
Reddit - 讨论(网页搜索)
-
Hacker News - 技术讨论(网页搜索)
- 2. 按时效性过滤:默认 2-3 天
- 3. 去重与排序:移除重复项,按日期排序
- 4. 输出:带链接的结构化摘要
备注
- - YouTube 使用 Data API v3(密钥已嵌入,方便使用)
- X/Twitter、Reddit、HN 使用 DuckDuckGo 网页搜索(无需 API)
- GitHub 使用 gh 命令行工具(自动检测)
- 对于代理触发的运行,web_search 工具可提供更丰富的结果
输出格式
返回结构化摘要:
- - 来源(YouTube、X、博客等)
- 标题
- 描述(截断)
- URL
- 日期
定时检查
如需每日更新,可添加到 cron:
bash
每日上午 9 点获取 OpenClaw 趋势
0 9
* cd ~/.openclaw/workspace/skills/openclaw-trends && python3 scripts/fetch_trends.py --days 3 --notify
备注
- - YouTube 使用 Data API v3(需要密钥)
- X/Twitter 使用网页搜索(无需 API)
- GitHub 使用 gh 命令行工具或 REST API
- 所有其他来源均使用网页搜索