repo

Fetch repository details and metadata using the GitHub CLI.

42|2|Updated Nov 20, 2025
Search Tags:#github#cli#repo
One-click install
npx skills add https://github.com/robbyt/claude-skills --skill repo-robbyt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repo
Source: https://github.com/robbyt/claude-skills/tree/main/plugins/gh-cli/skills/repo
Command: npx skills add https://github.com/robbyt/claude-skills --skill repo-robbyt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Retrieve repository metadata and list repos with gh.

Core Features & Use Cases

  • Repo details: View name, description, stars, languages.
  • List and search: Query repos by owner or language.
  • Lightweight read-only tooling: Safe for automation.

Quick Start

gh repo view

Frequently Asked Questions about repo

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

FAQPage Schema
How do I view GitHub repository details from the command line?

Use `gh repo view` to fetch repository information including name, description, stars, and languages. The GitHub CLI command retrieves metadata directly from GitHub without leaving your terminal, requiring only GitHub CLI to be installed and authenticated.

Can I list all repositories for a specific GitHub owner?

Yes, `gh repo list` queries repositories by owner and supports filtering by language and other criteria. The command returns repository metadata in a format you can parse with JSON field selections for automation and scripting.

What information can I extract from a repository using GitHub CLI?

GitHub CLI retrieves repository metadata including stars, languages, topics, descriptions, and other repository details. You can select specific JSON fields to extract only the data you need for reports, automation, or further processing.

Is GitHub CLI safe to use in automated workflows?

Yes, the GitHub CLI provides lightweight read-only tooling for repository queries, making it safe for automation. Since `gh repo` commands only fetch data without modifications, they're suitable for scripts, CI/CD pipelines, and unattended operations.

Do I need to authenticate before using gh repo commands?

GitHub CLI must be installed and authenticated to access repository information. Authentication enables the CLI to retrieve repository metadata and respects GitHub's API rate limits for your queries.

How do I search repositories by programming language?

Use `gh repo list` with language filters to query repositories by the languages they contain. The command supports JSON field selections, letting you extract language data alongside other repository metadata for analysis.