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
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- plugins/mcp/x-bug-triage/agents/bug-clusterer.md
- 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
- 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.
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.
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
- Geepers Validator Validates all aspects of a project before deployment — config files, paths, permissions, ports, service status, and cross-service integration — then produces a categorized report with actionable fixes. Use when preparing to deploy or debugging mysterious failures. Trigger with "validate project", "pre-deploy check". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Orchestrator Quality Coordinates accessibility, performance, API design, and dependency audit agents in parallel to produce a scored quality report. Use when running a pre-release gate or investigating multi-domain quality issues. Trigger with \"run a quality audit\", \"check this app for quality issues\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Gen Report Generate comprehensive test reports with coverage and trends Slash Command · jeremylongshore/tons-of-skills-marketplace
- Gen Doubles Generate test doubles (mocks, stubs, spies, fakes) for unit testing Slash Command · jeremylongshore/tons-of-skills-marketplace
- Build Logger Analyzes git commit history to produce structured build logs, flag hero moments worth filming, and generate video script outlines from real development work. Use when turning a coding session into content. Trigger with \"log my build\", \"extract content from my commits\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Budget Calculator Travel financial planner that produces destination-specific budget breakdowns by accommodation, food, activities, and transport tiers, with currency optimization and hidden-cost identification. Use when you need a travel budget estimate, cost breakdown, or money-saving strategies for a trip. Trigger with \"travel budget\", \"how much will this trip cost\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Buzz Write press pitches, HN posts, community playbooks, and coordinated launch plans that earn media instead of buying it. Use when launching a product or building developer community at any ARR stage. Trigger with "write a press pitch", "plan a Product Hunt launch". Subagent · jeremylongshore/tons-of-skills-marketplace
- Budget Audit LLM spend, identify top token consumers, design model-tiering strategies, and set up cost alerts before budgets breach. Use when AI costs are rising or untraceable. Trigger with "audit AI spend", "optimize LLM costs". Subagent · jeremylongshore/tons-of-skills-marketplace