github-pr-and-ci

github-pr-and-ci is a skill for Claude Code from davideagostini/ai-dev-skills. It costs 49 tokens per session (825 once invoked), scanned A, original, MIT.

A skill for using GitHub's command-line tool to inspect pull requests, automated checks, workflow runs, and GitHub data. Pull requests are proposed code changes, while CI is the system that automatically builds and tests code.

In plain words
What is it for?
Use it to check pull-request status, investigate failed CI workflows, and retrieve specific GitHub information through structured queries.
Why use it?
It helps identify the actual failing job, step, or log message instead of stopping at a general failure notice.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to check pull-request status, investigate failed CI workflows, and retrieve specific GitHub information through structured queries.

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

Made for: Claude Code.

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-pr-and-ci

README.md
[![agentmods](https://agentmods.dev/badge/skills/davideagostini/ai-dev-skills/github-pr-and-ci/github.svg)](https://agentmods.dev/skills/davideagostini/ai-dev-skills/github-pr-and-ci)
Your own site
<a href="https://agentmods.dev/skills/davideagostini/ai-dev-skills/github-pr-and-ci"><img src="https://agentmods.dev/badge/skills/davideagostini/ai-dev-skills/github-pr-and-ci/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-pr-and-ci

Your own site · 80×15
<a href="https://agentmods.dev/skills/davideagostini/ai-dev-skills/github-pr-and-ci"><img src="https://agentmods.dev/badge/skills/davideagostini/ai-dev-skills/github-pr-and-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 825 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.00049 $0.00825
Opus 5 $0.00024 $0.00413
Sonnet 5 $0.00010 $0.00165
Haiku 4.5 $0.00005 $0.00082

Measured 8d ago against content hash d32c8847acea, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

github-pr-and-ci 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 8d 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.

github-pr-and-ci/SKILL.md · 92 lines

How it starts

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

You are a pragmatic GitHub workflow operator focused on pull requests, checks, and CI debugging.

Your job is to inspect $ARGUMENTS, gather the minimum GitHub context needed, and identify the real status, failure point, or next action. Follow the workflow below in order. Consult the relevant reference file before going deeper.

Prefer concrete repo state over guesswork. Do not stop at “CI failed” when the underlying failed job, step, or log signature can be identified.


MODES

Choose the mode from the user's wording:

  • status-check: inspect PR status, workflow runs, or checks
  • ci-debug: investigate why a check or workflow run failed
  • api-query: use gh api, --json, or --jq for structured GitHub data

Default rules:

  • Use status-check for requests like check, inspect, show, or summarize
  • Use ci-debug for requests mentioning failed checks, CI errors, broken workflows, or logs
  • Use api-query when the user asks for specific fields, custom data, or advanced filtering

WORKFLOW

Step 1 — Determine the GitHub scope

→ Consult scope-and-repo.md

  • Identify the repo, PR, branch, workflow run, or issue the user is asking about
  • Use --repo owner/repo when not inside the target git directory
  • Prefer direct URLs when the user provides them
  • If the scope is unclear, stop and say so briefly

Step 2 — Gather the current state

→ Consult pr-and-checks.md

  • For PR work, inspect checks, review status, and recent runs
  • For workflow debugging, identify the relevant run ID first
  • Prefer the smallest command that answers the question
  • Use structured output when the result needs filtering or summarization

Step 3 — Investigate failures when needed

→ Consult actions-debugging.md → Consult failure-patterns.md

  • Identify the failed job and failed step
  • Fetch failed logs before speculating about the cause
  • Separate code failures from infra, permissions, flaky runners, or missing secrets
  • Summarize the most likely root cause and the next useful action

Read the full file on GitHub · 92 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 92 lines · 49 tokens per session scan A d32c8847acea

Subscribe to this mod's changes

github-pr-and-ci is a skill published in the GitHub repository davideagostini/ai-dev-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 49 tokens to every session and 825 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

glab-cli

GitLab CLI (glab) reference and workflow for repository, merge request, issue, CI/CD, release, and API operations across GitLab.com and self-managed or dedicated instances. Use when Codex needs to run or explain glab commands, usually by relying on the current glab context first, and only falling back to git remote -v…

flc1125/skills · 95 tokens

lov-release-via-cicd

A release workflow for Node, Tauri, Vite, shell, and GitHub Release projects. It checks or configures automated versioning and publishing, including macOS signing and notarisation when relevant.

lovstudio/skills · 47 tokens

lefthook

Canonical lefthook git-hooks setup: pre-commit (format, check, secret scan) and pre-push (test), each delegating to mise run tasks. Use for git hook configuration.

fmind/dot · 44 tokens

github-actions-multiplatform-release

Structure a GitHub Actions release pipeline for a multiplatform desktop app so one Linux runner cross-builds every platform's artifacts and a second, tiny macOS job does only the one step that genuinely requires macOS — with artifact handoff between them and no compilation on the costly runner; reach for it when your…

maxrave-dev/kotlin-footguns · 100 tokens

gitlab

GitLab issues, merge requests, repositories, CI pipelines, and code search via the glab CLI. Use when the user mentions GitLab, an MR/issue number, a project on gitlab.com, or a self-hosted GitLab instance.

AceDataCloud/Skills · 54 tokens

release

Trigger the CI release pipeline for gemini-plugin-cc. Maintainer-only.

abiswas97/gemini-plugin-cc · 18 tokens