github-cli

github-cli is a skill for Claude Code, Codex from EthanYoQ/Skill-hub. It costs 48 tokens per session (452 once invoked), scanned A, original, MIT.

A set of instructions for using GitHub's command-line program, called GitHub CLI, to work with repositories and their online data. It covers searches, issues, pull requests, automated workflows, releases, and API requests.

In plain words
What is it for?
Use it to search code or repositories, manage issues and pull requests, inspect automated jobs, manage releases, or call the GitHub API.
Why use it?
It gives GitHub operations one defined way to inspect or change remote project data. It also requires checking the repository and account before making changes.

Skill for Claude CodeCodex

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

Good fit Use it to search code or repositories, manage issues and pull requests, inspect automated jobs, manage releases, or call the GitHub API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/github-cli
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.

Any agent
npx skills add EthanYoQ/Skill-hub --skill github-cli
Clone the repo
git clone --depth 1 https://github.com/EthanYoQ/Skill-hub

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/github-cli/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/github-cli)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/github-cli"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/github-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 github-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/github-cli"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/github-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 452 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00048 $0.00452
Opus 5.5 $0.00019 $0.00181
Sonnet 5.5 $0.00010 $0.00090
Haiku 4.5 $0.00005 $0.00045

Measured 2mo ago against content hash 7153d0b6741e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-cli 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 2mo 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.

archives/user-installed-skills/github-cli/e4ed8a3ab1d64cb6/github-cli/SKILL.md · 55 lines

What it actually says

GitHub CLI

This skill owns GitHub operations. Use the local gh CLI for GitHub reads and writes, including GitHub URLs and GitHub code search.

Start with gh auth status when the active account or authentication could affect the result. Inspect the current repository, state, and remote data before making a GitHub mutation; obtain any authorization that the requested mutation requires.

Common commands

# Search
gh search repos "query" --sort stars --limit 10
gh search code "query" --language python

# Repository
gh repo view owner/repo
gh repo clone owner/repo
gh repo create my-repo --private
gh repo fork owner/repo
gh repo sync owner/repo

# Issues and pull requests
gh issue list --repo owner/repo --state open
gh issue view 123 --repo owner/repo
gh issue create --repo owner/repo --title "Title" --body "Body"
gh pr list --repo owner/repo --state open
gh pr view 123 --repo owner/repo
gh pr create --repo owner/repo --title "Title" --body "Body"
gh pr checks 123 --repo owner/repo

# Actions and Releases
gh workflow list --repo owner/repo
gh run list --repo owner/repo --limit 10
gh run view <run-id> --repo owner/repo --log-failed
gh release list --repo owner/repo

# API and structured output
gh api repos/owner/repo
gh issue list --repo owner/repo --json number,title --jq '.[] | "\(.number): \(.title)"'

Use gh <command> --help when the exact command shape is uncertain. For local Git work, use git; use gh for the GitHub service operation around it.

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. 2mo ago First seen · 55 lines · 48 tokens per session scan A 7153d0b6741e

Subscribe to this mod's changes

github-cli is a skill published in the GitHub repository EthanYoQ/Skill-hub (12 stars, last pushed 2d ago), licensed MIT. It adds 48 tokens to every session and 452 once invoked, about $0.0002 per session on Opus 5.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-09-13.

Related

github-cli compared with skills from other repositories

github-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-cliEthanYoQ/Skill-hubSkill122d agoMITA48Claude Code, Codex
deploy-stewardSethGammon/CitadelSkill9433d agoMITA56Claude Code
deployment-releaseChisiki1/objective-integrity-frameworkSkill2428d agoApache-2.0A15Claude Code, Codex
superplan-releasesuperplan-md/superplan-pluginSkill746mo agoApache-2.0A33Claude Code, Codex
conventional-gitHarmeet10000/skillsSkill86mo agoMITA77Claude Code
octocatHarmeet10000/skillsSkill86mo agoMITA100Claude Code, Codex
ai-assist-changelog-bumpjparkerweb/ai-assist-skillsSkill903mo agononeA133Claude Code, Codex