Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Checks for existing issues and PRs before creating a new one. Searches the target repo using keyword queries and shows matches so the agent can decide whether to proceed or comment on an existing thread instead.
Runs the duplicate check automatically before gh issue create or gh pr create, so the agent never needs to be reminded to look first.
When to use it
- Avoiding duplicate bug reports on a shared open source repo
- Checking if a feature request already exists before filing
- Finding related PRs before opening a new fix
- Verifying a patch hasn't already been submitted upstream
- Preventing redundant issue threads after a release
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: 'File a bug report for the clipboard paste issue in WSL2'
- 1Identifies the target repo with gh repo view --json nameWithOwner
- 2Extracts keywords: clipboard paste WSL2
- 3Runs gh search issues and gh search prs with those keywords, limit 5 each
- 4Reads matching thread titles and comment counts to evaluate relevance
- 5Reports found duplicates to the user and asks whether to proceed or comment on an existing thread
Two related open issues found; user chooses to add a comment to #13738 instead of opening a new one
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.