Index of every page on this site: llms.txt
All skills
Run it yourself

Complete GitHub CLI reference for repositories, issues, pull requests, Actions, projects, releases, and all command-line GitHub operations. Covers 20+ command categories with 100+ subcommands, authentication, JSON output filtering, and common automation workflows.

Use this Skill: https://skilld.dev/gh/zenstudiolab/skills/gh-cli

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈483 tokens on demand. Your agent reads this file only when SKILL.md points to it.

GitHub CLI (gh)

Complete GitHub CLI reference for repositories, issues, pull requests, Actions, projects, releases, and all command-line GitHub operations.

Covers 20+ command categories including repos, issues, PRs, workflows, projects, releases, gists, codespaces, organizations, and search with 100+ subcommands. Supports authentication modes (interactive login, tokens, GitHub Enterprise), configuration via environment variables, and multi-account switching. Includes JSON output filtering with jq, custom templates, pagination, and API request capabilities for advanced workflows. Provides common patterns for bulk operations, fork syncing, CI/CD automation, and repository setup with shell integration and aliases.

Installation

npx skills add ZenStudioLab/skills --skill gh-cli

Usage

Once installed, your AI agent will automatically have comprehensive knowledge of the GitHub CLI (gh) tool. Trigger with prompts like:

  • "How do I create a PR with gh?"
  • "Show me how to merge using squash"
  • "List all available gh commands for issues"
  • "Create a release and upload assets"
  • "Search GitHub code from the command line"
  • "Sync my fork with upstream"

What's Covered

  • Installation and authentication setup
  • Complete CLI command tree
  • Repository management (create, clone, fork, sync, delete)
  • Issue tracking (create, list, edit, close, comment)
  • Pull requests (create, review, merge, checks, revert)
  • GitHub Actions (workflows, runs, caches, secrets, variables)
  • Projects (boards, items, fields)
  • Releases and release assets
  • Gists and codespaces
  • Organizations and search
  • Labels, SSH keys, GPG keys
  • API requests (REST + GraphQL)
  • Configuration, extensions, aliases
  • Output formatting (JSON with jq, Go templates)
  • Common workflows and best practices

References

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning5mo3 checks · Risk SAFE
  • Gen Agent Trust Hub5mo

    The skill provides a comprehensive documentation reference for the GitHub CLI (gh) tool. While the documentation itself is legitimate, it enables the agent to read untrusted data from GitHub (issues, PRs, logs) and perform high-privilege actions, creating an indirect prompt injection risk surface.

  • Socket5mo

    No alerts

  • Snyk5mo

    Risk: MEDIUM · 2 issues

Signed by skilld at 032d25b. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 5 months ago

README badge

README badge for zenstudiolab/skills/gh-cli