Ni Haixia Skill · Classical Formula TCM AI: Fixing the Syndrome Differentiation and Formula Selection Logic of the Classical Formula School within Agents

Preface

When discussing Traditional Chinese Medicine (TCM) with Large Language Models, answers often lean towards textbook styles or a mix of various schools. It is difficult to consistently adhere to the syndrome differentiation order and formula pattern logic of a specific school. If you wish for the conversation to prioritize the “Jingfang” (Classical Formulas) mindset of the Ni Haixia school—starting with the Six Meridians, emphasizing Yang Qi, and adhering to original classical formulas—you need to write this mental model into a Skill, rather than repeating a long background paragraph in your prompts every time.

Below is the introduction to the SkillHub community skill: “Ni Haixia skill · Jingfang TCM AI”. It encapsulates the expression and decision-making habits from primary materials related to Mr. Ni into an Agent-loadable SKILL.md format, enabling clients like Cursor, Claude Code, and Codex to automatically enable it when trigger words are matched.

What is this

One-sentence positioning: A perspective Skill on Jingfang TCM for AI Agents. It uses Ni Haixia’s (1954–2012) core framework of Six Meridian Differentiation, the Theory of Yang Qi, Supremacy of Classics, and Priority of Classical Formulas to assist models in organizing answers according to this school’s habits in relevant conversations.

Maintenance and Source: Coordinate @user_bbd159f4/nihaixa-perspective, Version 1.0.0, Category professional, Source marked as community, Published by user_bbd159f4. The SkillHub page displays the author ID as “燕舞-15919469611”. The page tag requires_api_key=false indicates no additional API Key is needed after installation.

Problem solved: Layers a stable “Haixia Perspective” heuristic onto general LLMs—such as differentiating the Six Meridians before selecting formulas, reinforcing Yang Qi when it is deficient, and prioritizing original classical formulas—while declaring the knowledge coverage (see next section). This reduces the burden of manually writing system prompts every time.

Core Functions

The following capabilities are derived from the official SkillHub introduction and page descriptions, without extending into unspecified abilities.

Mental Model and Decision Heuristics

The core framework declared by the Skill includes:

  • Six Meridian Differentiation, Theory of Yang Qi, Supremacy of Classics, Priority of Classical Formulas
  • Decision Heuristics: Differentiate the Six Meridians first, then select formulas; reinforce Yang Qi first when Yang is deficient; original classical formulas are the most reliable.

Knowledge Material Scope (Declared on Page)

The introduction states the skill is refined from primary materials such as Liang Dong dialogue transcripts, closed-door “Renji” class records, and medical case collections. The coverage includes:

  • 129 clauses from Shanghan Lun (Treatise on Cold Damage)
  • 23 chapters from Jingui Yaolue (Synopsis of the Golden Casket)
  • 18 chapters from Huangdi Neijing (Yellow Emperor’s Inner Canon)
  • Acupuncture tutorials
  • 345 types of herbs from Shennong Bencao Jing (Divine Farmer’s Classic of Materia Medica)
  • Tianji (Celestial Patterns/Fate)
  • 849 medical cases
  • Oral Expression DNA (used to approximate Mr. Ni’s expression habits)

Trigger Words

When the following words appear in user messages or task descriptions, the Agent can activate this Skill accordingly (subject to the Skill matching rules of each client):

  • Ni Haixia (倪海厦)
  • Haixia Perspective (海厦视角)
  • TCM Ni Haixia (中医倪海厦)
  • Jingfang Mindset (经方思维)
  • Mr. Ni / Shi Ni (倪师)

Platform Info

According to captured SkillHub data: Rating 100000, Downloads 4577, Installation count 0 (subject to store statistics). Official API addresses and display pages:

  • https://api.skillhub.cn/user_bbd159f4/nihaixa-perspective
  • https://www.skillhub.cn/skills/user_bbd159f4/nihaixa-perspective

Installation and Activation

The SkillHub page requires operation according to the official installation documentation. The installation coordinate is @user_bbd159f4/nihaixa-perspective. The general process is as follows.

