Yunqi Calc logo

Yunqi Calc

Community
dhicoc
yunqi-calc

五运六气推算核心子技能。根据年份计算天干地支、大运太过不及、主运客运、司天在泉、客气主气、客主加临顺逆及运气同化(天符岁会太一天符)。适用于中医运气学说推算、气候病机分析、运气年历生成、五运六气计算等场景。

Overview

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

  • 8 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 Calc 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-calc
  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-calc .claude/skills/yunqi-calc
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

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

运气推算核心子技能

适用范围

  • 根据公历年份推算五运六气全套参数
  • 大运太过不及判断及平气分析
  • 主运五步与客运五步排列
  • 司天在泉推算及客气六步排列
  • 主气六步固定排列
  • 客主加临顺逆分析
  • 运气同化判断(天符、岁会、太一天符)
  • 为病机分析和临床方案提供运气基础数据

脚本依赖

脚本用途必需
calculate_yunqi_api.py统一推算:干支/大运/主运客运/司天在泉/客主加临,单次返回全部域是

推荐工作流

Step 1/5: 干支推算 ACT: 调用 python scripts/calculate_yunqi_api.py <年份> 获取该年的天干地支(year_gz)

Step 2/5: 大运推算 ACT: 调用 python scripts/calculate_yunqi_api.py <年份> 获取大运五行、太过不及判断(sui_yun)

Step 3/5: 六气推算 ACT: 调用 python scripts/calculate_yunqi_api.py <年份> 获取司天在泉及客气六步排列(si_tian / zai_quan / ke_qi_six_steps)

Step 4/5: 客主加临 ACT: 调用 python scripts/calculate_yunqi_api.py <年份> 获取六步客主加临顺逆分析(ke_zhu_jia_lin)

Step 5/5: 运气同化判断 ACT: 查 references/yunqi_tonghua.md 判断天符/岁会/太一天符

常见误区

问题原因解决方案
大运太过不及判断错误阳干太过阴干不及查 references/taiguo_buji.md
客气初气定错客气初气取决于司天位置查 references/zhuqi_keqi.md
司天在泉配对错误不是简单的五行相克关系查 references/sitian_zaiquan.md
客主加临顺逆判断错误需按五行生克关系判断查 references/kezhujialin.md

输出要求

  • 明确标注年份及对应干支
  • 大运需标注五行属性及太过/不及/平气
  • 主运五步和客运五步需标注太少
  • 司天在泉需标注六气名称
  • 客气六步需按初气至终气顺序排列
  • 客主加临需逐步标注顺逆及五行生克关系
  • 运气同化需标注天符/岁会/太一天符(若有)
  • 所有推算结果应可追溯至参考文档

路由上下文

  • 上游入口: SKILL.md, routing.yaml
  • 下游出口: 病机分析→modules/yunqi-pathogenesis/; 临床方案→modules/yunqi-clinical/
  • 同级关联: 干支基础→modules/ganzhi-basics/

ACTION REQUIRED

  • 确认输入年份为公历纪年
  • 确认所有脚本依赖已安装且可执行
  • 确认参考文档目录结构完整

任务完成自检

  • 干支推算结果已输出
  • 大运太过不及已判断
  • 主运客运五步已排列
  • 司天在泉已推算
  • 客气主气六步已排列
  • 客主加临顺逆已分析
  • 运气同化已判断
  • 所有结果可追溯至参考文档

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

五运六气推算核心子技能。根据年份计算天干地支、大运太过不及、主运客运、司天在泉、客气主气、客主加临顺逆及运气同化(天符岁会太一天符)。适用于中医运气学说推算、气候病机分析、运气年历生成、五运六气计算等场景。

Why use Yunqi Calc on TypingMind?

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

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

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 Calc?

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

Is the Yunqi Calc 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 👇