ghx — community community, ide skills

v1.0.0

About this Skill

Ideal for GitHub Automation Agents requiring standardized and reliable repository operations GitHub enhanced operations skill. Provides unified context collection and publishing commands for PR/issue workflows.

holon-run holon-run
[0]
[0]
Updated: 3/12/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Locale and body language aligned
Review Score
7/11
Quality Score
45
Canonical Locale
en
Detected Body Locale
en

Ideal for GitHub Automation Agents requiring standardized and reliable repository operations GitHub enhanced operations skill. Provides unified context collection and publishing commands for PR/issue workflows.

Core Value

Empowers agents to automate GitHub workflows with context collection and PR publishing capabilities, utilizing a stable artifact manifest and preventing common mistakes like shell escaping and multi-line payload issues, all while leveraging the `gh` command-line interface

Ideal Agent Persona

Ideal for GitHub Automation Agents requiring standardized and reliable repository operations

Capabilities Granted for ghx

Automating context collection for GitHub repositories
Publishing pull requests and reviewing code changes
Streamlining comment workflows for collaborative development

! Prerequisites & Limits

  • Requires `GITHUB_OUTPUT_DIR` environment variable for artifact directory
  • Dependent on `gh` command-line interface for GitHub operations

Why this page is reference-only

  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is ghx?

Ideal for GitHub Automation Agents requiring standardized and reliable repository operations GitHub enhanced operations skill. Provides unified context collection and publishing commands for PR/issue workflows.

How do I install ghx?

Run the command: npx killer-skills add holon-run/holon/ghx. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for ghx?

Key use cases include: Automating context collection for GitHub repositories, Publishing pull requests and reviewing code changes, Streamlining comment workflows for collaborative development.

Which IDEs are compatible with ghx?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for ghx?

Requires `GITHUB_OUTPUT_DIR` environment variable for artifact directory. Dependent on `gh` command-line interface for GitHub operations.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add holon-run/holon/ghx. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use ghx immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

ghx

Install ghx, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

GHX Skill

ghx is an enhanced reliability layer on top of gh, used by higher-level skills. It standardizes common GitHub operations and prevents common agent mistakes (especially shell escaping and multi-line payload issues).

It provides two capabilities:

  • Context collection with a stable artifact manifest
  • Publishing for PR/review/comment workflows

Environment Variables

  • GITHUB_OUTPUT_DIR: artifact directory (caller-provided; defaults to a temp dir when unset)
  • GITHUB_CONTEXT_DIR: context directory (default ${GITHUB_OUTPUT_DIR}/github-context)
  • GITHUB_TOKEN / GH_TOKEN: token used by gh
  • DRY_RUN: preview mode for publish commands (true|false)

Commands

Use scripts/ghx.sh as the entrypoint.

Context collection

bash
1scripts/ghx.sh context collect holon-run/holon#123 2scripts/ghx.sh context collect 123 holon-run/holon

Publish commands

bash
1scripts/ghx.sh review publish --pr=holon-run/holon#123 --body-file=review.md --comments-file=review.json 2scripts/ghx.sh pr create --repo=holon-run/holon --title="Title" --body-file=summary.md --head=feature/x --base=main 3scripts/ghx.sh pr update --pr=holon-run/holon#123 --title="New title" --body-file=summary.md 4scripts/ghx.sh pr comment --pr=holon-run/holon#123 --body-file=summary.md 5# stdin body is also supported 6scripts/ghx.sh pr comment --pr=holon-run/holon#123 --body-file=- <<'EOF' 7Multiline body from stdin. 8EOF

Batch mode

bash
1scripts/ghx.sh batch run --batch=${GITHUB_OUTPUT_DIR}/publish-batch.json

Use batch mode when one run needs multiple publish actions. Use direct commands for single-action publish.

Contract Boundary

  • Public contract for other skills:
    • Call ghx.sh commands.
    • Read ${GITHUB_CONTEXT_DIR}/manifest.json for context artifacts.
    • Read ${GITHUB_OUTPUT_DIR}/publish-results.json for publish execution results.
    • Use publish-batch.json schema when running ghx.sh batch run (defined below and in references/github-publishing.md).
  • Integration guidance for third-party skills:
    • Prefer direct commands for single actions.
    • Use batch mode only when one run needs multiple publish actions.
    • Do not depend on undocumented fields or script internals outside this documented schema.

Context Output Contract

context collect writes:

  • ${GITHUB_CONTEXT_DIR}/manifest.json
  • Context files under ${GITHUB_CONTEXT_DIR}/github/ (for example pr.json, pr.diff, comments.json)

manifest.json is the source of truth for collected context:

json
1{ 2 "schema_version": "2.0", 3 "provider": "ghx", 4 "kind": "pr|issue", 5 "ref": "owner/repo#123", 6 "success": true, 7 "artifacts": [ 8 { 9 "id": "pr_metadata", 10 "path": "github/pr.json", 11 "required_for": ["review"], 12 "status": "present|missing|error", 13 "format": "json|text", 14 "description": "What this artifact contains" 15 } 16 ], 17 "notes": [] 18}

Consumers must use artifacts[] instead of assuming fixed context filenames.

Publish Output Contract

Publish commands write ${GITHUB_OUTPUT_DIR}/publish-results.json with per-action status and summary totals.

Batch Input Contract (Public)

ghx.sh batch run consumes ${GITHUB_OUTPUT_DIR}/publish-batch.json (or any path passed by --batch).

json
1{ 2 "version": "1.0", 3 "pr_ref": "owner/repo#123", 4 "actions": [ 5 { 6 "type": "post_comment", 7 "description": "optional", 8 "params": { 9 "body": "summary.md" 10 } 11 } 12 ] 13}

Schema summary:

  • Top-level required fields: pr_ref, actions
  • Top-level optional field: version (default 1.0)
  • Action required field: type
  • Action optional fields: description, params
  • params is action-specific payload; legacy inline action fields are also accepted.

Supported type values:

  • create_pr
  • update_pr
  • post_comment
  • reply_review
  • post_review

Notes

  • Prefer ghx for multi-step or error-prone GitHub operations.
  • context collect also prints a human-readable artifact summary; this is informational only.
  • For long or multi-line text, never inline shell arguments; always write to a file and pass --body-file/--comments-file.
  • Command selection:
    • single action: use direct commands (review publish, pr create|update|comment)
    • multiple actions in one run: use batch run

Safety Rules (Text Payloads)

To reduce failure rate from quoting/newline/markdown escaping:

  1. Never pass large markdown/JSON payloads inline on command line.
  2. Always pass payloads via file arguments:
    • ghx: --body-file, --comments-file (--body-file=- is allowed to read from stdin)
    • raw gh: --body-file
  3. Apply this rule to PR reviews, PR comments/description, issue comments, and issue creation.

Good:

bash
1cat > /tmp/issue-body.md <<'EOF' 2## Summary 3Detailed markdown with quotes, backticks, and newlines. 4EOF 5gh issue create --repo owner/repo --title "Bug report" --body-file /tmp/issue-body.md

Bad:

bash
1gh issue create --repo owner/repo --title "Bug report" --body "## Summary 2Detailed markdown with quotes, backticks, and newlines."

Related Skills

Looking for an alternative to ghx or another community skill for your workflow? Explore these related open-source skills.

View All

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
AI

flags

Logo of vercel
vercel

The React Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Developer