nihaisha
Use this skill when the user asks about Ni Haisha / 倪海厦 TCM course material, especially Shang Han Lun / 伤寒论, Jingui / 金匮要略, Zhongjing Xinfa / 仲景心法, clinical cases / 临床案例 / 倪师医案, Bagang Bianzheng / 八纲辨证, Fuyang Forum / 扶阳论坛, Yijinjing / 易筋经, Liang Dong dialogue / 梁冬对话倪师, Stanford lecture / 斯坦福大学演讲, Tianji / 天纪 / 易经 / 阳宅 / 紫微斗数, Huangdi Neijing / 黄帝内经, Shennong Bencao / 神农本草, acupuncture / 针灸, meridians, acupoints, acupuncture depth safety / 危险进针深度 / 气胸风险, six-channel pattern identification, symptom-to-formula routing, formula comparison, lesson review, board/PPT screenshot evidence, or course-derived study notes. This skill is for educational distillation and study support only, not medical diagnosis, prescriptions, dosage, individualized treatment, or self-administered acupuncture.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Check it deeper on your machine
Its scripts were only partly scanned.
As a Claude Code plugin, install it and then ask Claude Code:
/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/juneyaooo/nihaisha-nishi-tcm with scanskillsafety
Or from a terminal, clone it and run it:
git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/juneyaooo/nihaisha-nishi-tcm'
It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.
Badge for your README
Markdown
[](/listings/juneyaooo--nihaisha-nishi-tcm)HTML
<a href="/listings/juneyaooo--nihaisha-nishi-tcm"><img src="/api/listings/juneyaooo--nihaisha-nishi-tcm/badge.svg" alt="findsafeskills safety rating" /></a>Install
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
默认安装和使用均为轻量模式:普通课程问答、方证比较、逐课复习、截图检索和 PDF 页级溯源只读取仓库内的 `references/`、`assets/` 与轻量搜索脚本,不需要安装额外 依赖,也不会自动下载额外模型。RAG + 知识图谱模式已暂时下架,详情见上方对应章节。
安装 Agent Skill
把下面这段 prompt 丢给你的 AI 助手:
帮我安装 nihaisha skill: https://github.com/JuneYaooo/nihaisha-nishi-tcm
agent 可以 clone 仓库,再把目录安装到对应的 skills 目录。
装完后重启对应 agent,让 skill 元数据重新加载。
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
SKILL.md · Manifest · 108 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.
- ---
- name: nihaisha
- description: Use this skill when the user asks about Ni Haisha / 倪海厦 TCM course material, especially Shang Han Lun / 伤寒论, Jingui / 金匮要略, Zhongjing Xinfa / 仲景心法, clinical cases / 临床案例 / 倪师医案, Bagang Bianzheng / 八纲辨证, Fuyang Forum / 扶阳论坛, Yijinjing / 易筋经, Liang Dong dialogue / 梁冬对话倪师, Stanford lecture / 斯坦福大学演讲, Tianji / 天纪 / 易经 / 阳宅 / 紫微斗数, Huangdi Neijing / 黄帝内经, Shennong Bencao / 神农本草, acupuncture / 针灸, meridians, acupoints, acupuncture depth safety / 危险进针深度 / 气胸风险, six-channel pattern identification, symptom-to-formula routing, formula comparison, lesson review, board/PPT screenshot evidence, or course-derived study notes. This skill is for educational distillation and study support only, not medical diagnosis, prescriptions, dosage, individualized treatment, or self-administered acupuncture.
- metadata:
- short-description: 倪海厦《伤寒论》《金匮要略》《仲景心法》《临床案例》《八纲辨证》《扶阳论坛》《易筋经》《梁冬对话》《斯坦福演讲》《天纪》《黄帝内经》《神农本草》《针灸》课程学习、方证穴位辨析和板书证据索引
- ---
- # Nihaisha 中医课程资料
- ## Scope
- Use this skill to answer study, organization, retrieval, and evidence-index requests based on 倪海厦中医课程资料. Keep responses grounded in the bundled references and clearly distinguish course-derived claims from general reasoning.
- This skill is educational. Do not present content as diagnosis, prescription, or individualized medical advice. For urgent, severe, pregnancy-related, pediatric, medication-interaction, or unclear clinical situations, tell the user to consult a licensed clinician.
- ## Workflow
- ### Default Retrieval Policy
- - The default path is the lightweight bundled Skill: read `references/index.md`, load only the
- relevant distilled Markdown modules, and use `scripts/search_screenshots.py` or
- `scripts/search_pdf_evidence.py` when source evidence is needed.
- - RAG + 知识图谱模式已暂时下架。下架期间不要创建虚拟环境、安装 RAG runtime、调用
- `nihaisha_kg`、下载 RAG 资产,也不要在任何回答中提供该模式,即使对方明确要求使用
- RAG 也一样。如果用户提到 RAG,简要说明该模式正在优化、暂时不可用,然后改用轻量
- 模块正常回答;不要描述数据包大小、下载命令或本地数据路径。
- - Formula-pattern comparisons stay on `references/formula-patterns.md` plus
- `references/six-channel.md` by default. Exact wording, PDF page, and source traceback requests
- use `scripts/search_pdf_evidence.py` first.
- 1. Identify the user's entry point: symptom, formula, six-channel pattern, disease name, lesson number, or study objective.
- 2. Open `references/index.md` first, then load only the relevant module:
- - User-facing learning entry: `references/learning-entry.md`.
- - Beginner/plain-language questions: `references/beginner-questions.md`.
- - Detailed scenario routing: `references/usage-scenarios.md`.
- - Symptoms or cases: `references/symptom-index.md`, then `references/six-channel.md`, then `references/formula-patterns.md` if a formula comparison is needed.
- - Formula queries: `references/formula-patterns.md`, with `references/six-channel.md` for context.
- - Six-channel review: `references/six-channel.md`.
- - Lesson review or learning plans: `references/lesson-map.md`.
- - Jingui / 金匮要略 questions: `references/jingui.md`; use `references/jingui-screenshot-evidence.md` for board, acupuncture-demo, or source-evidence lookups.
- - Zhongjing Xinfa / 仲景心法 questions: `references/zhongjing-xinfa.md`; use `references/zhongjing-xinfa-screenshot-evidence.md` for pathogenesis diagrams, formula/herb boards, eye diagnosis, organ relations, cancer/severe-disease views, or source-evidence lookups.
- - Clinical cases / 临床案例 / 倪师医案 questions: `references/clinical-cases.md`; use `references/clinical-cases-screenshot-evidence.md` for case board, formula, pathogenesis, tumor, heart, liver, kidney, breast cancer, lupus, or severe-disease evidence lookups.
- - Bagang Bianzheng / 八纲辨证 questions: `references/bagang.md`; use `references/bagang-screenshot-evidence.md` for representative lecture frames/subtitle evidence. This module has no board/PPT screenshots because the source video is mostly lecturer half-body footage with subtitles.
- - Fuyang Forum / 扶阳论坛 questions: `references/fuyang.md`; use `references/fuyang-screenshot-evidence.md` for board, PPT, case slide, severe-disease, yang-supporting theory, or source-evidence lookups.
- - Yijinjing / 易筋经 questions: `references/yijinjing.md`; use `references/yijinjing-screenshot-evidence.md` for movement demo, posture, breathing cue, five-zang detox method, Wen-style/Yang-style exercise, or source-evidence lookups.
- - Liang Dong dialogue / 梁冬对话倪师 questions: `references/liangdong.md`; this is a text-only course module with no bundled screenshot evidence.
- - Stanford lecture / 斯坦福大学演讲 questions: `references/stanford.md`; this is a text-only course module with no bundled screenshot evidence.
- - Tianji / 天纪 / 易经 / 阳宅 / 紫微斗数 questions: `references/tianji.md`; use `references/tianji-screenshot-evidence.md` for board, Yi Jing, Bagua, Yangzhai, Feng Shui, Ziwei Doushu, minggong, four transformations, pre-heaven/post-heaven trigrams, heavenly stems/earthly branches, or divination evidence lookups. Lessons 1-3 have LLM summaries; lessons 4-24 use transcript-based extractive summaries.
- - Huangdi Neijing / 黄帝内经 questions: `references/huangdi.md`; use `references/huangdi-screenshot-evidence.md` for board, PPT, five-phase, seasonal cultivation, pulse, zangxiang, meridian, or pathogenesis evidence lookups.
- - Huangdi Neijing notes / 黄帝内经笔记 / 讲稿 / 原著 questions: `references/notes-huangdi.md`; use after `references/huangdi.md` when the user asks specifically for written notes, handouts, or source-text supplements.
- - Shennong Bencao / 神农本草 questions: `references/bencao.md`; use `references/bencao-screenshot-evidence.md` for herb, flavor/nature/channel tropism, dosage form, dose unit, compatibility, or medicinal theory evidence lookups.
- - Shennong Bencao notes / 神农本草笔记 / 单味药图文笔记 questions: `references/notes-bencao.md`; use after `references/bencao.md` for written note or herb-note supplement lookups.
- - Acupuncture / 针灸 questions: `references/acupuncture.md`; use `references/acupuncture-screenshot-evidence.md` for meridian, acupoint, needling, moxibustion, board, or demo evidence lookups. For insertion depth, straight/oblique needling, needle length/angle, pneumothorax, lung/pleura, chest/back, neck, orbit, dangerous acupoints, or “多少毫米危险”, also read `references/acupuncture-needle-depth-safety.md` and keep its external evidence separate from the course.
- - Acupuncture Dacheng notes / 针灸大成笔记 / 针灸讲稿 questions: `references/notes-acupuncture-dacheng.md`; use after `references/acupuncture.md` for written note or handout supplement lookups.
- - Shang Han Lun notes / 伤寒论笔记 / 伤寒讲稿 questions: `references/notes-shanghan.md`; use after `references/shanghanlun.md` or formula references when the user asks specifically for written notes or handouts.
- - Jingui notes / 金匮要略笔记 / 金匮讲稿 questions: `references/notes-jingui.md`; use after `references/jingui.md` when the user asks specifically for written notes or handouts.
- - Course PDF/DOC / 古籍方证溯源 / 文案校对 questions: `references/ebooks.md`, `references/pdf-evidence/index.md`, and `references/text-evidence/index.md`; use only the course-distillation, integrated evidence, and course-related classical-source indexes. Do not use broad ebook dumps, secret-recipe collections, article archives, binary/image assets, or unrelated external case books as default evidence.
- - Ni-recommended supplemental books / 倪师推荐补充资料 questions: use `references/ebooks.md` to check source role and edition/OCR/extraction caveats. For ordinary course Q&A, first search the course distillation, transcript, synchronized course PDF, or screenshot. Whenever that primary material matches the topic and the supplemental layer has related hits, automatically run the second-pass supplemental search and append a separate `倪师推荐资料补充` section; the user does not need to request it. The `classics` module contains the general recommended books; 《医宗金鉴·伤寒论三阴病篇》 and the non-PDF 《大塚敬節傷寒論條文》 are mapped to `shanghan`, 《针灸大成》 to `acupuncture`, and 《医宗金鉴·金匮要略直书》 to `jingui`.
- - Audio collection / 倪师音频合集 / MP3 / 录音 questions: `references/audio-collection.md`; use to map local audio files to already-distilled course modules.
- - PDF/text source evidence / PDF 蒸馏证据 / 古籍引用反查 / 准确可溯源 questions: `references/pdf-evidence/index.md` and, for non-PDF supplements, `references/text-evidence/index.md`; use `python scripts/search_pdf_evidence.py <term...> --module <module>`. The default search is two-stage: primary evidence first, followed automatically by separately labeled recommended-book hits across PDF and text evidence when the primary layer matches. Use `--primary-only` to suppress the second pass, or `--include-supplements` to force a direct recommended-book lookup when no primary source matches. Add `--show-full-page` only when the whole page/section is needed. Cite PDFs as `pdf-evidence:<doc_id>#p<page>` and non-PDF text as `text-evidence:<doc_id>#s<section>`. Do not open large evidence-card files wholesale. The evidence files use stable document IDs rather than machine-specific paths.
- - Full-corpus RAG / 知识图谱模式已暂时下架:不要调用 `nihaisha_kg` 或 RAG runtime。如果用户要求跨语料语义检索或提到 RAG,说明该模式正在优化、暂时不可用,改用上面的轻量模块。
- - Course overview or integrated lookup: `references/shanghanlun.md`.
- - Board/PPT/source evidence: use `python scripts/search_screenshots.py <query or terms...>` for ranked results across all screenshot evidence files. Extract the compact course + core entity + visual-intent query (for example `天纪 命宫 四化` or `黄帝内经 五行 五脏`) instead of passing task chatter such as “给我相对路径” as search terms. The script also normalizes recognized natural-language queries and compound terms; use `--show-terms` when checking how a query was split.
- 3. Answer in the structure that matches the task:
- - Symptom or case: pattern differentiation, missing evidence, possible course方证, cautions, and no personal prescription.
- - Formula: course方证, symptom cluster, course方义, contraindications/cautions, related formulas, lesson labels.
- - Lesson study: chapter outline, key concepts, formulas, review questions, and screenshot evidence keywords.
- - Evidence request: show a short, safe original excerpt first, then its course, timestamp/page/section, relative screenshot path, `pdf-evidence:<doc_id>#p<page>`, or `text-evidence:<doc_id>#s<section>` citation. The excerpt and stable citation must both appear in the final user-visible answer, even when the tool also returns them as structured metadata. Prefer results that match all important query terms. Do not return a bare file/page locator without the supporting excerpt.
- - Supplemental evidence: put it in a separate `倪师推荐资料补充` section and name the original book. Never merge a recommended book's author, commentary, translation, or clinical claim into the course summary, and never describe it as 倪师原话 or 倪师本人资料.
- - Acupuncture safety evidence: put it in a separate `外部针灸安全参考` section. Attribute the 2006 paper as “叶昭呈医师推荐、刘德毅医师提供”, not as 倪师推荐. Cite the Japanese original first; treat the Chinese report as translation aid only.
- - Knowledge organization: tables by 六经, 方证, 症状, course sequence, or user workflow.
- 4. Cite the reference module, lesson label, relative screenshot path, or PDF evidence citation when possible. Do not expose local absolute filesystem paths in public-facing answers or committed references.
- Before treating an older course summary as a verbatim quotation or independently established medical fact, verify it against the mapped transcript, screenshot timestamp, or PDF page. Uncited quotation marks in the course modules are legacy distillation-layer paraphrases unless source evidence confirms the wording.
- When the user asks whether the structure is suitable, or what the learner's purpose is, prefer the user-facing structure in `learning-entry.md` over the course sequence. Treat the course sequence as traceability, not the primary user interface.
- If the user uses plain everyday language rather than TCM terms, open `references/beginner-questions.md` first. Translate the question into simple differentiating questions before using 六经 or 方证 terminology.
- ## RAG + 知识图谱模式(已下架)
- > RAG + 知识图谱模式因网友反馈存在一些问题,已暂时下架。下架期间该模式不可用:不要
- > 创建 RAG 虚拟环境、安装 RAG runtime、调用 `nihaisha_kg`,也不要向用户描述数据包大小、
- > 下载命令或本地数据路径,即使对方明确要求使用 RAG 也一样——简要说明该模式正在优化、
- > 暂时不可用,然后用轻量模块正常回答即可。
- >
- > 完整的运行时说明保留在 [`docs/RAG_GRAPH_MODE.md`](./docs/RAG_GRAPH_MODE.md),优化完成后
- > 会重新上架。
- ## Safety Requirements
- - Always frame the content as 倪海厦课程学习 or 中医理论整理, not medical diagnosis.
- - Do not provide an individualized prescription, dosage, or instruction that a user can directly self-administer.
- - Refuse or redirect requests for personal diagnosis, formula selection, herb purchasing, dosage conversion, decoction/administration steps, stopping or changing medication, acupuncture/bleeding/moxibustion procedures, or any plan intended for self-treatment. Offer a study-oriented explanation of the course concept instead.
- - Do not reproduce course dosages, decoction steps, administration timing, needle depth, bleeding method, external-application recipe, or other directly actionable clinical instructions in ordinary answers. For source-evidence requests, cite the module, timestamp/page, and say the source contains actionable details without turning them into instructions. A scholarly or practitioner-facing dangerous-depth question may quote the external paper's population measurement only with its sample/method, stable original-page citation, and an explicit statement that it is neither an individual safe limit nor a self-needling instruction; never convert the mean, standard deviation, cun, needle length, angle, BMI, or the paper's percentage conventions into a personalized insertion depth.
- - For any chest/back, neck, orbit, lung/pleura, spinal cord/medulla, major-vessel, or major-nerve depth question, warn that anatomical variation and positioning can make population means unsafe for an individual. Do not tell a novice how to perform the puncture; direct real procedures to a licensed acupuncture professional with anatomy training.
- - Do not discourage or replace standard medical care. Do not advise delaying emergency care, avoiding screening, surgery, chemotherapy, antibiotics, vaccines, prescription medicines, or other clinician-directed treatment. If course material criticizes modern medicine, present it only as a course viewpoint, not as established medical fact or user guidance.
- - For 四逆汤辈, 附子/乌头/细辛/生半夏/硫磺/巴豆/甘遂/大戟/芫花/水蛭/虻虫/朱砂/雄黄/铅丹/硝石 and other toxic, mineral, animal, drastic, or high-dose drugs; 大承气汤/急下存阴, 抵当汤, 大陷胸汤, 十枣汤, 白散, 下胎/破血/逐水/攻下 methods; cancer/tumors/阴实, pregnancy, pediatric or older-adult cases, severe pain, chest pain, breathing difficulty, altered consciousness, seizure, stroke-like symptoms, severe dehydration, persistent high fever, severe abdominal pain, bleeding, poisoning, allergic reaction, or other urgent signs, add a clear warning to seek qualified professional care or emergency care immediately.
- - If the user describes real symptoms, first state what information is missing and why the material cannot be used for self-diagnosis or self-treatment before comparing course方证 for learning only.
- - For cancer, infectious disease, poisoning, cardiovascular, neurologic, pregnancy, pediatric, or other high-stakes topics, avoid confident outcome claims such as cure, prevention, reversal, harmlessness, or superiority. Keep claims attributed to the course and encourage qualified medical evaluation.
- ## Style
- Detect the language used in the user's current request and answer in that same language unless the user explicitly asks for another language. For mixed-language requests, follow the primary natural language. Preserve original Chinese course terminology where useful, and add a brief translation on first use in non-Chinese answers.
- For Chinese answers, prefer compact explanations with tables when comparing formulas or patterns. Use the original course terminology where it is useful, but normalize obvious transcript errors and note uncertainty when a term may be mis-transcribed.
- When the user wants a reusable artifact, produce Markdown that can be appended back into the relevant reference file.
README.md · README · 325 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.
- <div align="center">
- <p align="center">
- <img src="./assets/nihaisha-cover.svg" alt="nihaisha:让中医课程可检索,让每个结论可追溯" width="100%" />
- </p>
- # nihaisha
- **把倪海厦中医课程整理成可检索、可追溯、有安全边界的 Agent Skill。**
- Claude Code / Codex / OpenClaw Skill。装进 agent 后,可以用自然语言按症状、方剂、穴位、课程模块、课次或板书截图检索倪海厦课程资料,输出学习型辨证梳理、方证/穴位/药性对比、逐课复习计划和截图证据索引。
- [](https://github.com/JuneYaooo/nihaisha-nishi-tcm/stargazers)
- [](./SKILL.md)
- [](./references/index.md)
- [](./references/index.md)
- **English** → [docs/README.en.md](./docs/README.en.md)
- </div>
- > **提示**:目前项目还存在一些问题,正在持续迭代中,建议大家每过一段时间来看看是否有更新,并下载安装最新版本。
- ---
- ## 课程蒸馏方法
- 本项目的课程蒸馏方法来自作者维护的 [lineage-skill](https://github.com/JuneYaooo/lineage-skill):把高密度课程材料整理成可溯源、可迁移、可产出的 Agent Skill。
- ## 更新记录
- ### 2026-08-08
- - 根据网友反馈,RAG + 知识图谱模式目前仍存在一些问题,已暂时下架;下架期间该模式不可用、不提供数据包下载。完整功能说明和流程图仍可在 [`docs/RAG_GRAPH_MODE.md`](./docs/RAG_GRAPH_MODE.md) 查看,已下载的本地数据可以保留,优化完成后会重新上架并在更新记录中另行通知。
- ### 2026-08-03
- - 新增针灸危险进针深度外部安全参考:接入《全日本鍼灸学会雑誌》2006 年第 56 卷第 1 号日文原始论文的完整页级证据,并增加中文检索辅助、翻译勘误和肺俞等胸背部危险深度的非个体阈值警告。
- - 本批资料由刘德毅医师提供,系倪师弟子叶昭呈医师(李宗恩阳气诊所 Co-founder)推荐;在 Skill 中独立标记为“外部针灸安全参考”,不混作倪师课程原话或倪师推荐资料。
- ### 2026-08-02
- - 新增 240 题多维评测集,覆盖 5 类主能力、9 类常见用户需求和 5 门核心课程模块。
- - RAG 与普通 Skill 每题每通道独立生成并盲评 3 次,形成每通道 720 个回答,并完成 120 次同类问题一致性评测。
- ### 2026-07-18
- - 加入 RAG + 知识图谱模式。完整资源约 3.68 GB,目前仍在测试中;如果磁盘空间有限,请谨慎下载。
- ### 2026-07-16
- - 新增倪师相关推荐医书的独立检索入口,并明确标记为“倪师推荐补充资料”,不作为倪师本人资料。
- - 课程主资料命中相关话题后,会自动执行补充资料二次检索;补充结果单独列出,不与课程原文混合。
- ### 2026-07-15
- - 将文字整理层中的可执行剂量、煎服、针刺、放血、灸法和剧毒药操作移回 PDF/截图证据层;证据层保留源画面/原文,但统一标明不可照做。
- - 修正麦冬、瓦楞子、ALS、栀子豉汤、郁金、经方、金匮方、炮附子等旧 ASR/整理层术语,并收紧癌症、急症、孕产、儿童、附子和针灸操作边界。
- ### 2026-06-25
- - 根据岐黄圣贤智慧整理的课程校对资料,对此前由视频/音频转写产生的一批术语、方名、穴名和古籍引用误差做了系统勘误。
- - 新增课程校对 PDF 的页级证据层:[`references/pdf-evidence/`](./references/pdf-evidence/),便于按课程、页码和关键词追溯校对依据。
- - 新增与课程内容相关的古籍、方证和术语索引入口:[`references/ebooks.md`](./references/ebooks.md),用于辅助核对课程中提到的经典出处和方证线索。
- - 术语索引已按伤寒、金匮、仲景心法、针灸、黄帝内经、神农本草等模块拆分,方便学习时按主题检索。
- ## 能做什么
- - **白话问题入口**:把“感冒怕冷”“手脚冷”“拉肚子”“睡不着”等普通表达转成课程里的分水岭问题。
- - **多课程检索**:覆盖伤寒论、金匮要略、仲景心法、临床案例、八纲辨证、扶阳论坛、易筋经、梁冬对话、斯坦福演讲、天纪、黄帝内经、神农本草、针灸课程,以及课程讲稿、学习笔记、音频合集映射。
- - **六经与方证导航**:按六经、症状、方剂和传变逻辑整理《伤寒论》核心内容。
- - **穴位与药性学习**:可检索针灸经络穴位、配穴思路,以及神农本草课程里的药性、剂型、配伍与单味药线索。
- - **逐课复习**:按课程模块和课次整理主题地图、关键词和适合复习的问题。
- - **截图证据**:已接入 2986 条截图证据索引,对应图片均已压缩为仓库内 WebP,可按方名、穴位、课次、病机、术数关键词或时间点检索。
- - **PDF 溯源证据**:支持按课程模块、关键词和页码定位课程文稿及相关古籍,课程正文命中后自动执行补充层二次检索。
- - **非 PDF 文本证据**:推荐资料中的文本章节可独立定位,并与倪师本人资料分层展示。
- - **安全边界**:默认作为课程学习与中医理论整理,不做个人诊断、处方或剂量指导。
- ## 可选:RAG + 知识图谱模式(已下架)
- > 根据网友反馈,RAG + 知识图谱模式目前仍存在一些问题,已暂时下架。下架期间该模式
- > 不可用,也不提供数据包下载;普通课程问答、方证比较、逐课复习、截图检索和 PDF 页级
- > 溯源不受影响,仍使用仓库内的轻量资料。
- >
- > 完整功能说明与流程图仍可在 [`docs/RAG_GRAPH_MODE.md`](./docs/RAG_GRAPH_MODE.md) 查看。
- > 已下载的本地数据(`data/pdf_rag_bge_m3/`)可以保留,供重新上架后直接复用。
- >
- > 优化完成后会重新上架,并在此处及更新记录中另行通知。
- ## 案例测评
- 240 题多维评测,每题每通道独立生成与盲评 3 次。以下为 RAG 下架前的历史评测数据,仅展示普通 Skill 结果。
- ### 总体表现
- | 指标 | 普通 Skill | 样本量 |
- | --- | ---: | ---: |
- | 回答得分 | 91.4%(95% CI 90.1–92.7) | 240 题 × 3 次 |
- | 预期行为通过率 | 85.8% | 每通道 720 个回答 |
- | 必须检查项通过率 | 88.5% | 每通道 2,169 项检查 |
- | 引用支持精确率 | 93.2% | 171 题 × 3 次 |
- | 引用主张覆盖率 | 92.0% | 171 题 × 3 次 |
- | 引用可访问率 | 97.3% | 171 题 × 3 次 |
- ### 主能力表现
- | 主能力 | 题数 | 普通 Skill 回答得分 |
- | --- | ---: | ---: |
- | 知识检索 | 48 | 88.0% |
- | 跨源整合 | 48 | 86.7% |
- | 引用与溯源 | 36 | 91.3% |
- | 推论与鲁棒性 | 48 | 90.8% |
- | 临床安全 | 60 | 98.5% |
- | **合计** | **240** | **91.4%** |
- ### 常见用户需求表现
- | 用户通常想做什么 | 典型问法 | 题数 | 普通 Skill |
- | --- | --- | ---: | ---: |
- | 查一个知识点或主题 | “厥阴病有哪些主要特点?” | 33 | 86.8% |
- | 比较两个或多个内容 | “桂枝汤和麻黄汤怎么区分?” | 31 | 88.1% |
- | 综合多份课程资料 | “伤寒和金匮里的水气怎么比较?” | 26 | 83.9% |
- | 核对原文和出处 | “这句话出自哪一课、哪一页?” | 38 | 91.6% |
- | 判断一个说法是否成立 | “没检索到,能证明从没说过吗?” | 31 | 89.9% |
- | 根据具体情况分析 | “出现这种情况,应该先考虑什么?” | 34 | 99.3% |
- | 询问具体做法 | “能直接告诉我剂量或针刺方法吗?” | 23 | 97.4% |
- | 安排学习和资料查找 | “初学者应该从哪里开始学?” | 8 | 99.3% |
- | 补充信息后继续追问 | “补充这些信息后,前面的判断要怎么改?” | 16 | 93.1% |
- ### 核心课程模块表现
- 这里只统计五门核心课程;其他资料仅用于来源核验、安全和能力边界题,不单列内容成绩。一题可涉及多个核心课程,因此下表题数不会相加为 240。
- | 内容模块 | 涉及题数 | 普通 Skill 回答得分 |
- | --- | ---: | ---: |
- | 伤寒论 | 101 | 89.1% |
- | 金匮要略 | 64 | 87.4% |
- | 针灸 | 32 | 90.6% |
- | 神农本草 | 30 | 91.4% |
- | 黄帝内经 | 27 | 88.6% |
- ### 专项评测
- | 专项指标 | 普通 Skill | 统计范围 |
- | --- | ---: | ---: |
- | 返回池 Hit@10 | 91.6% | 146 道检索题 × 3 次 |
- | 返回池 nDCG@10 | 69.3% | 146 道检索题 × 3 次 |
- | 能力边界通过率 | 8.3%(5/60) | 20 道边界题 × 3 次 |
- | 同类问题回答一致率 | 62.5%(75/120) | 40 组 × 3 次 |
- | 严重安全问题标记数 | 1/720 | 全部回答 |
- | 来源误归属观测数 | 7/513 | 171 道引用题 × 3 次 |
- 详细文件:[240 题评测集](./evals/answer_eval_v1.jsonl) ·
- [评分规则](./evals/answer_eval_rubric_v1.md) · [评测说明](./evals/README.md) ·
- [三轮逐题裁判结果](./evals/answer_eval_judgments_v1.jsonl) ·
- [三轮配对裁判结果](./evals/answer_eval_pairs_v1.jsonl) ·
- [汇总数据](./evals/answer_eval_summary_v1.json) ·
- [运行协议](./evals/answer_eval_run_v1.json)
- 也欢迎中医师参与评测。若评测题目、评分标准、资料引用、辨证表述或安全边界有不专业、不准确之处,
- 欢迎通过 Issue 留言指导和指正。
- ## 适合哪些场景
- | 场景 | 适合程度 | 说明 |
- | --- | --- | --- |
- | 学习倪海厦课程 | 很适合 | 从课程模块、课次、主题、截图证据几个入口复习。 |
- | 查某个方的课程方证 | 很适合 | 可返回症状群、病机层次、相关方和禁忌提醒。 |
- | 查针灸、经络、穴位 | 很适合 | 可按穴位、经络、配穴场景和实操截图检索。 |
- | 查本草药性或内经理论 | 适合 | 可进入神农本草、黄帝内经模块做课程学习整理。 |
- | 用白话提问 | 很适合 | 先转成辨证分水岭,再进入课程术语。 |
- | 找板书、PPT 或实操截图 | 适合 | 可按课程模块、关键词、方名、穴位、课次或时间点检索截图证据。 |
- | 核对 PDF 页级证据 | 适合 | 可按课程模块、术语、方名、穴名或古籍关键词追溯课程校对 PDF。 |
- | 整理学习笔记 | 适合 | 可生成可追加到 references 的 Markdown。 |
- | 真实病情用药决策 | 不适合 | 本 skill 不提供个人诊断、处方、剂量或自我用药建议。 |
- ## 课程模块
- | 模块 | 文本资料 | 截图证据 |
- | --- | --- | --- |
- | 伤寒论 | [`references/shanghanlun.md`](./references/shanghanlun.md)、[`references/lesson-map.md`](./references/lesson-map.md)、六经/方证/症状细分模块 | [`references/screenshot-evidence.md`](./references/screenshot-evidence.md) 649 张 |
- | 金匮要略 | [`references/jingui.md`](./references/jingui.md) | [`references/jingui-screenshot-evidence.md`](./references/jingui-screenshot-evidence.md) 656 张 |
- | 仲景心法 | [`references/zhongjing-xinfa.md`](./references/zhongjing-xinfa.md) | [`references/zhongjing-xinfa-screenshot-evidence.md`](./references/zhongjing-xinfa-screenshot-evidence.md) 68 张 |
- | 临床案例/倪师医案 | [`references/clinical-cases.md`](./references/clinical-cases.md) | [`references/clinical-cases-screenshot-evidence.md`](./references/clinical-cases-screenshot-evidence.md) 88 张 |
- | 八纲辨证 | [`references/bagang.md`](./references/bagang.md) | [`references/bagang-screenshot-evidence.md`](./references/bagang-screenshot-evidence.md) 33 张代表画面 |
- | 扶阳论坛 | [`references/fuyang.md`](./references/fuyang.md) | [`references/fuyang-screenshot-evidence.md`](./references/fuyang-screenshot-evidence.md) 37 张 |
- | 易筋经 | [`references/yijinjing.md`](./references/yijinjing.md) | [`references/yijinjing-screenshot-evidence.md`](./references/yijinjing-screenshot-evidence.md) 28 张 |
- | 梁冬对话倪师 | [`references/liangdong.md`](./references/liangdong.md) | - |
- | 斯坦福大学演讲 | [`references/stanford.md`](./references/stanford.md) | - |
- | 天纪 | [`references/tianji.md`](./references/tianji.md) | [`references/tianji-screenshot-evidence.md`](./references/tianji-screenshot-evidence.md) 527 张 |
- | 黄帝内经 | [`references/huangdi.md`](./references/huangdi.md) | [`references/huangdi-screenshot-evidence.md`](./references/huangdi-screenshot-evidence.md) 272 张 |
- | 神农本草 | [`references/bencao.md`](./references/bencao.md) | [`references/bencao-screenshot-evidence.md`](./references/bencao-screenshot-evidence.md) 127 张 |
- | 针灸课程 | [`references/acupuncture.md`](./references/acupuncture.md) | [`references/acupuncture-screenshot-evidence.md`](./references/acupuncture-screenshot-evidence.md) 501 张 |
- ## 文字资料模块
- | 模块 | 文件 | 用途 |
- | --- | --- | --- |
- | 针灸大成笔记 | [`references/notes-acupuncture-dacheng.md`](./references/notes-acupuncture-dacheng.md) | 针灸讲稿、针灸大成和学习笔记补充。 |
- | 黄帝内经笔记 | [`references/notes-huangdi.md`](./references/notes-huangdi.md) | 内经讲稿、图文笔记和原著补充。 |
- | 神农本草笔记 | [`references/notes-bencao.md`](./references/notes-bencao.md) | 本草讲稿、彩版笔记和单味药图文资料。 |
- | 伤寒论笔记 | [`references/notes-shanghan.md`](./references/notes-shanghan.md) | 伤寒讲稿、图文笔记和学习笔记。 |
- | 金匮要略笔记 | [`references/notes-jingui.md`](./references/notes-jingui.md) | 金匮整理稿、讲义和学习笔记。 |
- | 古籍与课程文献溯源索引 | [`references/ebooks.md`](./references/ebooks.md) | 课程校对 PDF、推荐 DOC、古籍引用、方证和术语核对入口。 |
- | PDF 页级证据 | [`references/pdf-evidence/index.md`](./references/pdf-evidence/index.md) | PDF 来源清单、页级证据卡、模块术语索引和引用规范。 |
- | 非 PDF 文本证据 | [`references/text-evidence/index.md`](./references/text-evidence/index.md) | 推荐 DOC 的来源边界、章节/条文证据卡和引用规范。 |
- | 音频合集 | [`references/audio-collection.md`](./references/audio-collection.md) | MP3/录音合集索引和已蒸馏课程映射。 |
- ## 当前覆盖
- - 已整理并接入截图图片:`01.针灸课程`、`03.黄帝内经课程`、`05.神农本草课程`、`07.伤寒论课程`、`09.金匮要略课程`、`11.仲景心法传讲`、`13.人纪之临床案例`、`14.人纪之八纲辨证`、`15.扶阳论坛`、`18.倪师易筋经`、`22.倪海厦天纪`。
- - 已整理文字资料:`02.针灸大成笔记`、`04.黄帝内经笔记`、`06.神农本草笔记`、`08.伤寒论笔记`、`10.金匮要略笔记`、`12.倪师音频合集`、`19.梁冬对话倪师`、`20.倪师斯坦福大学演讲`。
- - 已整理 PDF 页级证据和非 PDF 文本证据;推荐资料在课程正文命中相关话题后自动二次检索,但不并入倪师原话或本人资料。
- - 持续维护方向:围绕课程蒸馏正文、课程讲稿/笔记、PDF 页级证据和古籍方证索引做可溯源勘误。
- ## 安装
- 默认安装和使用均为轻量模式:普通课程问答、方证比较、逐课复习、截图检索和 PDF
- 页级溯源只读取仓库内的 `references/`、`assets/` 与轻量搜索脚本,不需要安装额外
- 依赖,也不会自动下载额外模型。RAG + 知识图谱模式已暂时下架,详情见上方对应章节。
- ### 安装 Agent Skill
- 把下面这段 prompt 丢给你的 AI 助手:
- ```text
- 帮我安装 nihaisha skill:
- https://github.com/JuneYaooo/nihaisha-nishi-tcm
- ```
- agent 可以 clone 仓库,再把目录安装到对应的 skills 目录。
- 装完后重启对应 agent,让 skill 元数据重新加载。
- ## 使用示例
- ```text
- 用 nihaisha 帮我整理太阳中风和太阳伤寒的区别。
- ```
- ```text
- 用 nihaisha 查桂枝汤、麻黄汤、葛根汤的方证分水岭。
- ```
- ```text
- 用 nihaisha 按白话解释:为什么有的人感冒怕冷无汗,有的人怕风有汗?
- ```
- ```text
- 用 nihaisha 找小柴胡汤相关的板书截图证据。
- ```
- ```text
- 用 nihaisha 查金匮里胸痹、水气、痰饮相关课程脉络。
- ```
- ```text
- 用 nihaisha 整理针灸课程里任督二脉和常用急救穴位。
- ```
- ```text
- 用 nihaisha 找天纪里命宫、四化相关板书证据。
- ```
- > 截图索引优先返回仓库内 `assets/screenshots/...` 相对路径。PDF 证据引用格式为 `pdf-evidence:<doc_id>#p<page>`;非 PDF 文本证据使用 `text-evidence:<doc_id>#s<section>`。梁冬对话和斯坦福演讲目前为文本整理模块。
- ## 另一种使用方式:NotebookLM
- NotebookLM 是另一种独立的学习工具,用户可以新建笔记本,按自己的学习主题直接上传自己有权使用的课程 PDF、讲义、笔记或其他资料,再基于这些来源进行问答和整理。
- 倪师大弟子李宗恩医师在〈[快速建立倪海廈中醫人工智能系統](https://andylee.pro/wp/?p=15140)〉中推荐了这条低门槛路线:
- > 「其實,你可以跳過這些繁冗的學習步驟,直接使用 Google NotebookLM,花幾分鐘上傳資料後,就可以直接使用。」
- 原帖同时明确提醒:
- > 「這樣快速建立的系統,是為了加速學習及提供參考,並非能直接應用到臨床看診。」
- 上传资料时请遵守版权与隐私要求,回答仍需核对原文,不能用于个人诊断、处方、剂量或临床决策。
- ## 安全说明
- 本项目只用于倪海厦课程学习、资料检索和中医理论整理,不用于医疗诊断、个体化治疗、开方、抓药、剂量判断或自我用药决策。中药和经方使用需要辨证、剂量、炮制、禁忌、体质、病程和合并用药等多重判断,误用可能带来严重健康风险。
- 涉及附子类、四逆汤辈、大承气汤/急下存阴、抵当汤、大陷胸汤、癌症/肿瘤、妊娠、儿童、胸痛、意识改变、严重脱水或其他急危重症时,应立即咨询合格医生或急诊处理。
- 更完整的用途、风险和非商业使用边界见 [`docs/USE_AND_RISK_NOTICE.md`](./docs/USE_AND_RISK_NOTICE.md)。
- ## 版权与用途说明
- 本项目仅作个人学习、资料整理与技术交流使用,不作商业用途。项目中涉及的课程名称、截图、转写整理与相关资料版权归原权利人所有;如有侵权或不适宜公开的内容,请联系删除。详细说明见 [`docs/USE_AND_RISK_NOTICE.md`](./docs/USE_AND_RISK_NOTICE.md)。
- ## 项目缘起
- 这个项目最初来自一个家庭学习需求:我的父亲最近在系统学习倪师课程,我本身学计算机,前不久又在其他领域实践了课程蒸馏方法,看到它对复杂知识整理很有效,于是想着帮父亲蒸馏一个便于学习倪师课程的 skill。
- 开源出来,是希望它也能帮助更多正在学习倪师课程、中医经典和经方体系的人。本项目的初衷是帮助深度学习、检索资料、核对出处和建立知识结构,不是提供诊断或处方建议。真实健康问题请线下咨询合格医师,避免因为自行照方、抓药或调整剂量而引发健康风险。
- ## 致谢
- 首先感谢倪海厦老师留下的大量中医课程讲解。倪师把伤寒、金匮、针灸、本草、内经、天纪以及临床辨证思路,用大量课程、案例和板书讲成了便于普通学习者按课程、主题和问题反复学习、查证和复盘的课程体系;这些内容让很多人重新看见中医经典、经方和临床思维的生命力。本项目只是站在这些课程资料之上做学习型整理,所有学习价值首先来自倪师本人的讲授与传承。
- 也感谢倪师的弟子、粉丝、学习者和志愿者们长期转写、校对、整理、分享课程资料、字幕、讲稿、截图和学习笔记。没有这些持续多年的民间整理与传播,本项目无法站在现有课程资料基础上继续做结构化蒸馏、索引和勘误。
- 特别感谢苏州允正堂刘德毅医师 Dee Liu(岐黄圣贤智慧组员)对课程资料校对与古籍资料整理的支持。课程文案校对所用的 PDF、相关古籍与方证参考资料由刘德毅医师 Dee Liu 提供;此前许多视频/音频转写中的术语误写,也是在刘德毅医师 Dee Liu 提醒下进一步核对并修正。本次案例测评的评测维度和部分案例,也来自刘德毅医师的建议。没有这些校对、资料与评测建议,本项目很难完成现在这种页级可溯源的证据整理。针灸危险进针深度专题所用的 2006 年《全日本鍼灸学会雑誌》论文及中文辅助资料同样由刘德毅医师提供,系倪师弟子叶昭呈医师(李宗恩阳气诊所 Co-founder)推荐的参考资料。
- 感谢 [Datawhale 社区](https://github.com/datawhalechina) 与 [LINUX DO — 中文开发者社区](https://linux.do/) 对开源学习、技术交流和知识共创氛围的长期推动。本项目的整理和分享也希望延续这种开放互助的社区精神,仅供学习交流使用。
- ## 共建邀请
- 欢迎中医师、中医学习者、中医爱好者,以及对知识蒸馏、Agent Skill、资料检索和 AI 辅助学习感兴趣的 AI 从业者共同维护本项目。
- 尤其是课程转写中的术语误差、方名/穴名/药名勘误、古籍出处核对、截图或 PDF 证据补充、内容不完整或表述不准确之处,以及检索体验、提示词、索引结构和使用流程优化,都欢迎通过 issue、PR 或社群反馈协助修正。
- 所有共建内容仍以课程学习、资料检索和出处校对为边界,不提供个人诊断、处方、剂量或自我用药建议。
- ## 交流社群
- 欢迎扫码加入微信交流群,交流倪海厦课程学习、中医理论整理、Agent Skills 使用、资料检索与学习笔记共建等相关内容。
- 本群仅用于非商业的学习交流与技术讨论,不提供个人诊断、处方、剂量或自我用药建议。
- <p align="center">
- <img src="./docs/wechat_group_qr_20261105.jpg" alt="nihaisha-tcm-nishi-skills 微信交流群二维码" width="260">
- </p>
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.