Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By dhicocMITIn 1 marketplace
Works out the Five Circuits and Six Qi pattern for a given year or date and searches classical TCM case records for matching pathogenesis and treatments. It says it is for study and reference, not clinical diagnosis.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Of the plugin's README
Chinese
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
天人合一,五运六气
AI 自动路由 + 确定性推算引擎 + RAG 知识库 + 自进化经验库
支持 Claude Code / Cursor / Codex CLI / Cline / OpenClaw 等 AI 客户端
这是什么 · 适合谁用 · 快速上手 · 核心能力 · 项目结构 · 贡献
🌐 English
如果你是 AI Agent,直接跳转到 README_AI.md,严格按照内容要求执行。
当用户对 AI Agent(Claude、Cursor、Codex 等)说「今年运气怎么样」「我出生那年的体质倾向」「历代医家怎么治头痛」时,这个技能包让 Agent 调用确定性推算引擎算出干支运气格局,从 3727 条真实医案中检索相关病机与治法,再用通俗语言讲给用户听——而不是凭记忆胡编。
用户提问(自然语言)
-> routing.yaml 路由匹配
-> calculate_yunqi_api.py 推算引擎(大寒定年,非幻觉)
-> rag_search 检索 39 个 RAG asset(3727 条医案 + 33 条疾病易感性)
-> infer_pathogenesis 病机推理链
-> 通俗语言解释 + 免责声明
-> self_evolve 自动沉淀经验
| RAG asset | 医案条目 | 公版文献 | 蒸馏指南 | 推算脚本 | CI 测试 |
|---|---|---|---|---|---|
| 39 | 3727 | 51 篇 | 12 本 | 53 个 | 39 项 CI 校验全绿 |
路由核心由一个 routing.yaml 驱动,跨工具薄壳自动发现,推算引擎与知识库分离。
(返回顶部)
为什么需要这个项目:
⚠️ 运气学为中医传统理论,本包用于学习研究与辅助推理,不构成医学诊断或治疗建议。临床决策须由执业医师处理。
把下面这段话直接发给 Claude(或其他支持技能的 AI):
仓库地址:https://github.com/dhicoc/wuyun-liuqi-skills.git
请按 workflows/one-line-install.md 帮我安装五运六气技能包:
克隆仓库、运行 python scripts/install.py --link-global、验证通过。
AI 会完成:克隆 → 注册全局技能 → 验证。之后在任意项目里说「五运六气」即可激活。
# 1. 克隆
git clone https://github.com/dhicoc/wuyun-liuqi-skills.git
cd wuyun-liuqi-skills
# 2. 装 Python 依赖(仅需 lunar-python,用于精确节气)
pip install -r requirements.txt
# 3. 可选:Node.js 接口依赖
npm install
# 4. 注册全局技能(Claude / Cursor 自动发现)
python scripts/install.py --link-global
环境要求:Python 3.8+ / Node.js 14+。
# 算今天的运气
python scripts/calculate_yunqi_api.py today --summary
# 深度解读某个概念
python scripts/calculate_yunqi_api.py today --level deep --explain-concept "天人合一"
# 检索医案
python scripts/rag_search.py 头痛 --asset asset26,asset27
| 场景 | 做法 | 适合 |
|---|---|---|
| 在本仓库用 | 用 Cursor / Claude 打开 wuyun-liuqi-skills 文件夹 | 初学、试用 |
| 在任意项目用 | python scripts/install.py --link-global | 日常常驻(推荐) |
| Claude Code 插件 | /plugin marketplace add dhicoc/wuyun-liuqi-skills → /plugin install wuyun-liuqi-skills@wuyun-liuqi-skills | Claude Code 用户 |
配置好后,直接对 Agent 说话即可:
干支推算 · 大运太过不及 · 司天在泉 · 客主加临六步 · 平气判定 · 天符岁会。Python 主链路 + JS 可选接口,双引擎一致性校验,大寒定年,结果可信。
python scripts/calculate_yunqi_api.py today --json # Agent / JSON 接口
python scripts/calculate_yunqi_api.py 2026-06-27 --summary
从维基文库公版原文逐字蒸馏,零占位、零编造,每条医案附 source_quote 原文存证。覆盖名医类案、续名医类案、古今医案按、丁甘仁、伤寒九十论、临证指南、回春录、张聿青、吴鞠通、寓意草、洄溪、花韵楼、杏轩(184 条)、孙文垣(390 条)等 21 部。
| 检索方式 | 示例 |
|---|---|
| 关键词检索 | rag_search.py 头痛 |
| 跨库联合检索 | rag_search.py 头痛 --asset asset26,asset27 |
| 按字段精准检索 | rag_search.py --field herbs 石膏 |
| 口语语义检索 | rag_search.py --semantic 心火偏旺 |
| 医案对比 | case_relations.py --compare 孙一奎,叶桂 --tag 中风 |
| 相似医案发现 | case_relations.py --related swy_174 |
工具答不上来时,Agent 不拒绝、不硬编,而是:联网搜索 -> 总结回答(标注来源 + 免责声明)-> 沉淀经验到 case-journal/field-journal/ -> 下次优先查经验库。越用越聪明。
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub dhicoc/wuyun-liuqi-skills --plugin wuyun-liuqi-skillsPlugins from other owners that cover similar ground