AgentSkillsCN

Github Trends

GitHub趋势

SKILL.md

GitHub Trends Watcher

Fetch the latest trending repositories from GitHub.

Usage

bash
# JSON output (default)
node skills/github-trends/index.js

# Human-readable text
node skills/github-trends/index.js --text

Features

  • Fetches https://github.com/trending?since=daily
  • Parses HTML (no API token required)
  • Extracts: Name, Description, Language, URL
  • JSON and Text output formats

Troubleshooting

  • If GitHub changes their HTML structure, this skill will need a regex update.
  • If you see Failed to parse trending repos, update the regex in index.js.