返回顶部
g

github-topicsGitHub主题仓库

Fetches GitHub topic trending repositories. Use when asking about GitHub trending repos or open source projects.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
682
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

github-topics

GitHub 话题趋势

获取 GitHub 话题趋势仓库和 README 摘要。

快速开始

查看排行榜

今天 claude-code 话题排行榜 Top 10 GitHub 项目 热门仓库

查看仓库详情

anthropics/claude-code 介绍 这个仓库是做什么的

查询类型

类型示例描述
排行榜热门仓库 Top 10按星标数当前排名
详情
xxx/xxx 介绍 | 仓库 README 摘要 | | 话题 | python 话题排行榜 | 自定义话题搜索 |

工作流程

  • - [ ] 步骤 1:解析查询类型
  • [ ] 步骤 2:从 GitHub 获取数据
  • [ ] 步骤 3:格式化并显示结果

步骤 1:解析查询类型

用户输入查询类型操作
热门仓库排行榜显示前 N 个仓库
Top 10 项目
排行榜 | 显示前 N 个仓库 | | xxx/xxx 介绍 | 详情 | 获取 README 摘要 | | python 话题 | 排行榜 | 搜索 python 话题 |

步骤 2:获取数据

获取排行榜

bash
cd skills/github-topics
python src/github_fetcher.py

依赖要求
bash
pip install requests

获取 README(可选)

bash
python src/readme_fetcher.py



步骤 3:格式化结果

排行榜输出

markdown

GitHub 趋势 - python


#仓库星标数语言
1donnemartin/system-design-primer334KPython
2
vinta/awesome-python | 281K | Python |
| 3 | project-based-learning | 257K | - |

详情输出

markdown

anthropics/claude-code

星标数:15.2K
语言:TypeScript
URL:https://github.com/anthropics/claude-code

README 摘要

官方 Claude Code CLI,用于 AI 驱动的软件开发。Claude Code 是 Anthropic 的官方 CLI 工具...

配置

变量描述默认值
GH_TOKENGitHub 个人访问令牌(可选,用于更高速率限制)-
TOPIC
要跟踪的 GitHub 话题 | claude-code |

注意:GH_TOKEN 是可选的,但建议使用:

  • - 有令牌:5,000 次请求/小时
  • 无令牌:60 次请求/小时

在以下位置创建令牌:https://github.com/settings/tokens



GitHub API 说明


限制类型速率
已认证5,000 次请求/小时
未认证
60 次请求/小时 |

建议:使用 GH_TOKEN 以获得更高速率限制。



故障排除


问题解决方案
速率限制设置 GH_TOKEN 环境变量
网络超时
检查网络连接 |
| 结果为空 | 检查话题名称是否存在 |


CLI 参考

bash

获取排行榜(默认话题:claude-code)


python skills/github-topics/src/github_fetcher.py

获取 README

python skills/github-topics/src/readme_fetcher.py

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 github-topics-1776420048 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 github-topics-1776420048 技能

通过命令行安装

skillhub install github-topics-1776420048

下载

⬇ 下载 github-topics v0.1.0(免费)

文件大小: 7.82 KB | 发布时间: 2026-4-17 19:39

v0.1.0 最新 2026-4-17 19:39
Initial release: Quickly fetch and display trending GitHub repositories by topic or show repository details.

- Added support for fetching trending repositories by topic from GitHub.
- Can display top repositories, show repository README summaries, and search by custom topic.
- Provides markdown-formatted outputs for both rankings and repository details.
- Includes usage instructions, API rate limit handling, and troubleshooting tips.
- Optional configuration for GitHub token and tracked topic.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部