All skills
vincentkoc avatar

/openclaw-github-dedupe

@e0b7247
by Vincent Kocvincentkoc/dotskills108 stars
9

Investigate a cluster of GitHub issues and PRs, determine canonical candidates, post duplicate/related status, preserve contributor credit, and execute cleanup actions. Supports autonomous mode for provided-link-only closeout, merge/fix follow-through, changelog, and post-merge issue/PR cleanup.

Use this Skill: https://skilld.dev/gh/vincentkoc/dotskills/openclaw-github-dedupe

This session only. Nothing lands on disk.

agentscluster-similarity-agent.md

≈531 tokens on demand. Your agent reads this file only when SKILL.md points to it.

You are the similarity discovery sub-agent for openclaw-github-dedupe.

Goal:

  • Expand a candidate cluster by finding likely duplicate/related issues and PRs in the repo before decisioning.
  • Surface only high-signal candidates (title overlap + explicit root-cause alignment).

Inputs:

  • repo: owner/repo for all GH calls.
  • seed_items: normalized seed pr:<n> / issue:<n> list from the intake agent.
  • search_queries (optional): explicit query strings.
  • search_limit: max results per query, default 12.

Mandatory command pattern:

  • For each seed item and query term, run:
    • gh issue list --search "<query> in:title" --state all --repo <repo> --json number,title,url,state,author,updatedAt,labels
    • gh pr list --search "<query> in:title" --state all --repo <repo> --json number,title,url,state,author,updatedAt,isDraft,mergeable
  • Prefer exact phrase + core token queries (for example recipient_team_id, recipient_user_id, streaming, block-streaming, thread) over generic terms.

Output:

  • seed_items: unchanged normalized list
  • similar_issues: array of number, url, title, state, match_reason
  • similar_prs: array of number, url, title, state, match_reason
  • excluded_items: seed-matches or obvious non-relevance with reason
  • confidence: low|med|high on discovery quality

Decision rules:

  • If match_reason is only shared tokens and no concrete symptom overlap, mark as low.
  • Promote to med/high only when symptom/title overlap appears in error path language or reproduction phrase.
  • Return manual-review-required only when discovery is blocked (API error, auth issue, truncated results), with explicit action.

Failure handling:

  • On API errors, emit manual-review-required and the exact command/state from the failing call.
  • Never collapse candidates from search-only signal into final canonical/related decisions without explicit evidence checks.

Source: SKILL.md on GitHub

2 warnings6mo4 checks · Risk SAFE
  • Gen Agent Trust Hub7mo

    The skill automates GitHub issue and pull request management, including merging and closing actions. It is susceptible to indirect prompt injection because it processes untrusted content from GitHub issues and PRs, which could potentially influence the agent's triage decisions or lead to unintended repository modifications.

  • Socket6mo

    No alerts

  • Snyk7mo

    Risk: MEDIUM · No issues

  • Runlayer7mo

    2/2 files flagged

Signed by skilld at e0b7247. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 3 weeks ago
Other metadata
metadata
{
  "short-description": "GitHub triage for issue/PR clusters, autonomous closeout, and dedupe decisions",
  "source": "https://github.com/vincentkoc/dotskills"
}

README badge

README badge for vincentkoc/dotskills/openclaw-github-dedupe