gh-cli

gh-cli is a skill for Claude Code, Codex from saajunaid/caddis-plugin. It costs 18 tokens per session (1,594 once invoked), scanned B, original, MIT.

A command-line toolkit for managing GitHub, the code-hosting service, from a terminal. It covers issues, pull requests, releases, and repository administration.

In plain words
What is it for?
Use it to create and manage issues and pull requests, publish releases, and administer repositories through terminal commands.
Why use it?
It removes the need to switch to the GitHub website for common repository tasks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is gh release create v1.2.0 ./dist/*.tar.gz # With assets.

Good fit Use it to create and manage issues and pull requests, publish releases, and administer repositories through terminal commands.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/saajunaid/caddis-plugin
agentmods
npx agentmods add skills/saajunaid/caddis-plugin/gh-cli

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 gh-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/gh-cli/github.svg)](https://agentmods.dev/skills/saajunaid/caddis-plugin/gh-cli)
Your own site
<a href="https://agentmods.dev/skills/saajunaid/caddis-plugin/gh-cli"><img src="https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/gh-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gh-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/saajunaid/caddis-plugin/gh-cli"><img src="https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/gh-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,594 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00018 $0.01594
Opus 5.5 $0.00007 $0.00638
Sonnet 5.5 $0.00004 $0.00319
Haiku 4.5 $0.00002 $0.00159

Measured 3d ago against content hash 9b898dc2e8b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

gh-cli scanned grade B with 1 finding 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 3d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt install gh # Linux
.github/skills/devops/gh-cli/SKILL.md · 201 lines

How it starts

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

GitHub CLI Operations

Practical reference for gh — the GitHub CLI. Covers repos, issues, PRs, releases, Actions, and automation.

Prerequisites

# Install
brew install gh          # macOS
winget install GitHub.cli # Windows
sudo apt install gh       # Linux

# Authenticate and verify
gh auth login
gh auth status

Phase 1: Repositories

# Create and clone
gh repo create my-project --public --description "My project" --clone
gh repo clone owner/repo
gh repo fork owner/repo --clone

# View and edit
gh repo view owner/repo
gh repo edit --description "Updated desc"
gh browse                  # Open in browser

# Sync fork
gh repo sync

Phase 2: Issues

# Create
gh issue create --title "Bug: login broken" --labels bug --assignee @me

# List and search
gh issue list
gh issue list --labels bug --assignee @me
gh issue list --search "is:open label:bug sort:updated-desc"
gh issue list --json number,title --jq '.[].title'

# Manage
gh issue view 42
gh issue close 42 --comment "Fixed in PR #55"
gh issue edit 42 --add-label priority-high
gh issue develop 42 --branch fix/issue-42

Phase 3: Pull Requests

# Create
gh pr create --title "feat: add dark mode" --body "Closes #42" --reviewer user
gh pr create --draft --title "WIP: new feature"

# List and view
gh pr list
gh pr list --author @me
gh pr view 55
gh pr diff 55

# Review and merge
gh pr checkout 55
gh pr review 55 --approve --body "LGTM!"
gh pr review 55 --request-changes --body "Please fix error handling"
# merge only on ci-watch RESULT: pass, only its HEAD:, with no default-branch run in progress
python "<home>/.caddis/bin/caddis_run.py" caddis_lanes.py ci-watch --pr 55
gh run list --branch main --json status       # no in_progress or queued run (main = the default branch)
gh pr merge 55 --squash --delete-branch --match-head-commit <watched head>

# Manage
gh pr ready 55             # Mark draft as ready
gh pr checks 55 --watch    # Watch CI
gh pr edit 55 --add-label reviewed
gh pr update-branch 55     # Rebase with base

Read the full file on GitHub · 201 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. 3d ago Changed 9b898dc2e8b0
  2. 1mo ago Changed · +4 lines 45d6a386a52c
  3. 1mo ago Changed · +1 lines 80fe19321d21
  4. 2mo ago First seen · 196 lines · 18 tokens per session scan B 6e9bd2366c52

Subscribe to this mod's changes

gh-cli is a skill published in the GitHub repository saajunaid/caddis-plugin (0 stars, last pushed 3d ago), licensed MIT. It adds 18 tokens to every session and 1,594 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

gh-cli compared with skills from other repositories

gh-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gh-clisaajunaid/caddis-pluginSkill03d agoMITB18Claude Code, Codex
agent-release-managerruvnet/rufloSkill83ktodayMITA16Claude Code
agent-release-swarmruvnet/rufloSkill83ktodayMITA19Claude Code
agent-github-modesruvnet/rufloSkill83ktodayMITA21Claude Code
github-automationruvnet/rufloSkill83ktodayMITA61Claude Code
agent-framework-py-releasemicrosoft/agent-frameworkSkill15k13d agoMITA102Claude Code, Codex
git-integrationa5c-ai/babysitterSkill1.9k29d agoMITA39Claude Code