github-cli

Manage GitHub repositories, pull requests, issues, workflows, and releases via the gh CLI.

Updated Sep 17, 2026
One-click install
npx skills add https://github.com/bramanda48/skills --skill github-cli-bramanda48
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-cli
Source: https://github.com/bramanda48/skills/tree/main/skills/github-cli
Command: npx skills add https://github.com/bramanda48/skills --skill github-cli-bramanda48

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Performing GitHub operations through the web UI is slow and hard to automate. This Skill provides complete command guidance for the GitHub CLI (gh), enabling scripted and terminal-based management of repositories, pull requests, issues, CI/CD workflows, and releases. ## Core Features & Use Cases - Repository & PR Management: Create, clone, fork, and configure repositories; create, review, merge, and checkout pull requests with full flag coverage. - CI/CD & Releases: Trigger and monitor GitHub Actions workflow runs, download artifacts, and publish releases with auto-generated notes and asset uploads. - Batch Automation: Use JSON output with jq filtering and xargs pipelines for bulk operations like closing labeled issues or merging Dependabot PRs. - Use Case: After pushing a feature branch, ask the agent to create a PR with auto-filled title, watch the CI checks, and squash-merge it once checks pass—all without leaving the terminal. ## Quick Start Use the github-cli skill to create a pull request from my current branch and show me the status of its CI checks.

Frequently Asked Questions about github-cli

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

FAQPage Schema
How do I create a pull request from the command line?

Run gh pr create with flags like --title, --body, --base, and --head to open a pull request without a browser. Use --fill to auto-populate the title and body from your commit messages, or --draft to create it as a draft.

How to check GitHub Actions workflow status in terminal?

Use gh run list to see recent workflow runs and gh run view <run-id> --log-failed to inspect failed job logs. The gh run watch command streams live progress, and gh pr checks shows CI status for a specific pull request.

Can I use gh CLI for batch operations on issues?

Yes, combine gh issue list --json with jq filtering and xargs to perform bulk actions. For example, list all issues with a specific label, extract their numbers, and pipe them to gh issue close for mass closure.

Does gh CLI work with repositories other than the current one?

Yes, most gh commands accept the -R owner/repo flag to target any repository you have access to. This works for PRs, issues, workflows, and releases without needing to clone or navigate into that repository locally.

Why does gh CLI fail with authentication errors?

Authentication failures occur when the token is expired or lacks required scopes. Run gh auth status to diagnose, then gh auth refresh -s repo,workflow to add missing scopes, or gh auth login to re-authenticate completely.