# Failure Chain Construction

> Build cause-mode-effect chains tracing upstream root causes and downstream cascading effects for each failure mode.

- Skill: `yogsoth-ai/failure-chain-construction` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add yogsoth-ai/failure-chain-construction`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yogsoth-ai/failure-chain-construction/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/failure-chain-construction

---


# Failure Chain Construction

Builds multi-level cause → mode → effect chains for systemic failure understanding.

## Execution

Subagent — spawned via subagent-spawning/spawn-agent.

## Why Subagent

Chain construction requires disciplined causal reasoning without skipping levels. Isolated context prevents shortcutting.

## Input

- **failure_modes**: Structured failure mode catalog
- **function_tree**: Function decomposition for context
- **depth**: Max chain depth (2/4/6 per budget)

## Output

- **chains**: List of cause-mode-effect chains with level annotations
- **shared_causes**: Root causes appearing in multiple chains
- **cascade_risks**: Modes that trigger other modes

<!-- BEGIN available-tables (generated) -->

## Available SOPs

Optional, no fixed order; the final leaf is always a sop.

| SOP | When to use |
| --- | --- |
| spawn-agent | Spawn a customized CC subagent with full MCP tool access. Used by SOPs that declare execution: subagent. |

<!-- END available-tables (generated) -->

