Yunqi Pathogenesis logo

Yunqi Pathogenesis

Community
dhicoc
yunqi-pathogenesis

五运六气病机分析子技能。根据运气推算结果分析五运病机、六气病机、太过不及病机及运气合病。 适用于中医运气病机分析、年度疾病趋势推断、脏腑发病规律判断。 触发词:病机分析、运气病机、五运病机、六气病机、太过不及、胜复规律、运气合病、病机十九条。

Overview

Publisherdhicoc
Repositorywuyun-liuqi-skills
Skill nameyunqi-pathogenesis
Stars
52
Forks
10
Bundled files
4
LicenseMIT
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.

  • 4 bundled files

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

  • Open source

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

Installation

Install the Yunqi Pathogenesis 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/dhicoc/wuyun-liuqi-skills/tree/master/modules/yunqi-pathogenesis
  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/dhicoc/wuyun-liuqi-skills.git /tmp/wuyun-liuqi-skills
mkdir -p .claude/skills
cp -r /tmp/wuyun-liuqi-skills/modules/yunqi-pathogenesis .claude/skills/yunqi-pathogenesis
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Yunqi Pathogenesis 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 Yunqi Pathogenesis 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 Yunqi Pathogenesis 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.

五运六气病机分析子技能

适用范围

  • 根据年度运气格局分析脏腑发病趋势
  • 五运(大运)太过不及所致病机的判断与推演
  • 六气(司天在泉、客气加临)所致病机的判断与推演
  • 运气合病(大运与六气共同影响)的复合病机分析
  • 胜复规律下的疾病传变趋势推断
  • 为临床应用子技能(yunqi-clinical)提供病机依据

前置依赖

MUST:本子技能无独立脚本依赖(文档化推理),但 MUST 先调用 yunqi-calc 获取推算结果。 具体而言,需先通过 calculate_yunqi_api.py 获取大运(中运)信息及司天、在泉、客主加临等六气格局。 未获取推算结果前,不得进行病机分析。

推荐工作流

Step 1/4:获取推算结果

ACT: 调用 python scripts/calculate_yunqi_api.py <年份> 获取当年运气格局(sui_yun / si_tian / zai_quan / ke_zhu_jia_lin)

  • 从 yunqi-calc 获取以下关键数据:
    • 大运(中运):何运主岁、太过或不及
    • 司天之气:上半年客气
    • 在泉之气:下半年客气
    • 客主加临:六步客气与主气的加临关系
    • 运气同化判断:是否天符、岁会、太一天符
  • 确认推算结果完整后,方可进入下一步
Step 2/4:确定病机方向

ACT: 查阅 references/wuyun_bingji.md 和 references/liuqi_bingji.md

  • 根据大运确定五运病机方向:
    • 查 wuyun_bingji.md,按木火土金水五运定位对应脏腑
    • 判断太过或不及,确定本气盛衰及所胜受邪/所不胜来乘的方向
  • 根据六气确定六气病机方向:
    • 查 liuqi_bingji.md,按厥阴、少阴、少阳、太阴、阳明、太阳六气定位对应经络脏腑
    • 结合司天在泉,确定上下半年发病趋势
    • 结合客主加临,确定各步时令的病机变化
Step 3/4:分析太过不及

ACT: 查阅 references/taiguo_bingji.md

  • 判断太过之年的病机特点:本气偏盛 → 所胜受邪 → 所不胜来复
  • 判断不及之年的病机特点:本气偏衰 → 所不胜来乘 → 所胜反侮
  • 分析胜复规律:太过则有所不胜来复,不及则有所不胜来乘
  • 查胜复关系表,确定具体的胜复脏腑链条
  • 若为平气之年,病机较轻,但仍需结合六气综合分析
Step 4/4:综合运气合病

