Failure Chain Construction
Testing & Qualityfailure-chain-constructionFailure Chain Construction is an Agent Skill for testing & quality published in the yogsoth-ai/de-anthropocentric-research-engine repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Build cause-mode-effect chains tracing upstream root causes and downstream cascading effects for each failure mode.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/yogsoth-ai/de-anthropocentric-research-engine/blob/HEAD/skills/failure-chain-construction/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/failure-chain-construction, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
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. |