GitHub operations via `gh` CLI: issues, PRs, CI runs, code review, API queries. Use when: (1) checking PR status or CI, (2) creating/commenting on issues, (3) listing/filtering PRs or issues, (4) viewing run logs. NOT for: complex web UI interactions requiring manual browser flows (use browser tooling when available), bulk operations across many repos (script with gh api), or when gh auth is not configured.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# GitHub Skill
Use the `gh` CLI to interact with GitHub repositories, issues, PRs, and CI.
## When to Use
✅ **USE this skill when:**
- Checking PR status, reviews, or merge readiness
- Viewing CI/workflow run status and logs
- Creating, closing, or commenting on issues
- Creating or merging pull requests
- Querying GitHub API for repository data
- Listing repos, releases, or collaborators
## When NOT to Use
❌ **DON'T use this skill when:**
- Local git operations (commit, push, pull, branch) → use `git` directly
- Non-GitHub repos (GitLab, Bitbucket, self-hosted) → different CLIs
- Cloning repositories → use `git clone`
- Reviewing actual code changes → use `coding-agent` skill
- Complex multi-file diffs → use `coding-agent` or read files directly
## Setup
```bash
# Authenticate (one-time)
gh auth login
# Verify
gh auth status
```
## Common Commands
### Pull Requests
```bash
# List PRs
gh pr list --repo owner/repo
# Check CI status
gh pr checks 55 --repo owner/repo
# View PR details
gh pr view 55 --repo owner/repo
# Create PR
gh pr create --title "feat: add feature" --body "Description"
# Merge PR
gh pr merge 55 --squash --repo owner/repo
```
### Issues
```bash
…
The line at the top of this page pins the label git:20260422.d32735f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
A 17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
pass: Frontmatter block present
pass: Frontmatter declares a name
pass: Frontmatter declares a description
pass: Size between 200 bytes and 200 KB (3569 bytes)
pass: No zero-width or bidi control characters
pass: No instruction hidden inside an HTML comment
pass: No link to an exfiltration or paste host
pass: No credential-shaped string
pass: No instruction to send local credentials anywhere
pass: No text hidden with inline styles
pass: No prompt-injection phrasing
pass: No curl or wget piped into a shell
pass: No recursive delete of root, home or parent
pass: No instruction to read or print local credentials
pass: No base64 blob over 200 characters
pass: No link to a raw IP address
pass: No script tag
Source
GitHub
letta-ai/skills · 156 stars · license a license file GitHub does not identify · pushed 2026-10-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_nvefdar4uaed4gxf
GET https://markdownregistry.com/api/v1/resolve?ref=letta-ai/skills/github
GET https://markdownregistry.com/api/v1/blob/3b604b6af5071f48e9a5f8afa7bf6b70f39d8937cd71efecaf428aecb88bdfe8
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
letta-ai/skills · letta/conversations/SKILL.md · Guide for using the Letta Conversations API to manage isolated message threads on agents. Use when building multi-user…
letta-ai/skills · letta/creating-letta-code-channels/SKILL.md · Builds and debugs Letta Code channels, including first-party channel adapters and dynamic user channel plugins under…
letta-ai/skills · letta/fleet-management/SKILL.md · Manage Letta AI agent fleets declaratively with kubectl-style CLI. Use when creating, updating, or managing multiple…
letta-ai/skills · letta/importing-chatgpt-memory/SKILL.md · Clone ChatGPT saved memory into Letta, then optionally enrich it with broader conversation history. Designed for a…
letta-ai/skills · letta/letta-configuration/SKILL.md · Configure LLM models and providers for Letta agents and servers. Use when setting model handles, adjusting…
letta-ai/skills · letta/navigating-chatgpt-history/SKILL.md · Navigates archived ChatGPT or Claude-style conversation exports and a MemFS reference archive on demand. Use when…
letta-ai/skills · letta/setting-profile-images/SKILL.md · Sets Letta Desktop and Letta Code agent profile images by writing profile.png into an agent MemFS repository. Use when…
letta-ai/skills · meta/skill-development/SKILL.md · Create and contribute skills to the communal knowledge base. Use when creating new skills, updating existing skills, or…
letta-ai/skills · tools/1password/SKILL.md · Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…
volcengine/openviking · bot/workspace/skills/github/SKILL.md · Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and…
phyagentos/phyagentos-core · PhyAgentOS/skills/github/SKILL.md · Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and…
bitterbot-ai/bitterbot-desktop · skills/github/SKILL.md · Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and…
dicklesworthstone/pi_agent_rust · tests/ext_conformance/artifacts/npm/mitsupi/skills/github/SKILL.md · Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and…
trpc-group/trpc-agent-go · openclaw/skills/github/SKILL.md · GitHub operations via `gh` CLI: issues, PRs, CI runs, code review, API queries. Use when: (1) checking PR status or CI…
team-commonly/commonly · backend/commonly-bundled-skills/github/SKILL.md · Interact with GitHub (issues, PRs, repos, releases) using the `gh` CLI. Use when asked to read or write GitHub state —…
kostja94/marketing-skills · skills/platforms/github/SKILL.md · When the user wants to use GitHub for SEO, parasite SEO, GEO, open source marketing, README optimization, or curated…