github

github is a skill for Claude Code, Codex from Orkas-AI/Orkas-Awesome-AgentSkills. It costs 1 tokens per session (579 once invoked), scanned A, original, MIT.

A guide for using the `gh` command-line tool to work with GitHub repositories, issues, pull requests, and related data. It emphasizes safe, structured commands and previewing changes before write actions.

In plain words
What is it for?
Checking authentication, viewing repositories, listing and reading issues or pull requests, filtering results as JSON, and preparing GitHub actions safely.
Why use it?
It provides a consistent way to inspect GitHub data and reduces mistakes caused by targeting the wrong repository or performing an unapproved change. Destructive or consequential actions require explicit approval.

Skill for Claude CodeCodex

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

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/orkas-ai/orkas-awesome-agentskills/github
Any agent
npx skills add Orkas-AI/Orkas-Awesome-AgentSkills --skill github
Clone the repo
git clone --depth 1 https://github.com/Orkas-AI/Orkas-Awesome-AgentSkills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/orkas-ai/orkas-awesome-agentskills/github.svg)](https://agentmods.dev/skills/orkas-ai/orkas-awesome-agentskills/github)
Your own site
<a href="https://agentmods.dev/skills/orkas-ai/orkas-awesome-agentskills/github"><img src="https://agentmods.dev/badge/skills/orkas-ai/orkas-awesome-agentskills/github.svg" alt="Measured on agentmods" height="20"></a>
Per session 1 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 579 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.00001 $0.00579
Opus 5 $0.00000 $0.00290
Sonnet 5 $0.00000 $0.00116
Haiku 4.5 $0.00000 $0.00058

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

Security

Grade A, and why

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

product/skills/github/SKILL.md · 48 lines

What it actually says

GitHub

Use gh as the primary interface for GitHub data and actions. Keep this skill focused on basic operations and command safety, not maintainer triage strategy.

Before Running Commands

  • Confirm gh exists and is authenticated when live GitHub data is required.
  • Prefer --repo owner/repo unless the current directory is clearly inside the intended GitHub repository.
  • Use --json and --jq when the result will be summarized or filtered.
  • Preview write actions before executing them when the user did not explicitly ask for the exact write.
  • Do not close issues, merge pull requests, rerun CI, delete branches, publish releases, or edit repository settings without explicit user approval.

Common Commands

gh auth status
gh repo view --json nameWithOwner,url,defaultBranchRef
gh issue list --repo owner/repo --state open --limit 50 --json number,title,author,labels,updatedAt,url
gh issue view 123 --repo owner/repo --json number,title,author,body,comments,labels,state,url
gh pr list --repo owner/repo --state open --limit 50 --json number,title,author,isDraft,reviewDecision,mergeStateStatus,url
gh pr view 55 --repo owner/repo --json number,title,state,author,body,comments,files,commits,statusCheckRollup,url
gh pr diff 55 --repo owner/repo --patch
gh pr checks 55 --repo owner/repo
gh run list --repo owner/repo --limit 20
gh run view RUN_ID --repo owner/repo --log-failed
gh release list --repo owner/repo --limit 20
gh api repos/owner/repo/pulls/55 --jq '{title, state, user: .user.login}'

For write actions, show the intended command first and wait for approval unless the user explicitly asked for that exact action.

Default Output

When reporting GitHub data, include:

  • Repository or URL inspected
  • Commands or data sources used
  • Current state and relevant IDs
  • Any action taken, or the exact command you would run next
  • Permission or authentication blockers, if any
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 · 48 lines · 1 tokens per session scan A 3eab60896d92

Subscribe to this mod's changes

github is a skill published in the GitHub repository Orkas-AI/Orkas-Awesome-AgentSkills (13 stars, last pushed 2mo ago), licensed MIT. It adds 1 tokens to every session and 579 once invoked, about $0.0000 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.