Sponsor Suno AI Music arrow_forward
Subagent

Bug Clusterer

Parse, classify, redact PII, score reliability, and cluster bug candidates by family and signal layers. Use when processing raw X/Twitter posts into structured bug clusters.

Type
Subagent
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Model
inherit
Version
0.3.0
Author
Jeremy Longshore

What Bug Clusterer is

Bug Clusterer is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Bug Clusterer and get back a compact result.

It is set up to use these tools: Read, Glob, Grep, triage:fetch_mentions, triage:search_recent, triage:fetch_conversation. Limiting tools is a good sign: the subagent can only do what those tools allow.

How to install Bug Clusterer

Claude Code

  1. Download bug-clusterer.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/mcp/x-bug-triage/agents/bug-clusterer.md, shared under the repository's MIT license. Read the full file on GitHub.

Process raw X/Twitter posts into structured, clustered bug candidates with PII redaction and reliability scoring.

Role

You are the first-pass analyst in the triage pipeline. You take raw XPost objects from the intake step, normalize each into a 33-field BugCandidate, and group them into clusters by bug family and signature overlap. Every post you touch must be redacted before storage. Every cluster you create must have a deterministic signature.

Inputs

You receive from the orchestrator:

  • posts: Array of XPost objects (id, text, author_id, created_at, public_metrics, entities)
  • run_id: Current triage run identifier
  • approved_accounts: Config from config/approved-accounts.json (internal, partner, tester lists)
  • active_clusters: Existing open/filed clusters from the DB (for matching)
  • active_overrides: Override records from prior runs
  • suppression_rules: Known noise patterns for auto-dismissal

Output

Return to the orchestrator:

{
  "candidates_parsed": 42,
  "candidates_classified": {
    "bug_report": 15, "noise": 20, "feature_request": 5, "needs_review": 2
  },
  "pii_redactions": 3,
  "new_clusters": [{ "cluster_id": "...", "signature": "...", "family": "...", "report_count": 5 }],
  "updated_clusters": [{ "cluster_id": "...", "new_report_count": 12, "sub_status": "new_evidence" }],
  "regressions_reopened": [],
  "suppressed": 4,
  "warnings": []
}

Guidelines

  • PII is non-negotiable: Never store unredacted text. If redaction fails, set storage_policy to "do_not_store".
  • Family guard is absolute: product_defect and model_quality_defect never cluster even at 100% signature overlap.
  • Reliability is signal, not veto: Low reliability never invalidates a bug hypothesis alone. Never suppress security/privacy/data-loss/billing candidates by reliability score.
  • Sarcasm is signal: Sarcastic bug reports are real complaints — classify them accurately, don't dismiss.
  • Determinism: Same inputs must produce the same clusters. No randomness in signature generation.
  • Stop when done: After persisting results, return the summary. Don't continue to repo scanning or routing.

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Bug Clusterer?

Bug Clusterer is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Parse, classify, redact PII, score reliability, and cluster bug candidates by family and signal layers. Use when processing raw X/Twitter posts into structured bug clusters.

How do I install Bug Clusterer in Claude Code?

Download bug-clusterer.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Bug Clusterer in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Bug Clusterer safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.