Mechanism Extraction
Researchmechanism-extractionMechanism Extraction 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: extract causal mechanism chains from a theory
QUICK START
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.
Prompt to paste
Inspect the Agent Skill at https://github.com/yogsoth-ai/de-anthropocentric-research-engine/blob/HEAD/skills/mechanism-extraction/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/mechanism-extraction, 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.
Mechanism Extraction
Extract structured causal mechanisms from a theory description, providing a skeleton for variable identification and hypothesis construction.
HARD-GATE
Not satisfied → stop, return error: the theory description is too vague to extract a mechanism.
Pipeline
- Precondition check: verify completeness of the theory description
- Causal chain identification: identify X → Y causal-relation statements in the theory text
- Mediator extraction: identify intermediate variables (mediators) between X and Y
- Mechanism naming: give each mechanism chain a short descriptive name
- Mechanism diagram construction: represent as a directed graph (text ASCII or JSON nodes/edges)
- Output a structured mechanism list
Output Format
[
{
"name": "Mechanism name",
"chain": "X → mediator → Y",
"variables": {
"cause": "X description",
"mediator": "mediator description (null if direct)",
"effect": "Y description"
},
"source_theory": "Theory name this was extracted from",
"direction": "positive | negative | conditional",
"notes": "Any caveats or conditions"
}
]
Extract at least 1 mechanism chain per theory; at least 2 in total.