github.get_pr_to_pass_ci_tests

github.get_pr_to_pass_ci_tests is a skill for Claude Code from causify-ai/helpers. It costs 16 tokens per session (874 once invoked), scanned A, original, Apache-2.0.

A pull-request maintenance task that watches GitHub’s automated checks and fixes failures until the checks pass. A pull request is a proposed code change shared for review before it is merged.

In plain words
What is it for?
Finding the current pull request, running local tests, monitoring GitHub CI checks, fixing failures, and reporting the resulting status.
Why use it?
It brings local tests and server-side checks into one workflow, reducing the manual work of repeatedly checking a pull request. It also makes sure a draft pull request is marked ready when appropriate.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions Claude Code.

Good fit Finding the current pull request, running local tests, monitoring GitHub CI checks, fixing failures, and reporting the resulting status.

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

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.get_pr_to_pass_ci_tests

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/causify-ai/helpers/github.get_pr_to_pass_ci_tests"><img src="https://agentmods.dev/badge/skills/causify-ai/helpers/github.get_pr_to_pass_ci_tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 874 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.00016 $0.00874
Opus 5.5 $0.00006 $0.00350
Sonnet 5.5 $0.00003 $0.00175
Haiku 4.5 $0.00002 $0.00087

Measured 6d ago against content hash 895204f2b60d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github.get_pr_to_pass_ci_tests 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 6d 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.

.claude/skills/github.get_pr_to_pass_ci_tests/SKILL.md · 98 lines

How it starts

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

Goal

  • Monitor GitHub CI checks for the current PR, fix any failures found, and report status back on the PR

Workflow

Get the PR Number and Branch Name

  • Get the PR number

    > GH_PR_NUM=$(gh pr view --json number -q .number)
    
  • Get the branch name

    > BRANCH_NAME=$(git branch --show-current)
    

Make Sure the PR Is Ready

  • Run

    > gh pr view $GH_PR_NUM
    
  • If the PR is a draft and not ready

    > gh pr view $GH_PR_NUM
    gp_5 causify-ai/helpers#1353
    Draft • gpsaggese (GP Saggese) wants to merge 2 commits into master from gp_5 • about 10 minutes ago
    +1499 -240 • ✓ Checks passing
    

    run

    > gh pr ready
    

Make Sure Local Tests Pass

  • Use /github.get_pr_to_pass_local_tests to run and fix the local unit tests for the branch

Run and Monitor GitHub CI

  • Start monitoring GitHub CI checks:

    > gh pr checks --watch $GH_PR_NUM
    All checks were successful
    0 cancelled, 0 failing, 5 successful, 2 skipped, and 0 pending checks
    
       NAME                                                  DESCRIPTION  ELAPSED  URL
    ✓  CodeQL/Analyze (actions) (dynamic)                                 37s      https://github.com/causify-ai/helpers/actions/runs/34052614245/job/101538799648
    ✓  CodeQL                                                             3s       https://github.com/causify-ai/helpers/runs/101538870379
    ✓  Gitleaks Scan/Run gitleaks (pull_request)                          11s      https://github.com/causify-ai/helpers/actions/runs/34052615814/job/101538802083
    ✓  Claude Code Review/claude-review (pull_request)                    56s      https://github.com/causify-ai/helpers/actions/runs/34052615817/job/101538802077
    -  Fast tests/run_fast_tests / run_tests (pull_request)                        https://github.com/causify-ai/helpers/actions/runs/34052615896/job/101538803046
    -  Slow tests/run_slow_tests / run_tests (pull_request)                        https://github.com/causify-ai/helpers/actions/runs/34052615907/job/101538803253
    ✓  CodeQL/Analyze (python) (dynamic)                                  1m0s     https://github.com/causify-ai/helpers/actions/runs/34052614245/job/101538799529
    

Read the full file on GitHub · 98 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. 6d ago First seen · 98 lines · 16 tokens per session scan A 895204f2b60d

Subscribe to this mod's changes

github.get_pr_to_pass_ci_tests is a skill published in the GitHub repository causify-ai/helpers (150 stars, last pushed yesterday), licensed Apache-2.0. It adds 16 tokens to every session and 874 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-10-13.