github-info

Fetch GitHub user profile data and repository insights via gh CLI.

Updated Dec 31, 2025
One-click install
npx skills add https://github.com/aadilmallick/claude-skills --skill github-info
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-info
Source: https://github.com/aadilmallick/claude-skills/tree/main/github-cli
Command: npx skills add https://github.com/aadilmallick/claude-skills --skill github-info

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill simplifies the task of retrieving GitHub user profile data and repository insights by using the gh CLI, helping developers quickly gauge their GitHub presence without manual command composition.

Core Features & Use Cases

  • Retrieve current user profile fields (login, name, bio, company, location, email, blog, twitter) and stats (followers, following, public repos, public gists, created_at, updated_at).
  • List repositories with key metadata (name, description, language, stars, forks, privacy, last update) and support sorting and limits for focused views.
  • Use cases include preparing a profile summary for a portfolio, evaluating top repositories for a job application, or generating quick stats for reporting.

Quick Start

Run the gh_profile.sh script to fetch your GitHub profile and gh_repos.sh to list your repositories.

Frequently Asked Questions about github-info

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch GitHub profile statistics like followers and repositories using the command line?

Fetch GitHub profile statistics by running shell scripts that execute gh CLI commands, retrieving fields like followers, following, public repos, and gists. The scripts handle authentication and tool availability errors to return structured profile data.

Can I list and sort my top GitHub repositories by stars or last update?

List GitHub repositories with key metadata including name, description, language, stars, forks, and privacy status. The scripts support sorting and applying limits to generate focused views of your top repositories for portfolios or job applications.

Do I need gh CLI authentication to retrieve GitHub user profile data and repository insights?

Yes, gh CLI authentication is required to retrieve GitHub user profile data and repository insights. The scripts include built-in error handling for authentication and tool availability, ensuring queries fail gracefully if the gh environment is not configured.

What is the best way to automate GitHub repository metadata extraction for a portfolio summary?

Automate GitHub repository metadata extraction by executing shell scripts that query the gh CLI. This approach retrieves profile fields and repository insights programmatically, bypassing manual command composition to quickly generate stats for reports or portfolios.

How does the gh CLI handle errors when querying GitHub profile fields and repository insights?

The gh CLI handles errors through built-in script checks for authentication and tool availability. If the gh command is missing or the user is unauthenticated, the scripts catch these errors and prevent execution to ensure valid data retrieval.