Skip to main content
subagent CX Codex

duplicate-pr — Claude Code subagent: find related PRs

duplicate-pr searches open pull requests for work that may overlap with a newly opened PR. Use it to spot possible duplicates before reviewing the change.

LicenseRef-Proprietary ★ 7,523 updated 2026-10-29

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/duplicate-pr.md
Open on GitHub

What duplicate-pr does

The subagent searches with terms taken from a PR’s title and description, trying different queries to find open requests that may address the same issue or feature. It reports candidates with their titles, URLs, and a brief reason for the match. When it finds none, it returns a short no-match response.

Its only enabled search tool is github-pr-search. The current request number arrives as CURRENT_PR_NUMBER: NNNN, so it can exclude that PR from its own results. Search depends on access to this tool.

What it helps with

  • find an open PR addressing the same issue
  • check whether another PR covers a similar feature
  • compare a new pull request with related open work

Example prompts for the agent

  • Check whether any open PRs address the same issue as this one.
  • Search for open pull requests related to this PR’s description.
  • Look for similar open PRs using this request’s title and description.

How to install duplicate-pr

Manually: put the files in place

.claude/agents/duplicate-pr.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about duplicate-pr

How do I install duplicate-pr in Claude Code?

Create .claude/agents/duplicate-pr.md and add the subagent configuration to that file.

What does duplicate-pr do?

It searches open pull requests for possible overlap with the current PR, then lists candidates and explains the connection.

Which tool does duplicate-pr use to search?

It uses github-pr-search. The current PR number is supplied so the agent can leave that request out of its results.

Similar subagents

Subagents catalog →
finding-duplicate-functions obra finding-duplicate-functions detects functions that share identical intent under different names or implementations. Useful for cleaning up shared helpers in codebases grown by multiple contributors or LLMs. CX Codex +1 659installs merge-duplicate-companies tomgranot merge-duplicate-companies flags duplicate HubSpot company records by domain and name, exports CSV audits, and structures the manual cleanup workflow. CX Codex +1 ★ 81repo stars code-reviewer official Anthropic code-reviewer reviews code changes against CLAUDE.md project rules and flags material defects. Run it before a commit or pull request. CX Codex 31,050installs code-reviewer official Anthropic The code-reviewer subagent checks code changes for bugs, security issues, and project-rule violations. Use it when a review should focus on findings that matter. CX Codex 31,050installs security-auditor official Anthropic security-auditor is a Claude Code subagent that performs adversarial security reviews on codebases. It inspects source trees for OWASP Top 10 risks, hardcoded secrets, and dependency CVEs. CX Codex 10,718installs test-engineer official Anthropic The test-engineer subagent captures legacy behavior in tests and compares it with a rewritten implementation. Use it before changing existing modules. CX Codex 9,715installs frontend-developer VoltAgent Community frontend-developer — a subagent for building complete frontend applications with React 18+, Vue 3+, and Angular 15+. Handles component architecture, state management, testing, and accessibility. CX Codex 40,905installs code-reviewer VoltAgent Community code-reviewer reviews code changes for bugs, security flaws and maintenance issues. Use it before merging complex work or auditing a project. CX Codex 31,050installs

From the same set42

The whole set →
browser-setup browser-setup — a command to test browser automation in iPolloWork right away. Opens the built-in browser, checks if it's available, and displays the page title. CX Codex +1 ★ 7,523repo stars image-editing image-editing guides the agent during selective image revisions inside Image Studio, updating only masked zones while protecting original files from overwrites. CX Codex +1 ★ 7,523repo stars release Runs the complete iPolloWork release cycle: from repository validation through package publishing. Handles versioning, git tags, and GitHub Actions deployment. CX Codex +1 ★ 7,523repo stars ipollowork-video-storyboard ipollowork-video-storyboard is a Claude Code skill that creates and revises STORYBOARD.md for iPolloWork video projects, structuring scenes and timing without generating assets. CX Codex +1 ★ 7,523repo stars ipollowork-video-soundtrack ipollowork-video-soundtrack is a Claude Code skill that adds or revises music and sound effects in an active iPolloWork video. It places audio as editable timeline clips and aligns cues with events. CX Codex +1 ★ 7,523repo stars ipollowork-video-voiceover ipollowork-video-voiceover adds or revises scene-bound narration and speech-linked captions in the iPolloWork video you are editing, using the voice settings already enabled. CX Codex +1 ★ 7,523repo stars release Automates multi-package version updates and tracks release builds in GitHub Actions. CX Codex +1 ★ 7,523repo stars executor executor — a subagent takes a well-defined task from an orchestrator, edits code, runs commands, and reports the result. Use it to delegate implementation work. CX Codex ★ 7,523repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open