Skip to content
G

gh

Patterns for invoking the GitHub CLI (gh) from agents

by cliFree

Launch
#1646in AI Skills
0In stores

Description

gh-cli is an agent skill that gives patterns for invoking the GitHub CLI, gh, from an agent. The skill notes that gh already behaves well in…

Highlights

  • Non-interactive behaviour explained
  • Structured JSON output
  • Pagination and repository targeting
  • Search versus list commands
  • gh api fallback

Ratings & Reviews

No ratings yet

Be the first to rate gh.

People also visit

A

agentic-os

Build persistent multi-agent operating systems on Claude Code

AI Skills
Launch
A

autonomous-loops

Patterns and architectures for autonomous Claude Code loops

AI Skills
Launch
O

open-code-review-delegate

Delegation mode for open-code-review (OCR)

AI Skills
Launch
L

loop

Start an autonomous experiment loop with user-selected interval

AI Skills
Launch
L

lfg

Take a request all the way to done, hands-off

AI Skills
Launch
S

SuperClaude

by SuperClaude-Org

AI Skills
Launch

gh FAQ

Does gh need special flags for agents?

Not usually. The skill says gh skips the pager and strips colour in non-interactive use, and no no-pager flag exists.

How do I get structured data?

Use JSON output, since human output is column-formatted.

When should I use gh api?

As a fallback for requests the higher-level commands do not cover.

How do I install it?

Run npx skills add https://github.com/cli/cli --skill gh.

What do the security audits show?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Warn. A Warn or Fail is worth reading before you install.

What are the best gh alternatives?

Popular alternatives to gh include agentic-os, autonomous-loops and open-code-review-delegate. See all gh alternatives

Developer Stuff

Badges