A 1K-Star GitHub Skill Distills a Renowned TCM Practitioner's Brain into an AI for Diagnosis
Follow my public account: [编程朝花夕拾] to get first-release content.
01 Introduction
Previously, it was popular to distill various Skills, such as Ex-Skills, Colleague Skills, etc. I played around with them casually and then dropped them. In the past couple of days, I stumbled upon a useful Skill. It distills the lecture notes, medical cases, and classical formula thinking of the loyal and eccentric master Ni Haixia into a Skill, allowing AI to "grow" Master Ni's brain to directly conduct consultations, syndrome differentiation, and prescribe formulas.
Nowadays, many people have health problems. They might be used to searching online or asking AI directly, but are unwilling to go to the hospital. This Skill provides an additional piece of corroborating evidence for judgment.
02 Brief Introduction
Ni Haixia was a very famous American physician in the traditional Chinese medicine (TCM) community. Born in 1954 and deceased in 2012, he is usually respectfully called "Master Ni." He was most famous in his lifetime for using TCM classical formulas to cure many difficult and complicated diseases. He also founded the Han-Tang Chinese Medicine College and left behind teaching materials like "Tian Ji" and "Ren Ji," being called the "last hope" by many patients.
This project involves organizing 129 articles of the Treatise on Cold Damage · 23 chapters of the Synopsis of the Golden Chamber · 71 chapters of the Yellow Emperor's Inner Canon · 345 types of Materia Medica · 849 medical cases · 2,452 pages of lecture notes into a Skill.
GitHub Address: https://github.com/jangviktor-web/nihaixia
Official Website: https://jangviktor-web.github.io/nihaixia/
03 Core Features
After installing this Skill, the AI directly possesses the following capabilities:
3.1 Six-Meridian Pattern Differentiation
The most core function.
What Master Ni was best at was Six-Meridian Pattern Differentiation—Taiyang, Yangming, Shaoyang, Taiyin, Shaoyin, Jueyin.
- ✅ 8 Diagnostic Formulas (New in v2.1.0)
- ✅ Rapid Diagnostic Flowchart (Decision tree from symptoms → Six-Meridian localization)
- ✅ Pulse Diagnosis Quick Reference (8 single pulses + 8 compound pulses)
- ✅ Tongue Diagnosis Quick Reference (5 tongue manifestations + 6 compound tongue manifestations + Pulse-Tongue Contradiction Decision Tree)
- ✅ Eight-Dimensional Identification Method for True Cold with False Heat / False Cold
- ✅ Combined and Concurrent Disease Quick Reference (11 combinations + treatment priority principles)
- ✅ Seven-Step Pattern Differentiation Thinking Model (New in v2.1.0): Determine Exterior/Interior → Differentiate Yin/Yang → Distinguish Cold/Heat → Judge Transmission → Assess Constitution → Select Formula → Fine-tune Modifications
3.2 Classical Formula Selection
129 articles from the Treatise on Cold Damage + 23 chapters from the Synopsis of the Golden Chamber, including composition, dosage, decoction methods, and contraindications. 11 formula dosages were verified one by one, 100% consistent with the source documents (according to the project creator).
3.3 Clinical Medical Cases
849 real medical cases from Master Ni, categorized into 6 major types:
- Cancer: 147 cases
- Cardiovascular: 22 cases
- Metabolic Diseases: 12 cases
- Autoimmune: 2 cases
- Neuropsychiatric: 3 cases
- Others: 59 cases
3.4. Acupuncture Points
Twelve regular meridians + Jing-Well, Ying-Spring, Shu-Stream, Jing-River, He-Sea points + Key points of the Conception and Governing Vessels + Stroke emergency.
3.5. Yellow Emperor's Inner Canon
Complete distillation of 71 chapters, the core of TCM basic theory.
3.6. Tian Ji Destiny (Easter Egg)
Zi Wei Dou Shu + I Ching 64 Hexagrams + Yang House Feng Shui—yes, even fortune-telling has been distilled. Master Ni was originally a "TCM + Destiny" dual-specialist.
3.7. Liang Dong Dialogues + Closed-Door Classes
Complete recording distillation of the 7 episodes of Liang Dong's dialogue with Ni Haixia in 2009, plus 7 major disease topics (Leukemia, Breast Cancer, Brain Tumor, etc.) + 7 disciple classes.
04 Installation
The installation of the Skill is the same as others. The official website also provides 5 mainstream installation methods:
Just choose your own installation method.
05 Effect
I used opencode here to load the Skill.
Case 1
Case 2
Case 3
06 Summary
These basic symptoms or pharmacological principles can help us become literate, but we cannot rely on them entirely. If there is a problem, go to the hospital promptly.
AI is a "copy" left by Master Ni in the human world, not Master Ni himself. No matter how similar the copy is, it cannot replace that eccentric old man sitting in the Han-Tang Chinese Medicine Clinic, frowning slightly while taking the pulse.