Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

gh

Skill by carapace-sh

Provides an in-depth reference for the GitHub CLI (gh), covering auth, repos, pull requests, issues, Actions, releases, the API, and more. Aimed at developers who work with GitHub from the terminal.

  • Score 80
  • 2k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install gh

Built from the published package, never by AI.

git clone --depth 1 https://github.com/carapace-sh/carapace-bin /tmp/carapace-bin && mkdir -p ~/.claude/skills && cp -r /tmp/carapace-bin/skills/gh ~/.claude/skills/gh

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install gh in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is an in-depth reference for the GitHub CLI (gh), the official command-line tool for working with GitHub from the terminal. It covers command groups, flags, argument formats, environment variables, output formatting, and the extension system. The main file is an index that points to topic references for authentication, configuration, repositories, pull requests, issues, the API, GitHub Actions, releases, extensions, secrets and variables, search, gists and keys, browsing and codespaces, and JSON output.

The assistant loads the reference that matches the task. The skill describes a typical flow from cloning or creating a repository to opening, checking out, and merging pull requests, then watching runs and creating releases. It is aimed at developers who use gh from the command line or want an assistant to write gh commands. It also links to related skills for Git internals, carapace completion, and cobra command structure.

Written from the project's SKILL.md and checked against it.

What it can do

  • AuthenticationCovers gh auth login, status, switch, refresh, setup-git, and token handling.
  • RepositoriesCovers creating, cloning, forking, viewing, editing, and archiving repositories.
  • Pull requestsCovers creating, listing, checking out, reviewing, merging, and commenting on pull requests.
  • IssuesCovers creating, listing, editing, closing, and commenting on issues.
  • GitHub ActionsCovers workflows, runs, caches, logs, reruns, and workflow_dispatch triggers.
  • ReleasesCovers creating, listing, downloading, uploading, and verifying releases and assets.
  • API accessCovers REST and GraphQL requests through the gh api command with pagination and jq.
  • Secrets and variablesCovers setting, listing, and deleting Actions, Dependabot, and Codespaces secrets and variables.
  • SearchCovers searching repositories, issues, pull requests, code, and commits with filters.
  • ExtensionsCovers installing, listing, creating, upgrading, and removing gh extensions.

Try asking

  • Create a pull request for my current branch with a filled-in description
  • List the failed runs of my GitHub Actions workflow and show their logs
  • Search GitHub for Go repositories with over 1000 stars updated this year

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/gh/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to gh

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

gh: common questions

Which gh command groups does this skill cover?

The source covers authentication, repositories, pull requests, issues, releases, Actions, the API command, extensions, secrets and variables, search, gists, keys, labels, rulesets, codespaces, browsing, configuration, aliases, JSON output, and environment variables.

Does it support GitHub Enterprise?

The authentication reference covers GitHub Enterprise and GHES, including hostname handling and the GH_ENTERPRISE_TOKEN variable.

Does it explain Git internals?

No. The source points to a separate git skill for Git internals such as branches, refs, remotes, config, and hooks.

How do I install gh?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is gh free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is gh safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to gh?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

Add to stack

Loading.