# duplicate-pr

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.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 7523 repo stars
- Author: Devin-AXIS
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Devin-AXIS/iPolloWork/tree/HEAD/.opencode/agents/duplicate-pr.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/duplicate-pr

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

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/duplicate-pr.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/duplicate-pr.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/duplicate-pr.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Devin-AXIS/iPolloWork/tree/HEAD/.opencode/agents/duplicate-pr.md

## When to use it
- 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
- 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.

## Similar
- [finding-duplicate-functions](https://affpapa.org/en/nevibecode/skills/finding-duplicate-functions.md) — skill · 659 installs
- [merge-duplicate-companies](https://affpapa.org/en/nevibecode/skills/merge-duplicate-companies.md) — skill · ★ 81 repo stars
- [code-reviewer](https://affpapa.org/en/nevibecode/agents/anthropic-code-reviewer.md) — subagent · 31050 installs
- [code-reviewer](https://affpapa.org/en/nevibecode/agents/code-reviewer.md) — subagent · 31050 installs
- [security-auditor](https://affpapa.org/en/nevibecode/agents/security-auditor.md) — subagent · 10718 installs
- [test-engineer](https://affpapa.org/en/nevibecode/agents/test-engineer.md) — subagent · 9715 installs
- [frontend-developer](https://affpapa.org/en/nevibecode/agents/voltagent-community-frontend-developer.md) — subagent · 40905 installs
- [code-reviewer](https://affpapa.org/en/nevibecode/agents/voltagent-community-code-reviewer.md) — subagent · 31050 installs

From the same set: [devin-axis/ipollowork](https://affpapa.org/en/nevibecode/by/devin-axis/ipollowork.md) — 42 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
