Manus에서 모든 스킬 실행
원클릭으로
원클릭으로
원클릭으로 Manus에서 모든 스킬 실행
시작하기$pwd:
github-trending
// When you need to collect trending GitHub repositories in AI/LLM/Agent domains
$ git log --oneline --stat
stars:103
forks:61
updated:2026년 3월 28일 04:24
SKILL.md
// When you need to collect trending GitHub repositories in AI/LLM/Agent domains
| name | github-trending |
| description | When you need to collect trending GitHub repositories in AI/LLM/Agent domains |
当用户要求采集 GitHub 上 AI/LLM/Agent 相关的热门仓库时,自动激活此技能。
使用 GitHub Search API 搜索最近 7 天内的热门仓库:
GET https://api.github.com/search/repositories
查询参数:
q: 组合以下关键词(OR 连接):
AI, LLM, "large language model", agent, RAGMCP, "model context protocol", "agentic"created:>{7天前的日期} 或 pushed:>{7天前的日期}sort: starsorder: descper_page: 30请求头:
Accept: application/vnd.github.v3+json
Authorization: Bearer ${GITHUB_TOKEN}
从返回的仓库中,按以下条件过滤:
fork: false)对每个通过过滤的仓库,提取以下信息:
{
"id": "{owner}/{repo}",
"title": "{repo name}",
"description": "{repo description}",
"url": "{html_url}",
"stars": "{stargazers_count}",
"forks": "{forks_count}",
"language": "{language}",
"topics": ["{topics array}"],
"license": "{license.spdx_id}",
"created_at": "{created_at}",
"updated_at": "{pushed_at}",
"open_issues": "{open_issues_count}"
}
对 Star 数 Top 5 的仓库,额外获取 README 内容:
GET https://api.github.com/repos/{owner}/{repo}/readme
Accept: application/vnd.github.v3.raw
将 README 的前 500 字存入 readme_excerpt 字段,用于后续 Analyzer 生成更准确的摘要。
将采集结果保存为 JSON 文件:
knowledge/raw/github-trending-{YYYY-MM-DD}.jsonsource, collected_at, query, count, items| 错误 | 处理方式 |
|---|---|
| HTTP 401 | 检查 GITHUB_TOKEN 是否设置 |
| HTTP 403 (rate limit) | 读取 X-RateLimit-Reset,报告剩余等待时间 |
| HTTP 422 (bad query) | 简化查询条件后重试 |
| 网络超时 | 等待 5 秒后重试,最多 3 次 |
当用户要"推荐 / 高分 / 最佳 / score 最高"的知识库文章时触发。典型用语:推荐几个 xxx / score 最高的 / 最值得看的。基于本地 kb,不需要联网。
生成今日 AI 技术简报,汇总当天采集的 Top 5 知识条目,按相关性排序
在 AI 知识库中检索技术文章和开源项目,按相关性返回结果
When you need to analyze and summarize collected tech articles
当用户要求分析文章技术价值、生成摘要、进行评分时触发
当用户要求采集AI文章、搜索技术内容、获取GitHub热门项目时触发