holon-run/holon/ghx

Claude Code and agent skill by holon-run/holon

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

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

Install

npx vskill@latest install holon-run/holon/ghx

SKILL.md

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

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationWarning, 53 of 100Marginal. 1 run. Evaluated 8 months ago.

Source

Popularity

Repository stars
133
Repository forks
13
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Apr 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/holon-run/holon/ghx/badge)](https://verified-skill.com/skills/holon-run/holon/ghx)

Something wrong with this skill or its page? Tell us.