Agent skill

Coderabbit Inheritance Scanner Existing PR

by openshift-eng in openshift-eng/ai-helpers

Search for an existing fix PR on a repo before opening a new one

Apache-2.0Auto-check passed

Install Coderabbit Inheritance Scanner Existing PR

skills CLI
$ npx skills add openshift-eng/ai-helpers --skill coderabbit-inheritance-scanner-existing-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install openshift-eng/ai-helpers coderabbit-inheritance-scanner-existing-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/teams/skills/coderabbit-inheritance-scanner-existing-pr .claude/skills/coderabbit-inheritance-scanner-existing-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
coderabbit-inheritance-scanner-existing-pr
GitHub stars
120
Token cost
~612 tokens
SKILL.md length
177 words
Files
1
Skills in repo
118
Repo updated
First seen
Licence
Apache-2.0

At a glance

Search for an existing fix PR on a repo before opening a new one

  • SKILL.md covers When to Use This Skill, Procedure, Output Format and Notes
  • Calls jq and gh

What it does

Coderabbit Inheritance Scanner Existing PR is an agent skill from openshift-eng/ai-helpers. Search for an existing fix PR on a repo before opening a new one

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Developer productivity tools for Claude Code & other AI assistants. The licence is Apache-2.0.

Example prompts

  • “/coderabbit-inheritance-scanner-existing-pr”

What it can do on your machine

Read from SKILL.md and the folder at commit a627176. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • jq
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Coderabbit Inheritance Scanner Existing PR loads about 612 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 177 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~612

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from openshift-eng/ai-helpers at commit a627176, republished under its Apache-2.0 licence (© openshift-eng). 177 words, ~612 tokens.

