github-issue-dedupe

A tool for finding GitHub issues that describe the same problem. GitHub issues are records used to report bugs, requests, and other work, and this tool compares their wording, errors, symptoms, and affected code areas.

In plain words
What is it for?
Use it to check a new issue against existing ones, inspect likely matches, or set up duplicate detection through GitHub Actions, GitHub's automation service.
Why use it?
It reduces repeated issue investigation and helps distinguish true duplicates from issues that only look related.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/warpdotdev/oz-skills/github-issue-dedupe
Any agent
npx skills add warpdotdev/oz-skills --skill github-issue-dedupe
Clone the repo
git clone --depth 1 https://github.com/warpdotdev/oz-skills

Made for: Claude Code, Codex.

Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 816 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00038 $0.00816
Opus 5 $0.00019 $0.00408
Sonnet 5 $0.00008 $0.00163
Haiku 4.5 $0.00004 $0.00082

Measured 2d ago against content hash 27ba2736754a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

github-issue-dedupe 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 2d 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.

.agents/skills/github-issue-dedupe/SKILL.md · 138 lines

How it starts

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

GitHub Duplicate Issue Detection

Find duplicate GitHub issues using multi-strategy search. Can be run manually or automated via GitHub Actions.

Workflow

1. Gather Issue Context

Extract key information from the target issue:

  • Issue number and title
  • Full body content
  • Error messages or stack traces
  • Keywords and technical terms
  • Symptoms or behavior descriptions

2. Search Strategy

Use gh to search for related issues using multiple strategies:

  • Keyword search from title and body
  • Search for similar error messages
  • Look for similar symptoms

3. Candidate Inspection

For each potential duplicate:

  • View full issue with gh issue view <number>
  • Compare:
    • Root cause (same underlying problem?)
    • Symptoms (identical behavior?)
    • Error messages (exact match or very similar?)
    • Affected components (same area of code?)

High confidence indicators:

  • Identical error messages
  • Same reproduction steps
  • Same root cause with different descriptions
  • One issue references the other

Low confidence (not duplicates):

  • Similar symptoms but different causes
  • Related but independent bugs
  • Same component but different behaviors

4. Report Findings

If duplicates found:

Post comment on target issue:

gh issue comment <number> --body "This is potentially a duplicate of #123 and #456."

Format rules:

  • Single duplicate: "This is potentially a duplicate of #123."
  • Two duplicates: "This is potentially a duplicate of #123 and #456."
  • Three+ duplicates: "This is potentially a duplicate of #123, #456, and #789."

Only comment if high confidence (90%+ certain). When uncertain, do nothing.

Examples

Example 1: Clear Duplicate

Target Issue #150:

Title: "Dropdown menu stays open on mobile Safari"
Body: Clicking menu items doesn't close dropdown on iOS

Search process:

gh issue list --search "dropdown mobile safari"
gh issue list --search "menu doesn't close"
gh issue view 87  # Found similar issue

Read the full file on GitHub · 138 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 138 lines · 38 tokens per session scan A 27ba2736754a

Subscribe to this mod's changes

github-issue-dedupe is a skill published in the GitHub repository warpdotdev/oz-skills (823 stars, last pushed 17d ago), licensed MIT. It adds 38 tokens to every session and 816 once invoked, about $0.0002 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-08-30.