Skip to content
Agentmart
Submit a tool

github

Use GitHub CLI (`gh`) for all GitHub interactions.

Skill by szokeasaurusrex

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/szokeasaurusrex-github

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use GitHub CLI (`gh`) for all GitHub interactions. Prefer built-in `gh` commands; use `gh api` only when needed.

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/github

Tools it pre-approves 1

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash

What's inside

Skill name
github
Description
Use GitHub CLI (`gh`) for all GitHub interactions. Prefer built-in `gh` commands; use `gh api` only when needed.
License
MIT
Allowed tools
Bash
Instructions
48 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves any shell command

Files (1)

  • SKILL.md

SKILL.md (first lines)

# GitHub CLI

Use `gh` (via Bash) for **all** GitHub operations.

Rules:
1. **Always prefer built-in commands** (`gh issue`, `gh pr`, `gh repo`, `gh search`, `gh release`, etc.).
2. **Fallback to `gh api` only if a built-in command cannot do the task**.
3. If unsure how to do something, **discover first with help text**:
   - `gh --help`
   - `gh <command> --help`
   - `gh <command> <subcommand> --help`
4. For machine-readable output, use `--json` and parse with `jq`.

When inside a git repo, `gh` usually infers the target repo. Otherwise use `-R owner/repo`.

## Common examples

```bash
# Issues (read)
gh issue list --state open -R owner/repo
gh issue view 123 --comments -R owner/repo

# Pull requests (read)
gh pr list --state open -R owner/repo
gh pr view 456 --comments -R owner/repo
gh pr diff 456 -R owner/repo
gh pr checks 456 -R owner/repo

# Repository/search
gh repo view owner/repo
gh search issues "memory leak" --repo owner/repo
gh search prs "author:octocat" --repo owner/repo

# JSON output
gh pr list -R owner/repo --json number,title,author --jq '.[] | {number,title,author:.author.login}'

# Fallback: API only when built-ins are insufficient (read endpoints)
gh api repos/owner/repo/issues
gh api --paginate repos/owner/repo/pulls
```

## Auth

```bash
gh auth status
```

From szokeasaurusrex/pi-agent, MIT.

More from szokeasaurusrex/pi-agent

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Feb 23, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from szokeasaurusrex

Cite this page

github skill. Agent Mart. https://agentmart.dev/skills/szokeasaurusrex-github (last updated 2026-10-24)