agentleFS
hoatv2211hoatv2211/GameStudio-CodexKIT/skills/bug-hunt-swarm/SKILL.md

bug-hunt-swarm

Skill3 starsChanged 3 months agoMITView on GitHub

Use when an unknown crash, intermittent failure, or cross-subsystem bug needs parallel read-only reproduction lanes, ranked hypotheses, suspect paths, and an integrator root-cause plan.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use for intermittent crashes, unclear subsystem ownership, multi-service failures, race conditions, protocol mismatches, or symptoms with …

    line 39
  2. Distinctive:

    Do not use for reviewing an already known patch, implementing fixes, or parallel lanes that would need to mutate the same environment.

    line 42
  3. Distinctive:

    Run independent read-only inspection and reproduction attempts.

    line 55
  4. Distinctive:

    Do not let every lane inspect the same logs with the same hypothesis.

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Bug Hunt Swarm

Overview

Explore an unknown failure through independent read-only hypotheses, then converge on the smallest discriminating reproduction or instrumentation plan.

When to use

Use for intermittent crashes, unclear subsystem ownership, multi-service failures, race conditions, protocol mismatches, or symptoms with several plausible root causes.

When NOT to use

Do not use for reviewing an already known patch, implementing fixes, or parallel lanes that would need to mutate the same environment.

Required inputs and context discovery

Collect symptom, expected behavior, frequency, environment, timeline, known-good snapshot, logs, subsystem map, active processes, safe read-only commands, and integrator owner.

Safety and risk level

Lanes are read-only. They may propose instrumentation but cannot patch files, start or stop services, change databases, or modify shared fixtures.

Workflow

  1. Freeze one symptom statement and shared evidence packet. Completion criterion: all lanes investigate the same observable failure.
  2. Assign disjoint hypotheses such as data, timing, config, protocol, rendering, or environment. Completion criterion: each lane has a falsifiable question and suspect paths.
  3. Run independent read-only inspection and reproduction attempts. Completion criterion: each lane returns evidence, counterevidence, and confidence.
  4. Rank hypotheses by explanatory power and cost of the next experiment. Completion criterion: the integrator selects one discriminating action.
  5. Hand the selected action to evidence-first-debugging for mutation or instrumentation. Completion criterion: the swarm ends before any lane writes files.

Evidence and output contract

Produce bug packets containing hypothesis, evidence, counterevidence, reproduction status, suspect paths, proposed experiment, confidence, and integrator rank.

Handoff contract

Record symptom, shared snapshot, lanes, commands, ranked hypotheses, unresolved evidence, and the next single experiment with its owner.

Pitfalls and anti-rationalization

  • Lanes may not patch “obvious” suspects.
  • Multiple opinions without falsifiable experiments are not evidence.
  • Intermittent reproduction remains Unverified or BLOCKED.
  • Do not let every lane inspect the same logs with the same hypothesis.

Verification checklist

  • Symptom and snapshot are shared.
  • Lanes are disjoint and read-only.
  • Hypotheses are ranked with counterevidence.
  • A single next experiment is selected.
  • No lane mutated the repository or environment.

References and scripts

Pair the output with evidence-first-debugging. Use project logs and process/port inspection only when those commands are read-only.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.