Dyz Med Mechanism logo

Dyz Med Mechanism

Community
duyunzhoudyz
dyz-med-mechanism

检验和升级医学研究问题的机制与因果逻辑,支持机制链检查、临床与基础双向转化、AI 模型解释、研究再设计、 因果图和中介分析方案。当用户询问“机制是否说得通”“能否从相关性升级”“如何构建因果图或中介路径”时 使用;不负责从零选题,也不把关联、特征重要性或预测性能解释为因果机制。 Use to examine causal reasoning, mechanism hypotheses and study logic.

Overview

Publisherduyunzhoudyz
Repositorydyz-med-paper-skills
Skill namedyz-med-mechanism
Stars
102
Forks
1
Bundled files
5
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by duyunzhoudyz on GitHub. Read the source before you install it.

Installation

Install the Dyz Med Mechanism AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/duyunzhoudyz/dyz-med-paper-skills/tree/main/dyz-med-mechanism
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/duyunzhoudyz/dyz-med-paper-skills.git /tmp/dyz-med-paper-skills
mkdir -p .claude/skills
cp -r /tmp/dyz-med-paper-skills/dyz-med-mechanism .claude/skills/dyz-med-mechanism
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Dyz Med Mechanism in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Dyz Med Mechanism on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Dyz Med Mechanism is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

医学研究逻辑与机制推理

目标与边界

让论断强度与研究设计、时间顺序和证据等级一致,并把缺失的机制节点转化为可验证的下一步。

  • 先读取 references/mechanism-rubric.yaml,按其中的链条节点、MRL 层级、证据标签和失败模式工作。
  • 本技能提供研究逻辑审查,不代替临床诊断、伦理审查、统计分析或领域专家判断。
  • 观察到的关联不能自动升级为因果;SHAP、变量重要性和预测性能不能自动升级为生物机制。
  • 不虚构通路、实验结果、效应量、文献或因果方向。
  • 不存在现成领域模板时,从当前证据构建并明确标注假设,不声称加载了不存在的文件。

先确定任务模式

模式适用输入核心产出
问题升级临床现象、数据关联、组学信号、初步问题当前层级、薄弱点、升级问题和最低证据
机制链检查一段机制叙述或讨论段落节点、证据等级、断点和修复建议
临床到基础临床问题需要实验解释机制假说、模型、验证链和回归临床路径
基础到临床生物学发现需要转化生物标志物、靶点、分层或监测价值
AI 模型解释医疗预测模型结果预测证据、临床过程映射和机制边界
研究再设计当前设计回答不了问题最小改造、理想设计和可支持的论断
因果图明确暴露、结局及候选变量假设图、变量角色、调整集和风险
中介分析明确暴露、中介、结局和时间顺序估计目标、假设、方法与敏感性分析

信息不足时,优先确认研究设计、时间顺序、暴露、结局、数据来源,以及用户希望支持的具体论断。

通用推理流程

1. 标定当前层级

只能选择当前证据实际支持的一层:

  • phenomenon:现象或印象,尚无稳定关联证据;
  • association:存在统计关联,但没有可识别的因果路径;
  • mechanism:有中介、通路或实验性证据支持机制链;
  • translational:机制已连接到具体临床决策、干预或产品路径,并有相应验证。

“想研究机制”不等于已达到 mechanism;“可能有临床意义”不等于已达到 translational。

2. 展开机制链

按顺序检查:

节点需要回答的问题
Clinical problem要解释的临床问题是什么
Upstream driver哪个暴露、信号或因素启动链条
Mediator中间通过什么环节传递
Executor哪个分子、细胞或生理过程直接产生改变
Phenotype最终可观察、可测量的结局是什么
Validation path哪类体外、动物、人体或干预证据能验证
Translational value会改变哪个临床决策或工作流

为每个节点记录“当前论断、证据来源、证据标签、缺口、所需修复”。缺失节点可以保留为空,但必须明确承认。

3. 给每条机制陈述贴证据标签

使用评分表中的四级标签:

  • supported:设计和证据可直接支持;
  • plausible_inference:有间接证据,使用“提示、可能”等谨慎措辞;
  • speculative:仅为待验证假设,说明需要什么研究;
  • unsupported:现有证据不足,应删除、降级或补证据后再写。

优先标记以下失败模式:

  • 相关性被写成因果;
  • 跳过关键中介环节;
  • 生物学机制没有临床连接;
  • 只复述 AI 特征重要性;
  • 尚未前瞻验证却声称临床可用。

4. 升级问题或重设计

给出两档方案:

  • 最小可行改造:在现有资源内让问题与设计匹配;
  • 理想设计:若资源充分,如何获得更强证据。

对每个方案说明可以支持和不能支持的论断。若描述性研究最适合当前阶段,直接说明,不强迫因果升级。

专项模式

临床与基础双向转化

临床到基础时,输出:

  • 可证伪的机制假说;
  • 候选通路及替代解释;
  • 合适的细胞、动物或人体样本模型;
  • 阳性、阴性和关键混杂控制;
  • 最低可发表证据链;
  • 如何回到临床人群、结局或干预。

基础到临床时,分别评估:

  • 生物标志物;
  • 治疗靶点;
  • 预测模型输入;
  • 监测策略;
  • 患者分层。

每项都要写出验证阶段、实际决策点和失败条件。

AI 模型解释

