github-topics
Original:🇺🇸 English
Translated
4 scriptsChecked / no sensitive code detected
Fetches GitHub topic trending repositories. Use when asking about GitHub trending repos or open source projects.
2installs
Sourcegeekjourneyx/mind-skills
Added on
NPX Install
npx skill4agent add geekjourneyx/mind-skills github-topicsTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →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 | | Current rankings by stars |
| Detail | | Repository README summary |
| Topic | | Custom topic search |
Workflow
- [ ] Step 1: Parse query type
- [ ] Step 2: Fetch data from GitHub
- [ ] Step 3: Format and display resultsStep 1: Parse Query Type
| User Input | Query Type | Action |
|---|---|---|
| rankings | Show top N repos |
| rankings | Show top N repos |
| detail | Get README summary |
| rankings | Search python topic |
Step 2: Fetch Data
Fetch Rankings
bash
cd skills/github-topics
python src/github_fetcher.pyRequirements:
bash
pip install requestsFetch README (Optional)
bash
python src/readme_fetcher.pyStep 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 |
|---|---|---|
| GitHub Personal Access Token (optional, for higher rate limits) | - |
| GitHub topic to track | |
Note: is optional but recommended:
GH_TOKEN- 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 for higher rate limits.
GH_TOKENTroubleshooting
| Issue | Solution |
|---|---|
| Rate limit | Set |
| 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