agentleFS
CassioRoosCassioRoos/godfly-skills/skills/competing-hypotheses/SKILL.md

competing-hypotheses

Skill1 starsChanged 3 months agoMITView on GitHub

Map the full solution space and evaluate approaches against evidence. Based on the CIA's Analysis of Competing Hypotheses (ACH). Use for DECISIONS - choosing between technologies, architectures, or strategies - or when the user needs counterpoints and alternatives. Triggers on "what are the alternatives", "compare approaches", "which is better", "counterpoint", "other options", or any decision between multiple options. For ranking bug hypotheses during active debugging, use the hypothesis table in morpheus references/troubleshooting.md instead.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    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:

    Don't pick the first plausible approach.

    line 17
  2. Distinctive:

    When "the obvious choice" hasn't been compared to alternatives

    line 26
  3. Distinctive:

    When team members disagree on approach

    line 27
  4. Distinctive:

    When the user needs counterpoints to their proposed solution

    line 28
  5. Distinctive:

    When a technology bet has limited reversibility

    line 29
  6. Distinctive:

    Look for a materially different option the user may not have considered.

    line 40
  7. Distinctive:

    Consider "do nothing" or "simplest possible".

    line 41
  8. Distinctive:

    When building the matrix, pay special attention to:

    line 97

≈ “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

Analysis of Competing Hypotheses

Don't pick the first plausible approach. Map the full solution space. Evaluate each against evidence. Find the one that best explains all the constraints.

Core Principle

The CIA developed ACH because analysts kept falling for confirmation bias -- finding evidence that supported their first hypothesis and ignoring the rest. The same happens in engineering. You think of an approach, find reasons it works, and stop looking. ACH forces you to consider ALL plausible approaches and evaluate them against ALL evidence.

When to Use

  • Choosing between architectures, frameworks, or libraries
  • When "the obvious choice" hasn't been compared to alternatives
  • When team members disagree on approach
  • When the user needs counterpoints to their proposed solution
  • When a technology bet has limited reversibility

The Process

Step 1: List All Plausible Hypotheses

Compare the genuinely credible approaches; 3-5 is a useful default, not a minimum. Two may be enough. Do not invent alternatives to fill a quota.

Rules:

  • Each must be technically credible; cite real use when available and label unproven approaches rather than inventing production precedent.
  • Include the user's proposed approach
  • Look for a materially different option the user may not have considered; include it only if credible.
  • Consider "do nothing" or "simplest possible"; explain if constraints rule it out.

Step 2: List All Evidence

Gather evidence from all available sources:

  • Requirements and constraints
  • Codebase patterns and existing architecture
  • Team capabilities and timeline
  • Performance requirements and scale targets
  • Real-world usage data from similar systems
  • Known failure modes of each approach

Step 3: Build the Diagnostic Matrix

EvidenceApproach AApproach BApproach C
[constraint 1]++-+
[constraint 2]-+++
[constraint 3]++--

Ratings: ++ strongly supports, + supports, o neutral, - contradicts, -- strongly contradicts

Step 4: Analyze

  • Which approach has the fewest contradictions? (More diagnostic than counting supports)
  • Which evidence is most diagnostic? (Differentiates between approaches)
  • What evidence is MISSING that would be decisive?

Step 5: Present Findings

## Competing Hypotheses Analysis

### Approaches Considered
- [Credible approach]: [description] -- [supporting evidence or explicitly unproven]
- [Another credible approach, if applicable]: [description] -- [evidence or unproven]

### Diagnostic Matrix
[The evidence table]

### Most Diagnostic Evidence
- [Evidence that most differentiates the approaches]

### Recommendation
[Approach X] best fits the evidence because [specific reasons].
[Approach Y] would be better IF [specific condition changes].

### What Would Change This
- If [condition], switch to [Approach Y]
- Missing evidence: [what we'd need to be more confident]

Key Insight: Disconfirming Evidence

The most diagnostic evidence is DISCONFIRMING evidence -- evidence that rules OUT an approach. Finding one strong contradiction is more valuable than finding five weak supports.

When building the matrix, pay special attention to:

  • Hard constraints that eliminate approaches entirely
  • Evidence that contradicts the "favorite" approach
  • Evidence that supports the "least popular" approach

Avoiding Common Traps

TrapHow to avoid
Anchoring on the first approachAlways generate the full list BEFORE evaluating
Strawman alternativesEach alternative must be one a competent engineer would actually choose
Confirmation biasCount contradictions, not supports
Missing the simple optionConsider the baseline; state why it is viable or ruled out
Ignoring contextTeam skill, timeline, and existing code are valid evidence

Detailed Technique

Read cookbook/diagnostic-matrix.md

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.