ghx

ghx is a skill for Claude Code, Codex from holon-run/holon. It costs 22 tokens per session (1,001 once invoked), scanned A, original, Apache-2.0.

A set of guidelines for using GitHub's command-line tool with issues, pull requests, and code reviews. It covers safe ways to collect information and publish replies.

In plain words
What is it for?
Use it when writing raw GitHub CLI or API commands, filtering structured results, or standardizing issue and pull request workflows.
Why use it?
It reduces mistakes when commands handle repository data, comments, or review content.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/holon-run/holon/ghx
Any agent
npx skills add holon-run/holon --skill ghx
Clone the repo
git clone --depth 1 https://github.com/holon-run/holon

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ghx

README.md
[![agentmods](https://agentmods.dev/badge/skills/holon-run/holon/ghx.svg)](https://agentmods.dev/skills/holon-run/holon/ghx)
Your own site
<a href="https://agentmods.dev/skills/holon-run/holon/ghx"><img src="https://agentmods.dev/badge/skills/holon-run/holon/ghx.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,001 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.01001
Opus 5 $0.00011 $0.00500
Sonnet 5 $0.00004 $0.00200
Haiku 4.5 $0.00002 $0.00100

Measured 6d ago against content hash 1fbc40b1a358, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

ghx scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ghx/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

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:

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

Read the full file on GitHub · 138 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 138 lines · 22 tokens per session scan A 1fbc40b1a358

Subscribe to this mod's changes

ghx is a skill published in the GitHub repository holon-run/holon (134 stars, last pushed today), licensed Apache-2.0. It adds 22 tokens to every session and 1,001 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.