Repository information using GitHub CLI. Trigger when user wants to view repository details ("show repo info", "what's this repo about"), list repositories ("list my repos", "show repos for user"), or check repository metadata ("stars", "languages", "topics").
View on GitHubrobbyt/claude-skills
gh-cli
January 15, 2026
Select agents to install to:
npx add-skill https://github.com/robbyt/claude-skills/blob/main/plugins/gh-cli/skills/repo/SKILL.md -a claude-code --skill repoInstallation paths:
.claude/skills/repo/# Repository Information View repository details and list repositories with the `gh` CLI. Read-only operations only. ## Prerequisites GitHub CLI must be installed and authenticated: ```bash gh auth status ``` ## Quick Reference ```bash gh repo view # View current repo gh repo view owner/repo # View specific repo gh repo list owner # List repos for owner ``` ## View Repository ```bash gh repo view gh repo view owner/repo gh repo view owner/repo --json name,description,stargazersCount gh repo view owner/repo --web # Open in browser ``` **Common JSON fields:** ```bash gh repo view owner/repo --json name,description,url,stargazersCount,forkCount,isPrivate,languages,topics ``` ## List Repositories ```bash gh repo list gh repo list owner gh repo list owner --limit 50 gh repo list owner --json name,description gh repo list owner --language go gh repo list owner --source # Non-forks only ``` ## Repository Search ```bash gh search repos "query" gh search repos "language:go stars:>100" gh search repos "org:anthropics" ```