github-stats

vm0-ai's avatarfrom vm0-ai

Get GitHub repository statistics including stars, forks, and watchers

⭐4stars🔀1forks📁View on GitHub🕐Updated Jan 1, 2026

When & Why to Use This Skill

The GitHub Stats skill is a specialized automation tool designed to fetch real-time repository metrics directly from the GitHub API. It enables Claude to retrieve critical data points such as star counts, fork frequency, watcher activity, and open issue status for any given repository. This skill is essential for developers and product managers who need to monitor project popularity, track engagement, and assess the maintenance health of open-source or private codebases without leaving their workflow.

Use Cases

  • Competitive Analysis: Compare the growth and popularity of different open-source libraries to make informed decisions on technology adoption.
  • Project Health Monitoring: Quickly evaluate the activity level and maintenance status of a repository by analyzing the number of open issues and recent updates.
  • Reporting & Dashboards: Automatically gather repository metadata for stakeholder reports or internal documentation to showcase the impact of software projects.
  • Due Diligence: Perform rapid technical assessments of third-party dependencies by checking their community support and fork history.
namegithub-stats
descriptionGet GitHub repository statistics including stars, forks, and watchers

GitHub Stats Skill

Fetches repository statistics from GitHub API.

When to Use

Use this skill when you need to get:

  • Star count for a repository
  • Fork count
  • Watcher count
  • Open issues count

How to Use

$CLAUDE_CONFIG_DIR/skills/github-stats/scripts/repo-stats.sh "owner/repo"

Arguments

  • owner/repo: The repository to query (e.g., "vm0-ai/vm0")

Prerequisites

  • GITHUB_TOKEN environment variable must be set (for higher rate limits)

Output

Results are saved to /tmp/data/github_stats_[timestamp].json:

{
  "full_name": "vm0-ai/vm0",
  "stargazers_count": 1234,
  "forks_count": 56,
  "watchers_count": 78,
  "open_issues_count": 10,
  "subscribers_count": 45,
  "description": "Repository description",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-12-15T00:00:00Z"
}

Console output summary:

Repository: vm0-ai/vm0
Stars: 1234
Forks: 56
Watchers: 78
Open Issues: 10

Error Handling

  • 401 Unauthorized: Check that GITHUB_TOKEN is set correctly
  • 404 Not Found: The repository may not exist or is private
  • 403 Forbidden: Rate limit exceeded, wait or use authenticated requests