cluster-similarity-agent

cluster-similarity-agent is an agent for Claude Code from vincentkoc/dotskills. It costs 22 tokens per session (495 once invoked), scanned A, original, MIT.

A helper agent that searches GitHub for issues and pull requests related to an initial set of items. It looks for likely duplicates or closely related reports before final grouping decisions.

In plain words
What is it for?
Use it to expand a proposed group of issues or pull requests, run targeted GitHub searches, and return candidate matches with reasons for each match.
Why use it?
It reduces the chance of missing relevant items when cleaning up duplicate GitHub reports. Its searches focus on matching titles and shared underlying causes.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents; built for openclaw.

Part of the openclaw-github-dedupe plugin — 1 skill, 5 agents shipped together

Good fit Use it to expand a proposed group of issues or pull requests, run targeted GitHub searches, and return candidate matches with reasons for each match.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vincentkoc/dotskills/cluster-similarity-agent
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.

Clone the repo
git clone --depth 1 https://github.com/vincentkoc/dotskills

Made for: Claude Code.

Or install openclaw-github-dedupe, the plugin that ships this one along with the rest of its 1 skill, 5 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cluster-similarity-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/vincentkoc/dotskills/cluster-similarity-agent/github.svg)](https://agentmods.dev/agents/vincentkoc/dotskills/cluster-similarity-agent)
Your own site
<a href="https://agentmods.dev/agents/vincentkoc/dotskills/cluster-similarity-agent"><img src="https://agentmods.dev/badge/agents/vincentkoc/dotskills/cluster-similarity-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cluster-similarity-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/vincentkoc/dotskills/cluster-similarity-agent"><img src="https://agentmods.dev/badge/agents/vincentkoc/dotskills/cluster-similarity-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 495 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00022 $0.00495
Opus 5.5 $0.00009 $0.00198
Sonnet 5.5 $0.00004 $0.00099
Haiku 4.5 $0.00002 $0.00049

Measured 3mo ago against content hash dc38e541b438, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cluster-similarity-agent 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 3mo 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.

skills/openclaw-github-dedupe/agents/cluster-similarity-agent.md · 45 lines

What it actually says

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.
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. 3mo ago First seen · 45 lines · 22 tokens per session scan A dc38e541b438

Subscribe to this mod's changes

cluster-similarity-agent is an agent published in the GitHub repository vincentkoc/dotskills (111 stars, last pushed 3d ago), licensed MIT. It adds 22 tokens to every session and 495 once invoked, about $0.0001 per session on Opus 5.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.

Related

cluster-similarity-agent compared with agents from other repositories

cluster-similarity-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cluster-similarity-agentvincentkoc/dotskillsAgent1113d agoMITA22Claude Code
yinyuelinggen/linggenAgent12todayApache-2.0A43Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82ktodayMITA33Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
Context7-Expertgithub/awesome-copilotAgent42ktodayMITA22Claude Code