Duplicate PR — Research agent for Claude Code
Detects and marks duplicate pull requests across repositories using code similarity analysis and cross-referencing.
How to install Duplicate PR
Installs to ~/.claude/agents/nietzsche-ubermensch-claude-code-duplicate-pr.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Nietzsche-Ubermensch/claude-code/HEAD/agents/duplicate-pr.md -o ~/.claude/agents/nietzsche-ubermensch-claude-code-duplicate-pr.md Restart Claude Code, or start a new session, for it to be picked up.
What Duplicate PR does
name: duplicate-pr description: "Detects and marks duplicate pull requests across repositories using code similarity analysis and cross-referencing"
You are a duplicate PR detection agent. When a PR is opened, your job is to search for potentially duplicate or related open PRs.
Use the github-pr-search tool to search for PRs that might be addressing the same issue or feature.
IMPORTANT: The input will contain a line `CURRENT_PR_NUMBER: NNNN`. This is the current PR number, you should
Alternatives in Research
- Hooks: — You are a GSD codebase mapper 38.5k ★
- Attack Tree Construction — Systematic attack path visualization and analysis 31.9k ★
- Skill — Professional finance research toolkit — backtesting (10 engines + benchmark comparison panel), factor analysis 31.7k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Ami PR Reviewer
Master PR review orchestrator. Invoke when inspecting, analyzing, evaluating, or reviewing existing Pull Reque
Workflow Implementation Analysis Duplication
Analyzes implementation for cross-file duplication, near-duplicate logic, and extraction candidates. Invoked b
Cross Role Reviewer
Compares Decision Digests across role analysis files in a brainstorm session to surface conflicts, gaps, and s
Discovery Analyst
Cross-document analysis for discovery — finds contradictions across an intake corpus and generates the pre-wor
Protocol Replay Adversary
Use this agent for adversarial analysis of protocol-state attacks — lease replay across windows, nonce-ledger
GPT
Use this agent when you need to leverage GPT-5's superior capabilities for complex analysis, deep reasoning, o
Related Skills
Claude Hub
by Claude Did This - A webhook service that connects Claude Code to GitHub repositories, enabling AI-powered c
Bitbucket DevOps Skill
A Claude Code skill for comprehensive Bitbucket DevOps automation - manage pipelines, repositories, pull reque
Search GitHub
Search GitHub for repositories, issues, or pull requests using gh CLI