Agent skill

Ghx

by holon-run in holon-run/holon

Guidance for safe, reliable GitHub CLI workflows across issues, pull requests, and reviews.

Apache-2.0Auto-check passedDevelopment

Install Ghx

skills CLI
$ npx skills add holon-run/holon --skill ghx -a claude-code

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

GitHub CLI
$ gh skill install holon-run/holon ghx --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/holon-run/holon.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ghx .claude/skills/ghx && 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
ghx
GitHub stars
154
Token cost
~1k tokens
SKILL.md length
312 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Guidance for safe, reliable GitHub CLI workflows across issues, pull requests, and reviews.

  • Works in 3 steps: Never inline large markdown or JSON… → Always pass long bodies through files → Use --body-file - only when stdin is…
  • Tasks that involve Pull requests
  • SKILL.md covers Summary, When To Use, Do Not Use and Prerequisites, plus 3 more sections
  • Calls gh; needs GITHUB_TOKEN and GH_TOKEN

What it does

Ghx is an agent skill from holon-run/holon. Guidance for safe, reliable GitHub CLI workflows across issues, pull requests, and reviews.

Its SKILL.md is about 1k 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: An agent workbench for ongoing work: preserve goals and progress, connect events and schedules, and resume when the next condition is met. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Pull requests

Example prompts

  • “/ghx”

Requirements

  • A credential in GITHUB_TOKEN

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Never inline large markdown or JSON payloads on the command line.
  2. Always pass long bodies through files
  3. Use --body-file - only when stdin is clearly available and intentional.

What it can do on your machine

Read from SKILL.md and the folder at commit c29bd95. 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

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

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

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GITHUB_TOKEN
    • GH_TOKEN

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

Context cost

Ghx loads about 1k tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 312 words of instructions outside code blocks.

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

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 holon-run/holon at commit c29bd95, republished under its Apache-2.0 licence (© holon-run). 312 words, ~1,013 tokens.

