Tooluck logoTooluck
SKILL.md

gh-cli

Agent skill frombenchflow-ai/skillsbench

The gh CLI is GitHub's official command line tool for interacting with GitHub repositories, issues, pull requests, and more. When needs to interact with GitHub repositories, issues, pull requests, and more, use this skill.

How to install gh-cli

install gh-cli
# install the skillsbench pack with the skills CLI
npx skills add benchflow-ai/skillsbench

# or add only this skill to Claude Code: copy the folder

tasks-extra/gh-repo-analytics/environment/skills/gh-cli/

# into

~/.claude/skills/gh-cli/ (all projects)

.claude/skills/gh-cli/ (one project)

tasks-extra/gh-repo-analytics/environment/skills/gh-cli/SKILL.md

Apache-2.0Full file
1# GitHub CLI (gh)
2
3Work seamlessly with GitHub from the command line.
4
5## Usage
6
7```
8gh <command> <subcommand> [flags]
9```
10
11## Core Commands
12
13```
14 issue: Manage issues
15 pr: Manage pull requests
16 repo: Create, clone, fork, and view repositories
17 api: Make an authenticated GitHub API request
18 run: View details about workflow runs
19```
20
21Use `gh <command> --help` for more information about a command.
22
23---
24
25## gh pr
26
27Work with GitHub pull requests.
28
29```
30USAGE
31 gh pr <command> [flags]
32
33CORE COMMANDS
34 checkout: Check out a pull request in git
35 checks: Show CI status for a single pull request
36 close: Close a pull request
37 comment: Create a new pr comment
38 create: Create a pull request
39 diff: View changes in a pull request
40 edit: Edit a pull request
41 list: List and filter pull requests in this repository
42 merge: Merge a pull request
43 ready: Mark a pull request as ready for review
44 reopen: Reopen a pull request
45 review: Add a review to a pull request
46 status: Show status of relevant pull requests
47 view: View a pull request
48
49FLAGS
50 -R, --repo [HOST/]OWNER/REPO Select another repository using the [HOST/]OWNER/REPO format
51
52INHERITED FLAGS
53 --help Show help for command
54
55ARGUMENTS
56 A pull request can be supplied as argument in any of the following formats:
57 - by number, e.g. "123";
58 - by URL, e.g. "https://github.com/OWNER/REPO/pull/123"; or
59…

Excerpt shown under the repository's Apache-2.0 license.

More skills in skillsbench

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates