github

github is a skill for Claude Code, Codex from aretw0/agents-lab. It costs 30 tokens per session (761 once invoked), scanned A, original, MIT.

A set of instructions for using GitHub through the gh command-line tool. GitHub is a service for hosting code and collaborating through issues, pull requests, and automated checks.

In plain words
What is it for?
Use it to work with issues, pull requests, CI runs, releases, and GitHub API queries, including mirroring local task information when required.
Why use it?
It provides a consistent way to inspect and manage GitHub work while keeping local task records as the main source when the project uses them.

Skill for Claude CodeCodex

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

Good fit Use it to work with issues, pull requests, CI runs, releases, and GitHub API queries, including mirroring local task information when required.

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

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/aretw0/agents-lab/github/github.svg)](https://agentmods.dev/skills/aretw0/agents-lab/github)
Your own site
<a href="https://agentmods.dev/skills/aretw0/agents-lab/github"><img src="https://agentmods.dev/badge/skills/aretw0/agents-lab/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/aretw0/agents-lab/github"><img src="https://agentmods.dev/badge/skills/aretw0/agents-lab/github.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 761 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.00030 $0.00761
Opus 5.5 $0.00012 $0.00304
Sonnet 5.5 $0.00006 $0.00152
Haiku 4.5 $0.00003 $0.00076

Measured 1mo ago against content hash 075a23e97d76, 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.

packages/git-skills/skills/github/SKILL.md · 105 lines

How it starts

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

GitHub Skill

Use the gh CLI to interact with GitHub. Always specify --repo owner/repo when not inside a git directory, or pass URLs directly.

Disable interactive prompts in agent-run commands:

GH_PROMPT_DISABLED=1 gh <command>

Board-first issue mirroring

When this workspace uses .project/tasks.json as the canonical board, treat GitHub Issues as an external mirror unless the operator explicitly says otherwise.

Mapping:

  • GitHub issue number/URL -> task note/evidence external reference.
  • GitHub issue title -> task description summary, preserving local task id as canonical id.
  • GitHub labels -> task priority/milestone only through an explicit mapping recorded in the task notes.
  • GitHub state closed/open -> mirror of local status, not an auto-close authority.

Sync policy:

  • Prefer .project -> GitHub for publication/mirror updates.
  • Never close local tasks solely because a GitHub issue is closed; require local verification evidence.
  • On conflict, append an audit note and ask for/rely on the board policy rather than overwriting silently.
  • Do not mutate public GitHub metadata or issue state without explicit operator intent.

Issues

# List open issues
gh issue list --repo owner/repo

# View an issue
gh issue view 42 --repo owner/repo

# Create an issue
GH_PROMPT_DISABLED=1 gh issue create --title "..." --body "..." --repo owner/repo

# Close an issue
gh issue close 42 --repo owner/repo

Pull Requests

# List PRs
gh pr list --repo owner/repo

# View a PR
gh pr view 55 --repo owner/repo

# Create a PR (always provide title and body — never rely on interactive editor)
GH_PROMPT_DISABLED=1 gh pr create --title "..." --body "..." --repo owner/repo

# Check CI status on a PR
gh pr checks 55 --repo owner/repo

# Merge a PR
GH_PROMPT_DISABLED=1 gh pr merge 55 --squash --delete-branch --repo owner/repo

CI / Workflow Runs

# List recent runs
gh run list --repo owner/repo --limit 10

# View a specific run
gh run view <run-id> --repo owner/repo

# View only failed step logs
gh run view <run-id> --repo owner/repo --log-failed

Read the full file on GitHub · 105 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 · 105 lines · 30 tokens per session scan A 075a23e97d76

Subscribe to this mod's changes

github is a skill published in the GitHub repository aretw0/agents-lab (11 stars, last pushed 3mo ago), licensed MIT. It adds 30 tokens to every session and 761 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

pi-review-gated-delivery

Use when coordinating review-gated delivery of discrete GitHub issues between one implementation peer and a review-only lead, with user-owned Changesets and approval-gated commits.

spences10/my-pi · 40 tokens

epic-close

Close out a completed EPIC / sprint end-to-end: author a fact-verified meta-post announcing what shipped, archive the EPIC's handovers, snapshot orchestrator memory, gate the integration→main merge on CI-green + explicit human go, drive the version bump (merge-commit conventions that auto-sync classifies), and verify…

gaia-research/gaia-skill-tree · 175 tokens

goal-issues-and-release

Clear the open issue backlog and then cut a release, in one autonomous run: use the batch-all-issues skill to resolve every open issue, then the goal-release skill to draft, merge, and see the release through publication. Never asks the user anything — every decision is made autonomously, and blockers are reported at…

dyoshikawa/rulesync · 83 tokens

jira-release

Assemble a release from a batch of Jira issues — one release branch, pull request, preview and tracking issue per repository — and, when a person says to ship it, merge it and move the cards on. Insert into the prompt of a run started on a batch of issues.

decocms/studio · 60 tokens

release-notes

Write release notes for a tagged release — a business-impact summary of what changed for the user, plus a thanks section naming every contributor whose commits are in the release. Short by construction.

no-human-ai/no_human · 41 tokens

launch

Planning releases and reporting delivery work from GitHub PR history. Use when versioning, CHANGELOGs, rollout or rollback plans, engineering metrics, retrospectives, or stakeholder reports are needed.

simota/agent-skills · 40 tokens