先分开三类结论:

  1. 模型在什么数据和指标上具有预测性能;
  2. 哪些特征对该模型的预测有贡献;
  3. 哪些病理生理解释有独立证据支持。

只有第 3 类才能进入机制论证。特征的重要性、相关性或可解释性图表不证明特征是病因、干预靶点或中介。

因果图

输入至少包括暴露、结局、时间顺序和候选共同原因。按以下步骤工作:

  1. 标记暴露、结局、混杂因素、中介、碰撞点、竞争风险,以及可能的未测量共同原因。
  2. 每条有向边都写出依据;无方向证据时,把不确定性写在图外,不把普通关联边混入 DAG。
  3. 检查有向环、时间顺序和变量双重角色。
  4. 枚举从暴露进入的后门路径,提出候选最小充分调整集。
  5. 检查调整是否误纳中介、碰撞点或暴露后的变量。
  6. 说明未测量混杂、选择偏倚、测量误差和正值性风险。
  7. 让领域专家复核图;无法由当前知识判断的边标为待确认。

若使用双向边表达未测量共同原因,应明确这已是更一般的混合图表示;也可以改用显式潜变量节点保持 DAG 表达。

标准输出至少包含:

markdown
### 因果图说明
- 暴露:
- 结局:
- 混杂因素:
- 中介:
- 碰撞点:
- 未测量共同原因:
- 候选最小调整集:
- 禁止调整变量:
- 关键假设与待确认边:
- 可识别性与敏感性风险:

不要把自动生成的调整集写成已验证事实。

中介分析方案

只有在暴露、中介、结局和时间顺序明确后才进入此模式。

  1. 明确估计目标:总效应、受控直接效应、自然直接效应、自然间接效应,或其他预先定义的效应。
  2. 画出暴露到中介、暴露到结局、中介到结局的路径,并标出各路径的混杂因素。
  3. 检查:
    • 暴露与结局之间是否存在未控制混杂;
    • 中介与结局之间是否存在未控制混杂;
    • 是否存在受暴露影响的中介与结局共同原因;
    • 暴露与中介是否交互;
    • 时间顺序、缺失、测量误差和正值性是否合理。
  4. 根据结局类型、暴露类型、研究设计、交互、非线性和多个中介选择估计方法;不要仅凭结局名称固定软件包。
  5. 预先规定置信区间、敏感性分析和假设失败时的降级解释。
  6. 仅当总效应和分解尺度适合时报告“中介比例”;效应异号、总效应接近零或尺度不兼容时不报告。

标准输出至少包含:

markdown
### 中介分析规格
- 暴露:
- 中介:
- 结局与测量时点:
- 估计目标:
- 时间顺序:
- E-O、E-M、M-O 混杂控制:
- 交互与非线性:
- 拟用方法及选择理由:
- 识别假设:
- 敏感性分析:
- 可报告与不可报告的结论:

用户需要可执行代码时,把该规格交给统计分析技能;代码和软件包必须与实际数据结构及 estimand 匹配。

标准输出

markdown
## 机制逻辑报告

### 当前层级
[phenomenon / association / mechanism / translational]

### 核心薄弱点
[具体断点]

### 升级后的研究问题
[可验证问题]

### 机制链
| 节点 | 当前论断 | 证据来源 | 标签 | 缺口 | 修复 |
|---|---|---|---|---|---|

### 因果与替代解释
- 可支持:
- 不可支持:
- 主要混杂或偏倚:
- 替代机制:

### 转化价值
[具体决策、工作流或明确说明尚未建立]

### 下一步最小行动
1.
2.
3.

完成检查

  • 当前机制层级已明确;
  • 机制链断点已逐项指出;
  • 每条关键机制论断有证据来源和标签;
  • 相关性、预测性和因果性没有混写;
  • 横断面或观察性设计的机制语言已降级;
  • 转化价值对应具体决策,或明确说明尚未建立;
  • 因果图与中介分析的识别假设和未测量风险已披露;
  • 给出 1 至 3 个可执行的下一步。

配套资源

  • templates/现象-机制假说-验证路径骨架表.md:填写机制链和验证计划。
  • examples/示例-炎症因子与术后认知功能障碍机制推导.md:虚构示例,只用于理解流程。
  • references/机制推理与因果推断相关文献.md:方法学参考入口。
  • references/mechanism-rubric.yaml:机制层级、证据标签、失败模式和完整性检查。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Dyz Med Mechanism AI skill do?

检验和升级医学研究问题的机制与因果逻辑,支持机制链检查、临床与基础双向转化、AI 模型解释、研究再设计、 因果图和中介分析方案。当用户询问“机制是否说得通”“能否从相关性升级”“如何构建因果图或中介路径”时 使用;不负责从零选题,也不把关联、特征重要性或预测性能解释为因果机制。 Use to examine causal reasoning, mechanism hypotheses and study logic.

Why use Dyz Med Mechanism on TypingMind?

Because you install it once and use it with any model. Dyz Med Mechanism is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Dyz Med Mechanism in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/duyunzhoudyz/dyz-med-paper-skills/tree/main/dyz-med-mechanism. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Dyz Med Mechanism?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Dyz Med Mechanism?

As many as you like. As long as a model supports skills, you can use Dyz Med Mechanism with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Dyz Med Mechanism AI skill free?

It is published on GitHub by duyunzhoudyz. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