Download SKILL.mdSave it as .claude/skills/ghx/SKILL.md (or your agent's skills folder).
name
ghx
description
Guidance for safe, reliable GitHub CLI workflows across issues, pull requests, and reviews.

GHX Skill

Summary

Use this skill as shared guidance for raw gh and gh api usage in GitHub issue, pull request, and review workflows. It focuses on safe command patterns, payload handling, and common collection/publish recipes.

This skill is guidance-only. It does not provide scripts, wrappers, or executable entrypoints.

When To Use

  • Collecting issue or PR context directly from GitHub with gh
  • Publishing PR bodies, issue comments, or review replies safely
  • Looking for reusable GitHub CLI patterns without depending on repo-local scripts
  • Standardizing GitHub CLI safety rules across multiple skills

Do Not Use

  • As a command or executable tool
  • When a task needs Holon runtime internals rather than GitHub CLI guidance
  • As a replacement for the task-specific logic in github-review, github-pr-fix, or github-issue-solve

Prerequisites

  • gh CLI authentication is required.
  • GITHUB_TOKEN or GH_TOKEN must have the scopes required by the target repository operations.
  • jq is recommended when you need structured filtering or JSON post-processing.

Safety Rules

Payload handling
  1. Never inline large markdown or JSON payloads on the command line.
  2. Always pass long bodies through files:
    • gh issue create --body-file <file>
    • gh issue comment --body-file <file>
    • gh pr create --body-file <file>
    • gh pr edit --body-file <file>
  3. Use --body-file - only when stdin is clearly available and intentional.

Good:

bash
cat > /tmp/comment.md <<'EOF'
## Summary
Detailed markdown with quotes, backticks, and newlines.
EOF
gh issue comment 123 --repo owner/repo --body-file /tmp/comment.md

Bad:

bash
gh issue comment 123 --repo owner/repo --body "## Summary
Detailed markdown with quotes, backticks, and newlines."
Raw JSON payloads
  • Prefer gh api --input <file> for complex request bodies.
  • When passing many scalar fields, prefer repeated -f key=value flags over hand-built shell strings.

Common Recipes

Collect issue context
bash
gh issue view 123 --repo owner/repo --json number,title,body,state,url,author,createdAt,updatedAt,labels
gh api repos/owner/repo/issues/123/comments --paginate
Collect PR context
bash
gh pr view 123 --repo owner/repo --json number,title,body,state,url,baseRefName,headRefName,headRefOid,author,createdAt,updatedAt,mergeable,reviews,changedFiles,additions,deletions
gh pr view 123 --repo owner/repo --json files
gh pr diff 123 --repo owner/repo
gh api graphql -f query='
  query($owner:String!, $repo:String!, $number:Int!) {
    repository(owner:$owner, name:$repo) {
      pullRequest(number:$number) {
        reviewThreads(first:100) {
          nodes {
            isResolved
            comments(first:100) {
              nodes { id body path line author { login } }
            }
          }
        }
      }
    }
  }' -F owner=<owner> -F repo=<repo> -F number=<pr_number>
Create or update a PR
bash
gh pr create --repo owner/repo --title "Title" --body-file /tmp/pr-body.md --head feature/x --base main
gh pr edit 123 --repo owner/repo --title "Updated title" --body-file /tmp/pr-body.md
Post a PR-level comment
bash
gh api repos/owner/repo/issues/123/comments -X POST --input /tmp/comment.json

Example payload:

json
{
  "body": "Comment body"
}
Reply to a review comment
bash
gh api repos/owner/repo/pulls/123/comments -X POST \
  -F in_reply_to=456789 \
  -f body='Thanks, fixed in the latest commit.'
Post a review with inline comments

Use gh api with a JSON payload file so body text and inline comments stay structured and reproducible.

Notes

  • Prefer explicit repository targeting via --repo owner/repo in automation.
  • Prefer machine-readable --json output when subsequent steps need structured data.
  • When collecting many records, remember --paginate for REST endpoints.

© holon-run, Apache-2.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 skills/ghx of holon-run/holon.

Open the folder on GitHubat commit c29bd95

Compare with similar skills

Ghx 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.

Ghx compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ghx this skillholon-run/holon154—~1kAutomated safety check: PassApache-2.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 holon-run/holon

All 14 skills in this repo
  • Video Production

    holon-run/holon

    Assemble existing local images, videos, audio and subtitles into preview/final videos with FFmpeg, technical QC and provenance.

    154 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • GitHub Issue Solve

    holon-run/holon

    Solve a GitHub issue by collecting context, implementing a fix, and opening or updating a pull request.

    154 GitHub stars~912 tokensUpdated today
    Auto-check passed
  • GitHub PR Fix

    holon-run/holon

    Fix a GitHub pull request by addressing feedback or CI failures, pushing changes, and publishing replies.

    154 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Code Health Audit

    holon-run/holon

    Audit code-health and technical-debt signals with evidence, rank proportionate interventions from focused cleanup to broad coordinated refactors, and draft implementation-ready plans without…

    154 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Code Review

    holon-run/holon

    Review a set of code changes using evidence-backed findings, explicit confidence, and a clear coverage summary.

    154 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • GitHub Review

    holon-run/holon

    Review a GitHub pull request by collecting GitHub context, applying evidence-backed review rules, and optionally publishing one review.

    154 GitHub stars~2.1k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Ghx

What does Ghx do?

Guidance for safe, reliable GitHub CLI workflows across issues, pull requests, and reviews. Ghx is an agent skill from holon-run/holon. Guidance for safe, reliable GitHub CLI workflows across issues, pull requests, and reviews.

When should I use Ghx?

Ghx fits situations like: tasks that involve Pull requests.

How do I install Ghx in Claude Code?

Run `npx skills add holon-run/holon --skill ghx -a claude-code`. Or copy the skill folder (skills/ghx in holon-run/holon) into .claude/skills/ghx in your project. Claude Code loads it when a task matches its description.

How do I install Ghx in Codex?

Run `npx skills add holon-run/holon --skill ghx -a codex`. Or copy the skill folder (skills/ghx in holon-run/holon) into .agents/skills/ghx in your project. Codex loads it when a task matches its description.

Can I use Ghx 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 holon-run/holon --skill ghx -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ghx, .gemini/skills/ghx, .github/skills/ghx and .opencode/skills/ghx in your project.

What does Ghx need to run?

Going by SKILL.md and its folder, Ghx needs the command-line tools its instructions call (gh) and credentials named GITHUB_TOKEN and GH_TOKEN. Our summary lists: A credential in GITHUB_TOKEN.

Does Ghx access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Ghx 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 Ghx use?

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

How many tokens does Ghx use?

About 1k tokens (SKILL.md is roughly 4.1k 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 Ghx?

Skills that share tags, products or a category with Ghx: 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 Ghx?

holon-run (a GitHub organization) maintains it in holon-run/holon, which has 154 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 9, 2026.

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