Agent skill

Gh

by natsukium in natsukium/dotfiles

GitHub CLI for pull requests, issues, releases, workflows, and repository operations.

CC0-1.0Auto-check passedDevelopment

Install Gh

skills CLI
$ npx skills add natsukium/dotfiles --skill gh -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install natsukium/dotfiles gh --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/natsukium/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/modules/features/coding-agents/common/skills/gh .claude/skills/gh && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gh
GitHub stars
106
Token cost
~422 tokens
SKILL.md length
175 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
CC0-1.0

At a glance

GitHub CLI for pull requests, issues, releases, workflows, and repository operations.

  • Managing issues
  • SKILL.md covers Triggers, When to Use and Examples
  • Calls gh
  • Viewing repository information

What it does

Gh is an agent skill from natsukium/dotfiles. GitHub CLI for pull requests, issues, releases, workflows, and repository operations. Use for creating PRs, managing issues, viewing repository information, and accessing GitHub URLs.

Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests. It works with GitHub. The repository describes itself as: Nix dotfiles for NixOS, Darwin and WSL. The licence is CC0-1.0.

When your agent uses it

  • Managing issues
  • Viewing repository information
  • Accessing GitHub URLs

Example prompts

  • “/gh”

What it can do on your machine

Read from SKILL.md and the folder at commit 1457bd1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gh loads about 422 tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 175 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~422

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from natsukium/dotfiles at commit 1457bd1, republished under its CC0-1.0 licence (© natsukium). 175 words, ~422 tokens.

Download SKILL.mdSave it as .claude/skills/gh/SKILL.md (or your agent's skills folder).
name
gh
description
GitHub CLI for pull requests, issues, releases, workflows, and repository operations. Use for creating PRs, managing issues, viewing repository information, and accessing GitHub URLs.

gh - GitHub CLI

gh is the official GitHub command-line interface for interacting with GitHub repositories, issues, pull requests, and more.

Triggers

pull request, PR, issue, GitHub API, release, workflow, repository info, GitHub operations, GitHub URL

When to Use

Creating PRs, managing issues, viewing repository information, releases, accessing GitHub URLs

Examples

<examples>
  <example>
    <user>Create a PR for this repository</user>
    <agent>I'll create a PR using gh command: `gh pr create --title "feat: add new feature" --body "Description of changes"`</agent>
  </example>
  <example>
    <user>Show me recent issues</user>
    <agent>I'll list issues with gh: `gh issue list --limit 10 --state all`</agent>
  </example>
  <example>
    <user>Check the review comments on this PR</user>
    <agent>I'll view PR comments with gh: `gh pr view --comments`</agent>
  </example>
  <example>
    <user>Read the discussion in https://github.com/owner/repo/issues/12345</user>
    <agent>I'll fetch the issue with gh: `gh issue view 12345 --repo owner/repo --comments`</agent>
  </example>
  <example>
    <user>Can you check what's in this PR? https://github.com/owner/repo/pull/42</user>
    <agent>I'll view the PR details with gh: `gh pr view 42 --repo owner/repo`</agent>
  </example>
  <example>
    <user>Check the workflows in this repository</user>
    <agent>I'll list workflows with gh: `gh workflow list`</agent>
  </example>
</examples>

© natsukium, CC0-1.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in modules/features/coding-agents/common/skills/gh of natsukium/dotfiles.

Open the folder on GitHubat commit 1457bd1

Compare with similar skills

Gh next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gh compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gh this skillnatsukium/dotfiles106—~422Automated safety check: PassCC0-1.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed

More from natsukium/dotfiles

All 10 skills in this repo
  • Pi Review

    natsukium/dotfiles

    Delegate a source-grounded design or code review to a fresh pi CLI process using sol or luna, then address verified findings until no blockers remain.

    106 GitHub stars~972 tokensUpdated today
    Auto-check passed
  • Attmcojp Claude Md

    natsukium/dotfiles

    Change the org-level CLAUDE.md that governs every attmcojp repository.

    106 GitHub stars~1.3k tokensUpdated today
    Auto-check: notes
  • Ghq

    natsukium/dotfiles

    Clone and reuse GitHub/GitLab repositories under a single managed root (ghq root) instead of fetching files one-by-one via gh api/WebFetch or scratch-cloning into /tmp.

    106 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Gui Debug

    natsukium/dotfiles

    Verify a rendering or window-chrome change in any macOS GUI app unattended — find its CGWindowID via JXA, capture that window alone (with per-pixel alpha) using screencapture -l, and read exact RGBA…

    106 GitHub stars~909 tokensUpdated today
    Auto-check passed
  • Gui Debug

    natsukium/dotfiles

    Verify a rendering or window-chrome change in a GUI app unattended on Linux/Wayland under the niri compositor — enumerate windows and read output scale via niri msg --json, capture a specific window…

    106 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Po Translate

    natsukium/dotfiles

    Orchestrate English→Japanese translation of po/ja.po — classify, delegate translation/review to subagents, iterate until clean

    106 GitHub stars~1.4k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Gh

What does Gh do?

GitHub CLI for pull requests, issues, releases, workflows, and repository operations. Gh is an agent skill from natsukium/dotfiles. GitHub CLI for pull requests, issues, releases, workflows, and repository operations.

When should I use Gh?

Gh fits situations like: managing issues; viewing repository information; accessing GitHub URLs.

How do I install Gh in Claude Code?

Run `npx skills add natsukium/dotfiles --skill gh -a claude-code`. Or copy the skill folder (modules/features/coding-agents/common/skills/gh in natsukium/dotfiles) into .claude/skills/gh in your project. Claude Code loads it when a task matches its description.

How do I install Gh in Codex?

Run `npx skills add natsukium/dotfiles --skill gh -a codex`. Or copy the skill folder (modules/features/coding-agents/common/skills/gh in natsukium/dotfiles) into .agents/skills/gh in your project. Codex loads it when a task matches its description.

Can I use Gh in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add natsukium/dotfiles --skill gh -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gh, .gemini/skills/gh, .github/skills/gh and .opencode/skills/gh in your project.

What does Gh need to run?

Going by SKILL.md and its folder, Gh needs the command-line tools its instructions call (gh).

Does Gh access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Gh safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gh use?

Gh is published under the CC0-1.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gh use?

About 422 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gh?

Skills that share tags, products or a category with Gh: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gh?

natsukium (a GitHub user) maintains it in natsukium/dotfiles, which has 106 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 9, 2026.

Source: natsukium/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.