Skills/executor-skills/github-repo-collector/SKILL.md
从 GitHub URL 获取仓库信息,生成 YAML 格式的项目收藏记录。当用户说"收藏 GitHub 项目"、"获取 GitHub 项目信息"、"添加 GitHub 仓库"时使用。
npx skillsauth add chlmm/changex-notes github-repo-collectorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
使用 GraphQL API 批量获取 GitHub 仓库信息,生成符合 Notes 系统格式的 YAML 收藏记录。
# 单项目
{baseDirectory}/scripts/gh-repo-collect.sh <github_url>
# 多项目批量
{baseDirectory}/scripts/gh-repo-collect.sh <url1> <url2> <url3> ...
# 示例
{baseDirectory}/scripts/gh-repo-collect.sh https://github.com/adhikasp/mcp-reddit
{baseDirectory}/scripts/gh-repo-collect.sh https://github.com/xxx/a https://github.com/yyy/b
---
url: https://github.com/adhikasp/mcp-reddit
name: adhikasp/mcp-reddit
title: mcp-reddit
description: A Model Context Protocol (MCP) server that provides tools for fetching and analyzing Reddit content.
stars: 368
language: Python
topics: [llm, mcp, model-context-protocol, reddit]
tags: []
comment:
---
| 字段 | 来源 | 说明 |
|------|------|------|
| url | GitHub API | 仓库链接 |
| name | GitHub API | owner/repo 格式 |
| title | GitHub API | 项目名称 |
| description | GitHub API | 项目描述 (About) |
| stars | GitHub API | Star 数 |
| language | GitHub API | 主要语言 |
| topics | GitHub API | GitHub Topics |
| tags | AI 整理时填写 | 个人分类标签 |
| comment | AI 整理时填写 | 个人备注 |
使用 GraphQL API 而非 REST API:
| 对比项 | REST API | GraphQL | |--------|----------|---------| | API 调用 | N 次(每项目一次) | 1 次(批量) | | 速率限制 | 易触发限制 | 节省配额 | | 并发处理 | 需文件锁 | 单次原子操作 |
用户提供 GitHub URL → AI 执行脚本 → 自动追加到 Index.md 收件箱
用户说"整理 GitHub 收件箱" → AI 分析项目 → 自动分类、添加标签、备注 → 移动到分类文件
changex-notes/Index/GitHub/
├── Index.md # 收件箱(待整理项目)
├── AI工具.md # AI 相关工具
├── MCP工具.md # MCP 工具
├── 开源项目.md # 开源项目收藏
└── ...
用户说:收藏这个项目 https://github.com/mendableai/firecrawl
AI 执行:
{baseDirectory}/scripts/gh-repo-collect.sh https://github.com/mendableai/firecrawl
用户说:帮我收藏这几个项目:
AI 执行:
{baseDirectory}/scripts/gh-repo-collect.sh \
https://github.com/xxx/a \
https://github.com/yyy/b \
https://github.com/zzz/c
用户说:整理 GitHub 收件箱
AI 会:
Index.md 中待整理的项目description、topics、languageIndex.md 收件箱整理时使用的标签应保持一致:
| 类别 | 常用标签 | |------|----------| | AI 工具 | AI工具, LLM, AI应用 | | MCP 工具 | MCP工具, MCP | | 开发工具 | 开发工具, 工具 | | 前端 | 前端, 前端框架 | | 后端 | 后端, 后端框架 | | 爬虫 | 爬虫, 数据采集 | | 学习资源 | 学习资源, 教程 |
gh (GitHub CLI) - 需要已登录认证jq - JSON 处理tools
Windows CMD 命令行使用指南。提供文件操作、目录管理、网络诊断、系统管理等完整命令参考。
tools
ZeroTier - 虚拟局域网工具。创建虚拟网络,实现设备间安全互联,类似 VPN 但更轻量。
tools
Xunlong - 书签管理工具。简洁高效的书签管理和同步方案。
tools
Watcharr - 影视进度管理工具。追踪和管理你观看的电影和剧集进度。