GitHub Trending Stable for Openclaw

A lightweight, zero-dependency Python tool to scrape and track trending GitHub repositories by period and programming language.

callmegod66
v1.0.0
Mar 14, 2026
1
1.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install github-trending-stable

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install github-trending-stable using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is GitHub Trending Stable?

GitHub Trending Stable is a high-performance Openclaw Skills utility designed to fetch the most popular repositories on GitHub. It operates by scraping the GitHub trending page directly, meaning it requires no API keys or complex authentication tokens to function. This makes it an ideal solution for developers and AI agents that need to stay updated on emerging software trends without hitting rate limits.

The skill is built with stability and portability in mind, utilizing only the Python standard library. It provides clean, structured data regarding repository descriptions, total star counts, and the number of stars gained during the specified period (daily, weekly, or monthly). Whether you need a human-readable list or raw JSON for downstream processing, this skill delivers real-time insights into the global developer ecosystem.

GitHub Trending Stable Use Cases

  • Tracking daily or weekly hot projects to stay ahead of industry trends.
  • Filtering trending repositories by specific programming languages like Python, Rust, or TypeScript.
  • Automating research tasks for AI agents to find popular open-source libraries.
  • Generating periodic reports on GitHub activity for newsletters or internal dashboards.

How GitHub Trending Stable Works

  1. The user or AI agent triggers the script with desired parameters such as period (daily/weekly/monthly) and language.
  2. The script initiates an HTTP request to GitHub's trending URL using urllib.
  3. It parses the returned HTML content using a robust, native HTML parser to extract repository metadata.
  4. The tool calculates statistics based on the specified timeframe and applies any user-defined limits on the number of results.
  5. Finally, it outputs the formatted results to the console as either a stylized text list with emojis or a valid JSON object.

GitHub Trending Stable Setup

Since this tool relies exclusively on the Python standard library, no external package installation is required. Ensure you have Python 3.x installed.

# Navigate to the skill directory
cd github-trending-stable/

# Run with default settings (Weekly trending, top 15)
python scripts/github_trending.py weekly

# Filter by language and limit results
python scripts/github_trending.py daily --language python --limit 10

GitHub Trending Stable Data Schema & Taxonomy

The skill provides structured output. When the --json flag is used, it follows this schema:

Field Type Description
rank Integer The current trending position (1-based index).
full_name String The owner and repository name (e.g., 'owner/repo').
url String The direct URL to the GitHub repository.
description String A brief summary of the project.
language String The primary programming language used.
stars_total String The total number of stars the project has accumulated.
stars_gained Integer Stars earned specifically within the requested period.
updated_at ISO8601 Timestamp of the data fetch in UTC+8.

GitHub Trending Stable Advanced Features

  • Support for language aliases (e.g., using py for Python or rs for Rust) to speed up CLI interactions.
  • Headless operation: Works entirely via HTTP requests without needing a browser engine like Selenium or Playwright.
  • JSON output mode: Enables seamless integration into larger Openclaw Skills automation pipelines.
  • Cross-platform encoding support for Windows environments using the PYTHONIOENCODING flag.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*