返回顶部
g

github-topics

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

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

github-topics

# GitHub Topics Trending Fetch GitHub topic trending repositories and README summaries. ## Quick Start ``` # View rankings 今天 claude-code 话题排行榜 Top 10 GitHub 项目 热门仓库 # View repository details anthropics/claude-code 介绍 这个仓库是做什么的 ``` ## Query Types | Type | Examples | Description | |------|----------|-------------| | Rankings | `热门仓库` `Top 10` | Current rankings by stars | | Detail | `xxx/xxx 介绍` | Repository README summary | | Topic | `python 话题排行榜` | Custom topic search | ## Workflow ``` - [ ] Step 1: Parse query type - [ ] Step 2: Fetch data from GitHub - [ ] Step 3: Format and display results ``` --- ## Step 1: Parse Query Type | User Input | Query Type | Action | |------------|------------|--------| | `热门仓库` | rankings | Show top N repos | | `Top 10 项目` | rankings | Show top N repos | | `xxx/xxx 介绍` | detail | Get README summary | | `python 话题` | rankings | Search python topic | --- ## Step 2: Fetch Data ### Fetch Rankings ```bash cd skills/github-topics python src/github_fetcher.py ``` **Requirements**: ```bash pip install requests ``` ### Fetch README (Optional) ```bash python src/readme_fetcher.py ``` --- ## Step 3: Format Results ### Rankings Output ```markdown # GitHub Trending - python | # | Repository | Stars | Language | |---|------------|-------|----------| | 1 | donnemartin/system-design-primer | 334K | Python | | 2 | vinta/awesome-python | 281K | Python | | 3 | project-based-learning | 257K | - | ``` ### Detail Output ```markdown # anthropics/claude-code **Stars**: 15.2K **Language**: TypeScript **URL**: https://github.com/anthropics/claude-code ## README Summary Official Claude Code CLI for AI-powered software development. Claude Code is Anthropic's official CLI tool... ``` --- ## Configuration | Variable | Description | Default | |----------|-------------|---------| | `GH_TOKEN` | GitHub Personal Access Token (optional, for higher rate limits) | - | | `TOPIC` | GitHub topic to track | `claude-code` | **Note**: `GH_TOKEN` is optional but recommended: - With token: 5,000 requests/hour - Without token: 60 requests/hour Create token at: https://github.com/settings/tokens --- ## GitHub API Notes | Limit Type | Rate | |------------|------| | Authenticated | 5,000 requests/hour | | Unauthenticated | 60 requests/hour | **Recommendation**: Use `GH_TOKEN` for higher rate limits. --- ## Troubleshooting | Issue | Solution | |-------|----------| | Rate limit | Set `GH_TOKEN` env var | | Network timeout | Check internet connection | | Empty results | Check topic name exists | --- ## CLI Reference ```bash # Fetch rankings (default topic: claude-code) python skills/github-topics/src/github_fetcher.py # Fetch 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

下载 Zip 包

⬇ 下载 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
返回顶部