1. Check or Install SkillHub CLI

First, confirm if skillhub is available on your machine:

command -v skillhub && skillhub --version

If not installed, follow the SkillHub documentation to perform a full installation (CLI + Default Skill):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

If only the CLI is needed:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install to the current Agent’s skills directory

During installation, you must use --dir to point to the skills directory recognized by the current client. The documentation notes that installing to the default ./skills/ might not be loaded by the Agent, and some environments may require a restart to take effect.

skillhub install user_bbd159f4/nihaixa-perspective --dir <skills directory>

Common paths (excerpt from SkillHub installation docs):

Client skills directory example
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under project

The page also supports sending the installation instructions to the AI as a prompt, asking it to complete the installation via https://skillhub.cn/install/skillhub.md; this is equivalent to manual CLI execution, so you can choose either method.

Typical Usage

The official side does not provide an independent “medical case demo script.” The reproducible usage is: After installing the Skill, use trigger words in the conversation and clearly express the desire to analyze from Mr. Ni’s Jingfang perspective. The examples below only illustrate the question structure and do not constitute medical advice.

Classical Clauses and Formula Pattern Comparison:

Using the Haixia perspective: In the Taiyang disease outline, regarding the clause "aversion to cold and floating pulse," how would Mr. Ni explain the main syndrome and the trade-off between Guizhi Tang and Mahuang Tang? Please differentiate the Six Meridians first before discussing formulas.

Reinforcing Yang and Jingfang Logic (Learning Oriented):

Jingfang mindset: Viewing from the Theory of Yang Qi, with symptoms of aversion to cold, cold limbs, loose stools, and a pale tongue, which meridian and type of original formula would you consider first? Just explain the basis, do not provide specific dosages.

Medical Case Reading (Consistent with the Skill’s declared 849 case coverage):

Mr. Ni's style: Using the Six Meridian differentiation framework, help me break down the main syndrome, formula pattern, and modification logic in a medical case (educational recitation only, not a substitute for in-person diagnosis).

Through the steps above, the Agent should prioritize the heuristics in the introduction when the Skill is matched, rather than providing generalized “TCM health preservation” answers.

Applicable Scenarios and Notes

Who it is for

  • Developers or practitioners studying Shanghan Lun, Jingui, acupuncture, and Jingfang selection logic who want to repeatedly deduce clauses and formula patterns within the IDE using a consistent perspective.
  • Users who need to fix the “Ni Haixia / Jingfang mindset” expression in environments like Cursor / Claude Code / Codex, avoiding the need to copy large blocks of background prompts every time.

Limitations and Notes

  1. Community Source: The content is a community-published Skill, not equivalent to an official product of a medical institution or the institution Mr. Ni worked at during his lifetime. It is for self-study and prompt engineering purposes and cannot be treated as a diagnostic system.
  2. Not a Medical Substitute: The introduction focuses on differentiation and classical teaching expressions. Any specific symptoms, medication, and dosages must be determined by a licensed physician via in-person diagnosis. Do not use model output for self-prescribing or as a substitute for emergency care.
  3. Statistics and Versions: Subject to the SkillHub page and API (current v1.0.0); download counts and ratings may change. Please verify with the source when writing or citing.
  4. Client Differences: Different Agents have varying requirements for Skill discovery, hot-loading, and restarts. If it does not take effect, check if --dir points to the skills path specified in that client’s documentation.

Conclusion

The “Ni Haixia skill · Jingfang TCM AI” writes the habits of the Jingfang school—Six Meridian Differentiation, Yang-reinforcing priority, and classical formulas—into a Skill. It declares the knowledge boundaries and trigger words based on primary materials related to Mr. Ni, making it suitable for long-term fixing of the “Haixia Perspective” within Agent workflows.

Official Entries:

  • https://www.skillhub.cn/skills/user_bbd159f4/nihaixa-perspective
  • https://api.skillhub.cn/user_bbd159f4/nihaixa-perspective
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye