gh-cli

Automate GitHub workflows using gh CLI operations.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/gakonst/dotfiles --skill gh-cli-gakonst
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/gakonst/dotfiles/tree/main/.codex/skills/gh-cli
Command: npx skills add https://github.com/gakonst/dotfiles --skill gh-cli-gakonst

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines all GitHub interactions, replacing manual web UI clicks and ad-hoc git commands with efficient gh CLI operations. It eliminates the hassle of managing Personal Access Tokens (PATs) in scripts and hitting API rate limits, making GitHub workflows faster and more secure.

Core Features & Use Cases

  • Authenticated Repo Operations: Seamlessly clone repositories, checkout pull request branches, and manage issues/discussions using pre-authenticated sessions.
  • PR Workflow Automation: Create, view, comment on, and review pull requests directly from the terminal, integrating smoothly into development workflows.
  • Authenticated API Access: Perform authenticated GitHub API calls (gh api) for data gathering or scripting without exposing PATs, ideal for analytics and automation.
  • Use Case: Instead of manually navigating to GitHub to create a PR, simply run gh pr create --fill from your branch to automatically generate a PR with a pre-filled title and body.

Quick Start

To clone a repository using your GitHub CLI credentials, simply type 'gh repo clone owner/repo' in your terminal.