# Causal Chain Query

> Causal Chain Query is an Agent Skill for research 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.

SOP for tracing causal chains — follow edges from cause to effect through intermediate variables.

- Skill name: `causal-chain-query`
- Category: [Research](https://www.openparable.com/skill/research/1)
- Source: https://github.com/yogsoth-ai/de-anthropocentric-research-engine/blob/HEAD/skills/causal-chain-query/SKILL.md
- Repository: yogsoth-ai/de-anthropocentric-research-engine (386 GitHub stars when collected)

## SKILL.md

# Causal Chain Query

Trace a causal chain from a starting variable through intermediate variables to downstream effects.

## Tool

`vault_query_graph`

## Protocol

1. Call vault_query_graph with starting node, direction=out, depth=3
2. Filter results to only causal edges (derived_from, component_of)
3. Reconstruct the chain as an ordered sequence
4. Identify branching points (one cause → multiple effects)
5. Check for cycles (indicates feedback loop)

## HARD-GATE

<HARD-GATE>
Must report the full chain, not just endpoints. Include intermediate variables.
</HARD-GATE>

## Yield

Returns: `{ chain: string[], branches: number, has_cycle: boolean }`

---

Source: https://www.openparable.com/skill/research/causal-chain-query (OpenParable). Cite the canonical URL above.
