Skip to main content
skill CX Codex

github · sammcj — Claude Code skill: GitHub workflows

This skill sets rules for using gh to work with GitHub, from reading PR feedback to checking GitHub Actions. It fits tasks involving issues and code review.

Apache-2.0 ★ 173 updated 2026-10-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add sammcj/agentic-coding --skill github -a claude-code
Open on GitHub

What github does

The skill directs Claude Code to use gh for issues, pull requests, and releases, with commands run outside the sandbox. For a PR’s general discussion it points to gh pr view --comments or the REST endpoint; line-level review feedback and thread state are fetched in one GraphQL request.

For GitHub Actions, the skill calls for versions that have been available for at least 7 days. It gives pinact run -update --min-age 7 as an update command and zizmor . for a security audit. Running gh inside the sandbox conflicts with its instructions.

A review thread should be resolved through a GraphQL mutation only when the user explicitly asks; the skill says not to reply to a comment otherwise. To reopen a thread, use unresolveReviewThread.

What it helps with

  • read general discussion on a pull request
  • find unresolved line-level review threads
  • update GitHub Actions versions based on release age
  • audit GitHub Actions for security issues
  • resolve a review thread when asked

Example prompts for the agent

  • Read the general discussion on this pull request using gh.
  • Find unresolved line-level review threads and show who left them.
  • Audit the GitHub Actions configuration for security issues.

How to install github

1Skills CLI (Vercel)

npx skills add sammcj/agentic-coding --skill github -a claude-code

2Manually: put the files in place

~/.claude/skills/github/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/github/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about github

How do I install github in Claude Code?

Run npx skills add sammcj/agentic-coding --skill github -a claude-code. The skill file is at ~/.claude/skills/github/SKILL.md.

What does the github skill do?

It sets instructions for GitHub tasks with gh, including PR discussion, review threads, and GitHub Actions checks.

How does the skill handle GitHub Actions versions?

It calls for versions that have been available for at least 7 days. The suggested update command is pinact run -update --min-age 7.

Source text

SKILL.md · Apache-2.0
---
name: github
description: You MUST always activate this github skill whenever working with GitHub in any capacity, including but not limited to gh cli, API, Actions, issues, PRs and other routine Github interactions.
metadata:
  info: I moved these out of my global agent rules to save a few tokens
---

# GitHub

- Use the `gh` CLI tool for interacting with GitHub (issues, PRs, releases) and perform `gh` commands outside of the sandbox
- When when working with Github Actions, you should always check for and use the latest Actions versions that are at least 7 days old, you can use `pinact run -update --min-age 7` to achieve this
- For the general PR conversation timeline (not line-level review comments), use `gh pr view --comments` or the REST `/issues/N/comments` endpoint
- When you need to read line-level review comments with their resolved state (e.g. triaging bot or human review feedback), fetch them via GraphQL in one call:  `gh api graphql -f query='query { repository(owner: "OWNER", name: "REPO") { pullRequest(number: N) { reviewThreads(first: 100) { nodes { id isResolved path line comments(first: 1) { nodes { author { login } body } } } } } } }' --jq '.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false)'`
- When explicitly asked by the user to "close" or "resolve" a review comment, resolve the thread via the GraphQL mutation (do not reply to a comment unless instructed): `gh api graphql -f query='mutation($id: ID!) { resolveReviewThread(input: { threadId: $id }) { thread { isResolved } } }' -f id="PRRT_..."`
- Thread IDs start with `PRRT_`. Use `unresolveReviewThread` to reopen
- You can audit Github Actions security by running `zizmor .`

© sammcj · Apache-2.0 · sammcj/agentic-coding

Similar skills

All skills for Git and GitHub →

github by other authors comes first.

github openclaw Skill for GitHub through CLI: view and create pull requests, manage issues, check CI status, handle reviews and releases. Works on Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. CX Codex +1 6,100installs github Ben Barclay (benbarclay), Hermes Agent Routes GitHub workflows through the gh CLI, covering issues, PR lifecycles, code reviews, and repo tasks. Designed for tracking delivery straight from the terminal. CX Codex +1 245installs github Dimillian github guides coding agents to use the gh CLI for inspecting pull requests, issues, and failed CI workflows. CX Codex +1 912installs github mitsuhiko Teaches the agent to work with GitHub through the gh CLI: pull requests, CI runs, issues and raw API queries. CX Codex +1 507installs github kostja94 A skill for marketing on GitHub: repos, READMEs, GitHub Pages and Awesome lists used for SEO and AI citation. CX Codex +1 1,900installs github-issues official github Manage GitHub issues through MCP tools and gh api: create bug reports, tasks, and feature requests, then update fields and issue relationships. CX Codex +1 17,431installs github-profile-optimization Samuel Berthe github-profile-optimization is a Claude Code skill that audits and restructures GitHub personal or organization profiles to support hiring or project adoption. CX Codex +1 13,400installs github-actions callstackincubator Reusable GitHub Actions patterns to build React Native apps for iOS simulators and Android emulators in the cloud and download artifacts. Simplifies CI pipeline setup and scripted retrieval via gh CLI or REST API. CX Codex +1 12,400installs create-github-issues-feature-from-implementation-plan official github create-github-issues-feature-from-implementation-plan is a GitHub Copilot skill that turns implementation plan phases into GitHub Issues. It converts a finished plan into trackable work. CX Codex +1 9,440installs github-traffic zc277584121 github-traffic pulls traffic metrics, visitor referrers, and clone counts from GitHub. Stores snapshots locally and generates trend charts. CX Codex +1 3,800installs github-deep-research bytedance github-deep-research runs multi-round research on any GitHub repository and writes a structured markdown report with a timeline, metrics and Mermaid diagrams. CX Codex +1 2,900installs

From the same set73

The whole set →
golang-development golang-development configures build flags, modernize checks, and idiomatic Go practices in Claude Code. Helpful when writing services or tests in Go. CX Codex +1 ★ 173repo stars edit-article edit-article restructures draft articles around heading dependencies and rewrites each section into short paragraphs under 240 characters. CX Codex +1 ★ 173repo stars llm-prompting-guide llm-prompting-guide is a Claude Code skill with prompt format rules for MiniMax H3 and MiniMax Music 3. Consult it when drafting prompts for these models in ComfyUI or other tools. CX Codex +1 ★ 173repo stars backlog Tracks bugs and features in local Markdown files or GitHub Issues. Keeps backlogs tidy without drafting heavy PRDs or specifications. CX Codex +1 ★ 173repo stars compact-prep compact-prep — a Claude slash command that tidies the work state before the context window fills up, then hands you prompts for compacting the session and resuming it. CX Codex +1 ★ 173repo stars subagent-delegation subagent-delegation guides Claude Code in scoping sub-tasks, assigning file ownership, and choosing between clean named sub-agents or session forks. CX Codex +1 ★ 173repo stars openspeccer openspeccer opens a read-only local dashboard for an OpenSpec repository and reports active changes, artifacts, and tasks. Useful when you need project status. CX Codex +1 ★ 173repo stars json-schema-lookup json-schema-lookup — a skill that points Claude at the SchemaStore catalog so it can validate config files and look up allowed options. CX Codex +1 ★ 173repo stars

Project sponsors

Companies that keep this analytics open