github-cli

Automate GitHub CLI workflows across repositories, issues, PRs, and actions.

1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/marcoamu/openclaw-workspace --skill github-cli-marcoamu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-cli
Source: https://github.com/marcoamu/openclaw-workspace/tree/main/skills/github-cli
Command: npx skills add https://github.com/marcoamu/openclaw-workspace --skill github-cli-marcoamu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub workflow automation and day-to-day repository management are simplified by a complete gh CLI reference that consolidates commands, examples, and best practices into a single, navigable guide.

Core Features & Use Cases

  • Authentication and configuration for gh, including login and token-based access.
  • Repositories, issues, PRs, workflows, releases, gists, searches, labels, and secrets management.
  • Practical use cases such as creating PRs, listing issues, managing workflows, and interacting with Projects V2, all from the command line.

Quick Start

Run gh auth login to authenticate and start using the GitHub CLI.

Frequently Asked Questions about github-cli

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

FAQPage Schema
How do I automate GitHub CLI workflows for repository management?

Automating GitHub CLI workflows involves scripting gh commands to manage repositories, issues, PRs, and actions. You can authenticate via gh auth login and execute commands to script repo setup, workflow automation, and project coordination across personal and organization accounts.

Can I manage GitHub Projects V2 from the command line?

Yes, you can manage GitHub Projects V2 from the command line by interacting with the gh CLI. The GitHub CLI supports integrating with Projects V2 through commands that connect to the REST and GraphQL APIs for project coordination.

What is the best way to authenticate and configure gh for organization accounts?

The best way to authenticate gh for organization accounts is using the gh auth login command for interactive login or token-based access. This configuration enables secure workflow automation and repository management across your organization.

Does the GitHub CLI support managing secrets and releases?

Yes, the GitHub CLI supports managing secrets and releases directly from the command line. You can script repository setup, manage workflows, and coordinate project tasks by executing gh commands to handle secrets, labels, and gists.

How do I format gh command outputs when listing issues and PRs?

Formatting gh command outputs when listing issues and PRs is handled through built-in CLI flags. The GitHub CLI allows you to format outputs and script gh commands to browse, execute, and manage repository data efficiently.

Why use GitHub CLI instead of the REST or GraphQL APIs directly?

Using the GitHub CLI instead of direct REST or GraphQL APIs simplifies day-to-day repository management by consolidating commands and best practices. It provides a navigable guide to automate workflows, authenticate, and interact with Projects V2 without writing raw API queries.