Download SKILL.mdSave it as .claude/skills/coderabbit-inheritance-scanner-existing-pr/SKILL.md (or your agent's skills folder).
name
coderabbit-inheritance-scanner-existing-pr
description
Search for an existing fix PR on a repo before opening a new one

CodeRabbit Inheritance Scanner - Existing PR Check

This skill checks whether a repository already has an open pull request whose title contains "CodeRabbit inheritance" (case-insensitive substring match). Teams sometimes modify PR titles to satisfy merge requirements, so a substring match avoids missing renamed PRs. This prevents duplicate PRs from being opened.

When to Use This Skill

Use this skill as Step 3 of the /teams:coderabbit-inheritance-scanner command, after identifying non-compliant repos. Call it for each non-compliant repo.

Procedure

For a batch of non-compliant repos, check for existing PRs:

bash
# Input: NON_COMPLIANT_REPOS array of "org/repo" strings
# Output: prints PR status for each repo

for REPO in "${NON_COMPLIANT_REPOS[@]}"; do
  # Search for open PRs whose title contains "CodeRabbit inheritance" (case-insensitive)
  PR_DATA=$(gh api "repos/${REPO}/pulls" \
    -f "state=open" \
    -f "per_page=100" \
    --jq '[.[] | select(.title | ascii_downcase | contains("coderabbit inheritance"))] | first? | {number: .number, html_url: .html_url, created_at: .created_at} // empty' 2>/dev/null)

  if [ -n "$PR_DATA" ]; then
    PR_NUMBER=$(echo "$PR_DATA" | jq -r '.number')
    PR_URL=$(echo "$PR_DATA" | jq -r '.html_url')
    CREATED_AT=$(echo "$PR_DATA" | jq -r '.created_at')

    # Calculate days open
    CREATED_EPOCH=$(date -j -f "%Y-%m-%dT%H:%M:%SZ" "$CREATED_AT" "+%s" 2>/dev/null || date -d "$CREATED_AT" "+%s" 2>/dev/null)
    NOW_EPOCH=$(date "+%s")
    DAYS_OPEN=$(( (NOW_EPOCH - CREATED_EPOCH) / 86400 ))

    echo "HAS_PR|${REPO}|${PR_URL}|${DAYS_OPEN}"
  else
    echo "NO_PR|${REPO}||"
  fi

  sleep 0.3
done

Output Format

Pipe-separated fields per line:

STATUS|org/repo|pr_url|days_open

Where STATUS is one of:

  • HAS_PR - An open PR with the expected title was found
  • NO_PR - No matching open PR exists

Notes

  • Only checks for open PRs, not closed or merged ones. A previously merged PR means the repo may have become compliant (the check skill would have already classified it as COMPLIANT).
  • A previously closed (not merged) PR indicates the fix was rejected. The report should note this so the user can investigate before re-opening.
  • The days_open field helps prioritize follow-up on stale PRs.

© openshift-eng, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/teams/skills/coderabbit-inheritance-scanner-existing-pr of openshift-eng/ai-helpers.

Open the folder on GitHubat commit a627176

Compare with similar skills

Coderabbit Inheritance Scanner Existing PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Coderabbit Inheritance Scanner Existing PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Coderabbit Inheritance Scanner Existing PR this skillopenshift-eng/ai-helpers120—~612Automated safety check: PassApache-2.0
Terminal Openeraffaan-m/ECC275k—~635Automated safety check: PassMIT
Reviewing With CoderabbitPostHog/posthog40k—~1.7kAutomated safety check: PassCustom licence
Open Federationruvnet/ruflo74k—~1.6kAutomated safety check: PassMIT
Open NotebookK-Dense-AI/scientific-agent-skills48k1 repos~2.8kAutomated safety check: PassMIT
Desk Opengithub/awesome-copilot40k—~757Automated safety check: PassMIT

Similar skills

  • Terminal Opener

    affaan-m/ECC

    Open an executable and its argument array in a visible terminal window through a reusable, shell-free launch plan with dry-run, JSON, capability detection, detached fallback, and standalone recovery…

    275k GitHub stars~635 tokensUpdated 3 days ago
    Marketing & SEOAuto-check passed
  • Official

    Run a CodeRabbit review over the branch from the terminal, with the coderabbit CLI, and record the pass in the PR description.

    40k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Open Federation

    ruvnet/ruflo

    Coordinate with the open ruflo swarm federation at x.ruv.io (signed Nostr, membership-gated) and ask Seraphina — the swarm queen / primary coordinator — for guidance.

    74k GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Open Notebook

    K-Dense-AI/scientific-agent-skills

    Organizes research with the self-hosted Open Notebook alternative to NotebookLM.

    48k GitHub starsUsed in 1 repo~2.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Desk Open

    github/awesome-copilot

    Official

    Create and open a new desk in the workshop. An agent skill from github/awesome-copilot.

    40k GitHub stars~757 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Open

    davepoon/buildwithclaude

    Boot the session, load context from the vault, and surface what matters

    3.6k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed

More from openshift-eng/ai-helpers

All 118 skills in this repo
  • Investigate CI Reliability

    openshift-eng/ai-helpers

    Find and independently validate actionable reliability defects across OpenShift release jobs and presubmits, then export portable issue handoffs.

    120 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Address Review PR

    openshift-eng/ai-helpers

    Fetch and address all PR review comments — categorize by priority, make code changes, post replies, and push.

    120 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Categorize Activity Types

    openshift-eng/ai-helpers

    Categorize Jira issues into Red Hat Sankey Activity Type categories using MCP Jira tools.

    120 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Has Review Work

    openshift-eng/ai-helpers

    Decide whether a GitHub PR has unanswered authorized review comments or new required CI failures worth a follow-up agent.

    120 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Must Gather Analyzer

    openshift-eng/ai-helpers

    Analyze OpenShift must-gather diagnostic data including cluster operators, pods, nodes, and network components.

    120 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Payload Autodl JSON

    openshift-eng/ai-helpers

    Schema for the autodl JSON data file produced by payload-analysis for database ingestion — you must use this skill whenever generating the autodl JSON file

    120 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed

Questions about Coderabbit Inheritance Scanner Existing PR

What does Coderabbit Inheritance Scanner Existing PR do?

Search for an existing fix PR on a repo before opening a new one. Coderabbit Inheritance Scanner Existing PR is an agent skill from openshift-eng/ai-helpers.

How do I install Coderabbit Inheritance Scanner Existing PR in Claude Code?

Run `npx skills add openshift-eng/ai-helpers --skill coderabbit-inheritance-scanner-existing-pr -a claude-code`. Or copy the skill folder (plugins/teams/skills/coderabbit-inheritance-scanner-existing-pr in openshift-eng/ai-helpers) into .claude/skills/coderabbit-inheritance-scanner-existing-pr in your project. Claude Code loads it when a task matches its description.

How do I install Coderabbit Inheritance Scanner Existing PR in Codex?

Run `npx skills add openshift-eng/ai-helpers --skill coderabbit-inheritance-scanner-existing-pr -a codex`. Or copy the skill folder (plugins/teams/skills/coderabbit-inheritance-scanner-existing-pr in openshift-eng/ai-helpers) into .agents/skills/coderabbit-inheritance-scanner-existing-pr in your project. Codex loads it when a task matches its description.

Can I use Coderabbit Inheritance Scanner Existing PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openshift-eng/ai-helpers --skill coderabbit-inheritance-scanner-existing-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/coderabbit-inheritance-scanner-existing-pr, .gemini/skills/coderabbit-inheritance-scanner-existing-pr, .github/skills/coderabbit-inheritance-scanner-existing-pr and .opencode/skills/coderabbit-inheritance-scanner-existing-pr in your project.

What does Coderabbit Inheritance Scanner Existing PR need to run?

Going by SKILL.md and its folder, Coderabbit Inheritance Scanner Existing PR needs the command-line tools its instructions call (jq and gh).

Does Coderabbit Inheritance Scanner Existing PR access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Coderabbit Inheritance Scanner Existing PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Coderabbit Inheritance Scanner Existing PR use?

Coderabbit Inheritance Scanner Existing PR is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Coderabbit Inheritance Scanner Existing PR use?

About 612 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Coderabbit Inheritance Scanner Existing PR?

Skills that share tags, products or a category with Coderabbit Inheritance Scanner Existing PR: Terminal Opener (affaan-m/ECC, 275k stars), Reviewing With Coderabbit (PostHog/posthog, 40k stars), Open Federation (ruvnet/ruflo, 74k stars) and Open Notebook (K-Dense-AI/scientific-agent-skills, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Coderabbit Inheritance Scanner Existing PR?

openshift-eng (a GitHub organization) maintains it in openshift-eng/ai-helpers, which has 120 GitHub stars. The repository holds 118 skills in this directory. The repository was last updated on October 6, 2026.

Source: openshift-eng/ai-helpers on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.