CodeRabbit Inheritance Scanner - Existing PR Check

CodeRabbit Inheritance Scanner - Existing PR Check is a skill for Claude Code, Codex from wangke19/gemini-ai-helpers. It costs 24 tokens per session (669 once invoked), scanned A, original, Apache-2.0.

A GitHub check that looks for an already-open pull request about enabling CodeRabbit inheritance in a repository.

In plain words
What is it for?
Checking open pull-request titles for the phrase “CodeRabbit inheritance” before creating another fix.
Why use it?
It prevents duplicate fix pull requests when an existing one may have been renamed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Checking open pull-request titles for the phrase “CodeRabbit inheritance” before creating another fix.

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

Made for: Claude Code, Codex.

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 CodeRabbit Inheritance Scanner - Existing PR Check

README.md
[![agentmods](https://agentmods.dev/badge/skills/wangke19/gemini-ai-helpers/coderabbit-inheritance-scanner-existing-pr/github.svg)](https://agentmods.dev/skills/wangke19/gemini-ai-helpers/coderabbit-inheritance-scanner-existing-pr)
Your own site
<a href="https://agentmods.dev/skills/wangke19/gemini-ai-helpers/coderabbit-inheritance-scanner-existing-pr"><img src="https://agentmods.dev/badge/skills/wangke19/gemini-ai-helpers/coderabbit-inheritance-scanner-existing-pr/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 CodeRabbit Inheritance Scanner - Existing PR Check

Your own site · 80×15
<a href="https://agentmods.dev/skills/wangke19/gemini-ai-helpers/coderabbit-inheritance-scanner-existing-pr"><img src="https://agentmods.dev/badge/skills/wangke19/gemini-ai-helpers/coderabbit-inheritance-scanner-existing-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 669 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.00024 $0.00669
Opus 5 $0.00012 $0.00334
Sonnet 5 $0.00005 $0.00134
Haiku 4.5 $0.00002 $0.00067

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

Security

Grade A, and why

CodeRabbit Inheritance Scanner - Existing PR Check 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.

extensions/teams/skills/coderabbit-inheritance-scanner-existing-pr/SKILL.md · 65 lines

How it starts

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

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:

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

Read the full file on GitHub · 65 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 · 65 lines · 24 tokens per session scan A 1ec235868456

Subscribe to this mod's changes

CodeRabbit Inheritance Scanner - Existing PR Check is a skill published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 24 tokens to every session and 669 once invoked, about $0.0001 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-09-03.