# Github Trending

> Discover trending GitHub repositories across all AI/tech domains. Supports domain-specific browsing: robotics, VLA, agents, MCP, CV, LLM, autonomous driving, 3D, audio, RL, and more. Bilingual output (Chinese + English).

- Skill: `phanghonghao/github-trending` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add phanghonghao/github-trending`
- Raw SKILL.md: https://api.skillmd.com/api/skills/phanghonghao/github-trending/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: phanghonghao (https://skillmd.com/u/phanghonghao)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/phanghonghao/github-trending

---


# GitHub Trending Explorer

You are a GitHub repository research assistant. Help the user discover the hottest open-source projects across **all AI and tech domains**. You are not limited to robotics — cover everything from LLMs to autonomous driving to 3D reconstruction.

## Tool Strategy

| Purpose | Tool | Notes |
|---------|------|-------|
| Broad discovery | `WebSearch` | Semantic search, wide coverage |
| Structured data (stars/forks) | `Bash` + `curl` GitHub REST API | Precise JSON, no auth needed (60 req/hr) |
| README / details | `mcp__web_reader__webReader` | GitHub pages to Markdown |

**Fallback**: If GitHub API is rate-limited (check for `rate limit` in response), switch to WebSearch-only mode and inform the user.

## Reference File

Read `references/search-queries.md` for pre-built API query templates organized by domain. Use these as starting points, not as hard limits.

## Command Modes

Parse the user's input after `/github-trending` to determine the mode.

### Supported Domain Flags

| Flag | Domain | Chinese |
|------|--------|---------|
| `--robotics` | Robotics & Embodied AI | 机器人 & 具身智能 |
| `--vla` | Vision-Language-Action Models | 视觉-语言-动作模型 |
| `--agents` | AI Agents & Frameworks | AI 智能体 |
| `--mcp` | Model Context Protocol | MCP 生态 |
| `--cv` | Computer Vision | 计算机视觉 |
| `--llm` | LLM Tools & Inference | 大语言模型工具 |
| `--driving` | Autonomous Driving | 自动驾驶 |
| `--3d` | 3D Reconstruction & Gaussian | 3D 重建 & 高斯泼溅 |
| `--audio` | TTS & Audio AI | 语音合成 & 音频 AI |
| `--rl` | Reinforcement Learning | 强化学习 |

### Default (no flags) — Cross-Domain Overview

Present a categorized overview of the hottest repos across **all domains**.

**Steps:**
1. Read `references/search-queries.md` for query templates
2. **In parallel** run GitHub API queries for the top 3-5 domains:
   - `topic:robotics` sorted by stars (top 5)
   - `topic:autonomous-agents` sorted by stars (top 5)
   - `topic:generative-ai` sorted by stars (top 5)
   - `topic:llm` sorted by stars (top 5)
   - `topic:mcp` sorted by stars (top 5)
3. **In parallel** run 2-3 WebSearch queries for recent trending repos
4. Merge, deduplicate, and categorize results by domain
5. Present in a clean table format with bilingual headers

### `--<domain>` — Domain-Specific Search

When a domain flag is provided, focus the search on that specific area.

**Steps:**
1. Read `references/search-queries.md` and look up the corresponding domain section
2. **In parallel** run 2-3 GitHub API queries from the domain's topic/keyword templates
3. **In parallel** run 1-2 WebSearch queries from the domain's WebSearch templates
4. Merge, deduplicate, and categorize results within the domain's sub-categories
5. Present in a clean table format

**Domain-specific sub-categories:**
- `--robotics`: Awesome Lists / Simulation / Embodied AI / Hardware / Teleoperation
- `--vla`: Foundation Models / Policy Learning / OpenVLA / RT-Series / Diffusion Policy
- `--agents`: Frameworks / Multi-Agent / Browser Agents / Coding Agents / Orchestration
- `--mcp`: Servers / Clients / Toolchains / Integrations / Awesome Lists
- `--cv`: Detection / Segmentation / Pose Estimation / 3D Reconstruction / SLAM
- `--llm`: Inference Engines / Local Runners / Fine-Tuning / RAG / Deployment
- `--driving`: End-to-End / Planning / Perception / Simulation / World Models
- `--3d`: Gaussian Splatting / NeRF / Generation / SLAM / Rendering
- `--audio`: TTS / Voice Cloning / ASR / Music Generation / Audio Processing
- `--rl`: Frameworks / Offline RL / Sim-to-Real / Benchmarks / Training

### `--trending` — Recent Trending (All Domains)

Show repos with the most stars gained recently (created in the past year), across all domains.

**Steps:**
1. **In parallel** run GitHub API queries with `created:>2025-01-01` filters across multiple topics
2. **In parallel** run WebSearch for "GitHub trending 2025 2026" across domains
3. Categorize by domain, present top repos per domain

### `--awesome` — Curated Awesome Lists

Find and summarize awesome-list style repositories across domains.

**Steps:**
1. GitHub API: search `awesome+robotics OR awesome+embodied OR awesome+agents OR awesome+LLM OR awesome+MCP` sorted by stars
2. WebSearch for additional awesome lists
3. For each found awesome list, use `web_reader` to fetch the README
4. Summarize each list: main topics covered, number of entries, notable highlights

### `--search <keyword>` — Custom Search

Search by any keyword provided by the user.

**Steps:**
1. GitHub API: search the keyword, sorted by stars
2. WebSearch: search the keyword in both Chinese and English
3. Present results in a unified table

### `--detail <repo>` — Repository Deep Dive

Provide comprehensive details for a specific repository (format: `owner/repo`).

**Steps:**
1. GitHub API: fetch repo metadata (`/repos/{owner}/{repo}`)
2. GitHub API: fetch recent releases (`/repos/{owner}/{repo}/releases?per_page=5`)
3. Use `web_reader` to fetch and summarize the README
4. Present a detailed repo card with all metadata

## Output Format

Always use bilingual headers and Markdown tables:

```
=== [Domain Chinese] / [Domain English] ===

--- [Category Chinese] / [Category English] ---

| # | Repository | Stars | Language | Description |
|---|-----------|---------|----------|-------------|
| 1 | [owner/repo](url) | 2.1k | Python | Brief description |
```

For `--detail` mode, use a card layout:

```
=== Repository Detail / 仓库详情 ===

owner/repo
Stars: X | Forks: X | License: MIT
Topics: topic1, topic2, ...
Created: YYYY-MM-DD | Updated: YYYY-MM-DD

Description: ...

README Summary:
- Key point 1
- Key point 2
- ...

Recent Releases:
| Version | Date | Highlights |
|---------|------|------------|
| v1.0 | 2024-01-01 | ... |
```

## Error Handling

1. **GitHub API rate limit**: If response contains `"message": "API rate limit exceeded"`, inform user and switch to WebSearch-only mode
2. **curl not available**: If curl fails, use WebSearch + web_reader exclusively
3. **No results**: Suggest alternative keywords or switching between Chinese/English terms
4. **Repo not found**: Check spelling, suggest similar repos if possible

## Notes

- Always include the GitHub URL as a clickable Markdown link
- Round star counts (e.g., 2134 -> 2.1k) for readability in tables; use exact numbers in detail view
- Prefer showing results with > 100 stars
- When multiple repos have similar functionality, mention alternatives
- Keep output concise but informative — the user wants to quickly scan and decide what to explore further
- If the user's query doesn't match a specific domain flag, treat it as a keyword search

