KS
Killer-Skills

gh-cli — Categories.community

v1.0.0
GitHub

About this Skill

Ideal for Development Agents requiring seamless GitHub integration and command-line workflow automation. SkillsBench evaluates how well skills work and how effective agents are at using them

benchflow-ai benchflow-ai
[0]
[0]
Updated: 2/20/2026

Quality Score

Top 5%
80
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add benchflow-ai/skillsbench/gh-cli

Agent Capability Analysis

The gh-cli MCP Server by benchflow-ai is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion.

Ideal Agent Persona

Ideal for Development Agents requiring seamless GitHub integration and command-line workflow automation.

Core Value

Empowers agents to manage GitHub issues, pull requests, and repositories using authenticated API requests and core commands like 'gh issue', 'gh pr', and 'gh repo', streamlining development workflows with flags and subcommands.

Capabilities Granted for gh-cli MCP Server

Automating pull request management with 'gh pr'
Creating and cloning repositories using 'gh repo'
Debugging workflow runs with 'gh run'

! Prerequisites & Limits

  • Requires GitHub authentication
  • Command-line interface only
  • Limited to GitHub-specific functionality
Project
SKILL.md
6.0 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

GitHub CLI (gh)

Work seamlessly with GitHub from the command line.

Usage

gh <command> <subcommand> [flags]

Core Commands

  issue:      Manage issues
  pr:         Manage pull requests
  repo:       Create, clone, fork, and view repositories
  api:        Make an authenticated GitHub API request
  run:        View details about workflow runs

Use gh <command> --help for more information about a command.


gh pr

Work with GitHub pull requests.

USAGE
  gh pr <command> [flags]

CORE COMMANDS
  checkout:   Check out a pull request in git
  checks:     Show CI status for a single pull request
  close:      Close a pull request
  comment:    Create a new pr comment
  create:     Create a pull request
  diff:       View changes in a pull request
  edit:       Edit a pull request
  list:       List and filter pull requests in this repository
  merge:      Merge a pull request
  ready:      Mark a pull request as ready for review
  reopen:     Reopen a pull request
  review:     Add a review to a pull request
  status:     Show status of relevant pull requests
  view:       View a pull request

FLAGS
  -R, --repo [HOST/]OWNER/REPO   Select another repository using the [HOST/]OWNER/REPO format

INHERITED FLAGS
  --help   Show help for command

ARGUMENTS
  A pull request can be supplied as argument in any of the following formats:
  - by number, e.g. "123";
  - by URL, e.g. "https://github.com/OWNER/REPO/pull/123"; or
  - by the name of its head branch, e.g. "patch-1" or "OWNER:patch-1".

EXAMPLES
  $ gh pr checkout 353
  $ gh pr create --fill
  $ gh pr view --web

LEARN MORE
  Use 'gh <command> <subcommand> --help' for more information about a command.
  Read the manual at https://cli.github.com/manual

gh issue

Work with GitHub issues.

USAGE
  gh issue <command> [flags]

CORE COMMANDS
  close:      Close issue
  comment:    Create a new issue comment
  create:     Create a new issue
  delete:     Delete issue
  edit:       Edit an issue
  list:       List and filter issues in this repository
  reopen:     Reopen issue
  status:     Show status of relevant issues
  transfer:   Transfer issue to another repository
  view:       View an issue

FLAGS
  -R, --repo [HOST/]OWNER/REPO   Select another repository using the [HOST/]OWNER/REPO format

INHERITED FLAGS
  --help   Show help for command

ARGUMENTS
  An issue can be supplied as argument in any of the following formats:
  - by number, e.g. "123"; or
  - by URL, e.g. "https://github.com/OWNER/REPO/issues/123".

EXAMPLES
  $ gh issue list
  $ gh issue create --label bug
  $ gh issue view --web

LEARN MORE
  Use 'gh <command> <subcommand> --help' for more information about a command.
  Read the manual at https://cli.github.com/manual

gh repo

Work with GitHub repositories.

USAGE
  gh repo <command> [flags]

CORE COMMANDS
  archive:    Archive a repository
  clone:      Clone a repository locally
  create:     Create a new repository
  delete:     Delete a repository
  edit:       Edit repository settings
  fork:       Create a fork of a repository
  list:       List repositories owned by user or organization
  rename:     Rename a repository
  sync:       Sync a repository
  view:       View a repository

INHERITED FLAGS
  --help   Show help for command

ARGUMENTS
  A repository can be supplied as an argument in any of the following formats:
  - "OWNER/REPO"
  - by URL, e.g. "https://github.com/OWNER/REPO"

EXAMPLES
  $ gh repo create
  $ gh repo clone cli/cli
  $ gh repo view --web

Search Query Syntax

The --search flag uses GitHub search syntax. Full documentation: https://docs.github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax

Comparison Operators

QueryDescriptionExample
>nGreater thanstars:>1000
>=nGreater than or equaltopics:>=5
<nLess thansize:<10000
<=nLess than or equalstars:<=50

Range Queries

QueryDescriptionExample
n..nBetween rangestars:10..50
n..*Greater than or equalstars:10..* (same as >=10)
*..nLess than or equalstars:*..10 (same as <=10)

Date Queries

Date format: YYYY-MM-DD (ISO8601). Optional time: YYYY-MM-DDTHH:MM:SS+00:00

QueryExample
>YYYY-MM-DDcreated:>2024-04-29 — after April 29, 2024
>=YYYY-MM-DDcreated:>=2024-04-01 — on or after April 1, 2024
<YYYY-MM-DDpushed:<2024-07-05 — before July 5, 2024
<=YYYY-MM-DDcreated:<=2024-07-04 — on or before July 4, 2024
YYYY-MM-DD..YYYY-MM-DDcreated:2024-04-30..2024-07-04 — date range
YYYY-MM-DD..*created:2024-04-30..* — on or after date
*..YYYY-MM-DDcreated:*..2024-07-04 — on or before date

Exclude Results

Prefix qualifier with - to exclude:

QueryExample
-QUALIFIERstars:>10 -language:javascript — exclude JavaScript repos
NOThello NOT world — has "hello" but not "world"

Usernames

QueryDescription
author:USERNAMEFilter by specific user
author:@meFilter by current user
assignee:@meAssigned to current user

Queries with Whitespace

Use quotation marks for multi-word values:

  • label:"bug fix" — label with space
  • cats NOT "hello world" — exclude phrase

JSON Output

Common fields for --json:

PR:

additions
assignees
author
baseRefName
body
changedFiles
closed
closedAt
comments
commits
createdAt
deletions
files
headRefName
headRepository
headRepositoryOwner
id
isCrossRepository
isDraft
labels
maintainerCanModify
mergeCommit
mergeStateStatus
mergeable
mergedAt
mergedBy
milestone
number
potentialMergeCommit
projectCards
reactionGroups
reviewDecision
reviewRequests
reviews
state
statusCheckRollup
title
updatedAt
url

Issue:

close
  comment
  create
  delete
  edit
  list
  reopen
  status
  transfer
  view

Related Skills

Looking for an alternative to gh-cli or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication