OpenParable
Skip to content
← Back to skills

Mechanism Extraction

Research
mechanism-extraction

Mechanism 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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

  1. Precondition check: verify completeness of the theory description
  2. Causal chain identification: identify X → Y causal-relation statements in the theory text
  3. Mediator extraction: identify intermediate variables (mediators) between X and Y
  4. Mechanism naming: give each mechanism chain a short descriptive name
  5. Mechanism diagram construction: represent as a directed graph (text ASCII or JSON nodes/edges)
  6. 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.