github

github is a skill for Claude Code, Codex from duyet/oma. It costs 81 tokens per session (915 once invoked), scanned A, original, Apache-2.0.

A set of instructions for using GitHub through the command line, including issues, pull requests, code reviews, and automated checks. GitHub is a service for hosting code and collaborating on changes.

In plain words
What is it for?
Listing, viewing, creating, commenting on, and closing issues; creating and reviewing pull requests; and checking continuous-integration results.
Why use it?
It provides repeatable commands for common repository tasks and helps avoid unsafe operations such as force-pushing.

Skill for Claude CodeCodex

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

Good fit Listing, viewing, creating, commenting on, and closing issues; creating and reviewing pull requests; and checking continuous-integration results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/duyet/oma/github
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 duyet/oma --skill github
Clone the repo
git clone --depth 1 https://github.com/duyet/oma

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/duyet/oma/github/github.svg)](https://agentmods.dev/skills/duyet/oma/github)
Your own site
<a href="https://agentmods.dev/skills/duyet/oma/github"><img src="https://agentmods.dev/badge/skills/duyet/oma/github/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/duyet/oma/github"><img src="https://agentmods.dev/badge/skills/duyet/oma/github.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 915 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.00081 $0.00915
Opus 5.5 $0.00032 $0.00366
Sonnet 5.5 $0.00016 $0.00183
Haiku 4.5 $0.00008 $0.00092

Measured 1mo ago against content hash 56023f6cb47a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

examples/skills/github/SKILL.md · 93 lines

How it starts

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

github

The sandbox ships the gh CLI. Prefer gh over raw git push to GitHub's web API — it's authenticated, scriptable, and JSON-friendly (--json + --jq).

Auth assumptions

  • Auth is provided by the platform (a cap_cli credential injected at the network layer, or GH_TOKEN/GITHUB_TOKEN in the environment). Do not ask the user to paste a token, and don't run gh auth login interactively.
  • Verify once: gh auth status. If it fails, report that the repo needs a GitHub credential attached (a gh cap_cli credential or GH_TOKEN) — don't try to work around missing auth.

Issues

gh issue list --state open --limit 20 --json number,title,labels
gh issue view 42 --comments
gh issue create --title "…" --body "…" --label bug            # never invent labels that don't exist
gh issue comment 42 --body "…"
gh issue close 42 --comment "fixed in #57"

Pull requests

# create from the current branch (never from the default branch — branch first)
gh pr create --title "feat(x): …" --body "$(cat <<'EOF'
## What
## Why
## Testing
EOF
)" --base main
gh pr list --json number,title,headRefName,statusCheckRollup
gh pr view 57 --json title,body,reviewDecision,mergeStateStatus
gh pr diff 57

Rules:

  • Branch before you commit. If you're on the default branch (main/ master), create a feature branch first — never push commits straight to the default branch.
  • Write a real PR body: what changed, why, how it was tested. No empty descriptions.
  • Never --force / --force-with-lease push unless the user explicitly asks and understands the branch will be rewritten. Rewriting shared history is destructive.

Reviews

gh pr review 57 --comment --body "…"     # leave feedback without a verdict
gh pr review 57 --approve --body "LGTM"
gh pr review 57 --request-changes --body "…"

When reviewing, read the diff (gh pr diff), check the PR description matches the change, and look at CI before approving.

Read the full file on GitHub · 93 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. 1mo ago First seen · 93 lines · 81 tokens per session scan A 56023f6cb47a

Subscribe to this mod's changes

github is a skill published in the GitHub repository duyet/oma (10 stars, last pushed 9d ago), licensed Apache-2.0. It adds 81 tokens to every session and 915 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

pr

Draft a PR body from OMC's paper trail — the smallest visual that proves the change, evidence consumed from the verify protocol (never re-collected), reversibility from the ADR test on the diff, glossary language throughout.

Yeachan-Heo/oh-my-claudecode · 47 tokens

merge-batch

Prepare and merge an owner-selected PR batch with contributor credit and exact-candidate admission. Use for a pasted PR list; combined focused validation is diagnostic, and every actual landing still requires its applicable checks and authorization.

diegosouzapw/OmniRoute · 46 tokens

otto-pr-review-loop

Run Polly and OCR on a PR until all findings settle.

omnigent-ai/omnigent · 17 tokens

engram-branch-pr

PR creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a pull request, opening a PR, or preparing changes for review.

Gentleman-Programming/engram · 37 tokens

github-contributor

A step-by-step guide for contributing code, tests, documentation, or build changes to open-source projects you do not maintain. It explains how to prepare a pull request that follows the project’s rules and is easier for maintainers to review.

daymade/claude-code-skills · 105 tokens

revdiff

Review diffs, files, and documents with inline annotations in a TUI overlay, or answer questions about revdiff usage, configuration, themes, and keybindings. Opens revdiff in agterm/tmux/zellij/herdr/kitty/wezterm/cmux/ghostty/iterm2/emacs-vterm, captures annotations, and addresses them. Works in git, hg, and jj repos…

umputun/revdiff · 248 tokens