← Back to Skills Marketplace
liuwei1125

github-trending

by Liuwei1125 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
56
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install github-trending-pro
Description
Use when the user asks for GitHub Trending, GitHub hot repositories, daily/weekly/monthly trending repos, trending projects by programming language, spoken-l...
README (SKILL.md)

GitHub Trending

Use this skill as a GitHub Trending intelligence report: fetch the live榜单, preserve verifiable facts, then explain what matters, why it is trending, and what technical direction it signals.

Workflow

  1. Infer filters from the user request.
    • Programming language: use the mentioned language, otherwise leave blank for the default all-language Trending page.
    • Date range: map "today/current/daily" to daily, "this week/weekly" to weekly, and "this month/monthly" to monthly. Default to daily.
    • Spoken language: use --spoken-language only when the user requests a natural-language filter such as Chinese/English repositories.
    • Output language: answer in Chinese when the user asks in Chinese; otherwise answer in English.
  2. Run scripts/fetch_trending.py with the inferred filters. Use JSON for analysis; use Markdown only when the user asks for a raw table/export.
  3. Use the JSON output to write the report. Do not invent stars, languages, descriptions, repository URLs, author names, or avatar URLs.
  4. If the script returns no repositories, say that GitHub Trending returned no matching projects and include the filters used.

Script

Run from the skill directory:

python3 scripts/fetch_trending.py --since daily --limit 10
python3 scripts/fetch_trending.py --language python --since weekly --limit 10 --format json
python3 scripts/fetch_trending.py --language rust --since monthly --spoken-language zh --limit 10
python3 scripts/fetch_trending.py --language javascript --since daily --format markdown

The script outputs JSON with:

  • Report metadata: date, since, language, spoken_language, url, updated_at
  • Compatibility fields: rank, repo, url, description, language, total_stars, forks, current_period_stars
  • Intelligence fields: full_name, author, author_avatar, name, title, title_en, summary, summary_en, primary_lang, lang_color, updated_at

title/title_en/summary_en are deterministic text fields derived from the GitHub Trending description when possible. If a richer translated title or summary is needed, generate it in the final report and keep it clearly separate from raw GitHub facts.

Differentiation

This skill should not behave like a simple leaderboard copier. Treat the table as the scan layer and the analysis as the value layer:

  • Identify the main project category: AI agent, developer tooling, framework, infrastructure, data, security, UI, media, education, or other.
  • Explain the user-facing capability, not just the repository description.
  • Infer implementation only from available evidence such as language, description, and public repository context.
  • Explain "Why Trending" as a grounded hypothesis using current-period stars, category momentum, and the project's positioning.
  • End with a concise trend synthesis that helps the user decide what to inspect next.

Report Format

Start every report with title, date, range, programming language, and spoken language. Then include an Overview table before project details.

Use this table header exactly:

| # | Repo | Total Stars | Today | Lang | Description |
|---|------|-------------|-------|------|-------------|

For weekly/monthly reports, keep the column name Today only if the user explicitly asked for that header; otherwise rename it to This Week or This Month.

Use this detail structure for each repository:

### 1. owner/repo
- URL: https://github.com/owner/repo
- Stars: 12,345
- Today: +321
- Lang: Python
- Description: Short repository description.

**Feature**: What the project provides.
**Functionality**: What users can do with it.
**Implementation**: Likely implementation approach based on language, description, and repository context.
**Why Trending**: Why it is plausibly popular in this date range.

End with a trend summary. Highlight repeated themes such as AI agents, developer tooling, infrastructure, frameworks, data systems, security, UI libraries, or language-specific momentum.

Analysis Rules

  • Base factual fields on the script output.
  • Keep inferred sections clearly grounded in the repository description and public context.
  • When information is missing, say "not specified" or omit that field instead of guessing.
  • Prefer the top 10 repositories unless the user requests a different count.
  • Keep reports scannable: brief overview rows, concise per-project paragraphs, and a short final trend analysis.
  • If the user asks for JSON, return the script JSON or a strict subset of it; do not mix prose into JSON.
  • If the user asks for a human report, answer in the user's language and include the Overview table first.
Usage Guidance
This skill appears to do exactly what it claims: run the included Python scraper to fetch public GitHub Trending pages and produce a JSON/markdown report. Before installing or running it, consider: (1) the script will make outbound HTTP requests to github.com (no credentials are sent), (2) it executes local Python code — review the script if you have security concerns, and (3) scraping can break if GitHub's page structure changes. If you want extra caution, run it in an isolated environment (container) or review the code yourself first.
Capability Analysis
Type: OpenClaw Skill Name: github-trending-pro Version: 1.0.0 The skill is a standard utility for fetching and analyzing GitHub Trending repositories. The Python script (scripts/fetch_trending.py) uses the standard library to scrape public data from GitHub and includes proper URL encoding and HTML parsing. No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
Name/description match the implementation: a Python script fetches https://github.com/trending, parses repository entries, and produces JSON/markdown suitable for the requested reports. No unrelated capabilities, binaries, or credentials are requested.
Instruction Scope
SKILL.md instructs the agent to infer filters, run the included script, and build reports from the script's JSON output. The instructions do not ask the agent to read arbitrary files, environment variables, or send data to third parties beyond GitHub.
Install Mechanism
There is no install spec (instruction-only with a local script). The only execution is the provided Python script; nothing is downloaded from external or untrusted URLs during install.
Credentials
The skill requires no environment variables, credentials, or config paths. The script performs only outbound GET requests to GitHub's public trending pages; it does not attempt to access secrets or other services.
Persistence & Privilege
The skill is not always-enabled and does not request persistent/system-wide changes. It contains no code to modify other skills or agent configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install github-trending-pro
  3. After installation, invoke the skill by name or use /github-trending-pro
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial Python-based release with improved reporting and filter options: - Replaced shell script (`github-trending.sh`) with Python script (`scripts/fetch_trending.py`) for fetching GitHub Trending repositories. - Added support for advanced filtering by programming language, date range, and spoken language. - Introduced structured Markdown and JSON output for both human-readable reports and programmatic analysis. - Modularized skill configuration using `agents/openai.yaml` for future expandability. - Updated documentation with detailed usage instructions and reporting guidelines.
Metadata
Slug github-trending-pro
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is github-trending?

Use when the user asks for GitHub Trending, GitHub hot repositories, daily/weekly/monthly trending repos, trending projects by programming language, spoken-l... It is an AI Agent Skill for Claude Code / OpenClaw, with 56 downloads so far.

How do I install github-trending?

Run "/install github-trending-pro" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is github-trending free?

Yes, github-trending is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does github-trending support?

github-trending is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created github-trending?

It is built and maintained by Liuwei1125 (@liuwei1125); the current version is v1.0.0.

💬 Comments