# Explanation Generation

> SOP: generate a list of candidate explanations for an anomalous phenomenon

- Skill: `yogsoth-ai/explanation-generation` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add yogsoth-ai/explanation-generation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yogsoth-ai/explanation-generation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: yogsoth-ai (https://skillmd.com/u/yogsoth-ai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/yogsoth-ai/explanation-generation

---


# Explanation Generation
Generate multiple candidate explanations for an anomalous phenomenon through divergent thinking, and derive observable predictions for each explanation.

## HARD-GATE
<HARD-GATE>
Preconditions (all must hold before starting):
1. A structured anomaly description exists (with phenomenon + deviation + excluded_explanations)
2. The anomaly has been confirmed as non-trivial (severity ≠ trivial)

Not satisfied → stop and return an error: anomaly-characterization must be completed first.
</HARD-GATE>

## Pipeline
1. Pre-check: verify the completeness of the anomaly description
2. Divergent thinking: generate ≥3 mechanistically distinct candidate explanations (not variants of the same explanation)
3. Prediction derivation: for each explanation, derive 1-2 observable predictions (what should be observed if the explanation is correct)
4. Evidence-consistency check: check each explanation against known evidence (consistent/inconsistent/neutral)
5. Deduplication: merge explanations with the same mechanism
6. Output the candidate explanation list

## Output Format
```json
[
  {
    "explanation_id": "E1",
    "statement": "Candidate explanation in one sentence",
    "mechanism": "How this explanation accounts for the anomaly",
    "predictions": [
      "Observable prediction 1 if this explanation is correct",
      "Observable prediction 2"
    ],
    "evidence_consistency": "consistent | inconsistent | neutral",
    "evidence_notes": "What existing evidence supports or contradicts this",
    "novelty": "known | extension | novel"
  }
]
```
At least 3 mechanistically distinct candidate explanations.