ACT: 查阅 references/yunqi_hebing.md

  • 判断运气合病类型:
    • 运气同化年(天符、岁会、太一天符):气候偏盛,对应脏腑易病
    • 运气不和(运克气/气克运):病机复杂,需辨顺逆
    • 顺化(运生气)与天刑(气克运):判断病机轻重
  • 运用病机十九条(至真要大论)相关条文验证病机方向
  • 运用运气合病分析框架:
    • 大运 → 定位脏腑(如木运→肝)
    • 六气 → 定位经络(如厥阴风木→肝经)
    • 客气加临 → 定时令(如初之气厥阴→春季发病趋势)
  • 综合以上分析,形成完整的病机判断结论

常见误区

问题原因解决方案
脱离推算结果空谈病机未获取当年运气格局先调 yunqi-calc 脚本推算再分析
过度对应运气只是参考因素之一结合患者实际辨证,运气为参考维度
忽略客气影响只看大运不看六气大运 + 六气综合分析,不可偏废
混淆太过不及的胜复方向胜复规律记忆不清查 taiguo_bingji.md 胜复关系表
忽略运气同化的特殊性未判断天符岁会查 yunqi_hebing.md 运气同化年病机
病机分析脱离经典未引用病机十九条对照《素问·至真要大论》病机十九条验证

输出要求

  • 病机分析报告须包含以下要素:
    1. 当年运气格局概述(大运、司天在泉、客主加临)
    2. 五运病机判断(对应脏腑、太过不及方向)
    3. 六气病机判断(对应经络、司天在泉影响)
    4. 胜复规律分析(胜复脏腑链条)
    5. 运气合病判断(同化/不和/顺化/天刑)
    6. 综合病机结论(易病脏腑、好发证型、时令趋势)
  • 输出须标明引用的参考文档名称
  • 不得直接给出方药或针灸处方(交由 yunqi-clinical 处理)

路由上下文

  • 上游入口:modules/yunqi-calc/(提供推算结果:大运、司天在泉、客主加临、运气同化判断)
  • 下游出口:临床方案 → modules/yunqi-clinical/(接收病机结论,进入治则治法、方药、针灸、养生环节)
  • 同级关联:文献支撑 → modules/yunqi-classics/(提供经典原文引用与理论依据)

ACTION REQUIRED

  • 确认已从 yunqi-calc 获取大运推算结果(大运属性、太过/不及)
  • 确认已从 yunqi-calc 获取六气推算结果(司天、在泉、客主加临)
  • 确认已查阅 wuyun_bingji.md 完成五运病机定位
  • 确认已查阅 liuqi_bingji.md 完成六气病机定位
  • 确认已查阅 taiguo_bingji.md 完成太过不及与胜复分析
  • 确认已查阅 yunqi_hebing.md 完成运气合病判断
  • 确认病机分析报告已包含六大要素

任务完成自检

  • 推算结果来源已标注(来自 yunqi-calc)
  • 五运病机对应脏腑已明确
  • 六气病机对应经络已明确
  • 太过不及方向及胜复链条已列出
  • 运气合病类型已判断(同化/不和/顺化/天刑)
  • 病机十九条相关条文已引用
  • 综合病机结论已形成
  • 参考文档名称已标注
  • 未越权给出方药或针灸处方

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 Yunqi Pathogenesis AI skill do?

五运六气病机分析子技能。根据运气推算结果分析五运病机、六气病机、太过不及病机及运气合病。 适用于中医运气病机分析、年度疾病趋势推断、脏腑发病规律判断。 触发词:病机分析、运气病机、五运病机、六气病机、太过不及、胜复规律、运气合病、病机十九条。

Why use Yunqi Pathogenesis on TypingMind?

Because you install it once and use it with any model. Yunqi Pathogenesis 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 Yunqi Pathogenesis in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dhicoc/wuyun-liuqi-skills/tree/master/modules/yunqi-pathogenesis. 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 Yunqi Pathogenesis?

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 Yunqi Pathogenesis?

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

Is the Yunqi Pathogenesis AI skill free?

Yes. It is published on GitHub by dhicoc under the MIT license. 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 👇