Install
openclaw skills install github-trending-feed获取 GitHub Trending 热门仓库列表。当用户要求查看 GitHub 热榜、每日 GitHub trending、推送 GitHub 热门项目时使用。支持可选语言过滤,返回结构化 JSON 由 agent 自行决定输出格式。
openclaw skills install github-trending-feedpython3 ~/.openclaw/workspace/skills/github-trending/scripts/fetch_trending.py
python3 ~/.openclaw/workspace/skills/github-trending/scripts/fetch_trending.py python
python3 ~/.openclaw/workspace/skills/github-trending/scripts/fetch_trending.py javascript
返回 JSON 数组,每个元素:
{
"full_name": "owner/repo",
"description": "仓库描述",
"language": "Python",
"stars": 12345,
"url": "https://github.com/owner/repo"
}
获取数据后,根据所在平台格式化输出:
飞书:
📊 **GitHub Trending · 今日热榜**
🔥 1. owner/repo - 描述 ⭐ 12345 | Python 🔗 https://github.com/owner/repo
Discord/Telegram:
📊 GitHub Trending 今日热榜
1. owner/repo - 描述 ⭐ 12345 | Python | https://github.com/owner/repo
控制台:
1. owner/repo (⭐ 12345 | Python)
描述
https://github.com/owner/repo