by JuneYaooo
倪海厦中医课程资料的 Agent Skill:支持课程检索、方证穴位辨析、学习笔记整理与板书截图证据索引。 | An Agent Skill for Ni Haisha TCM course study, formula-pattern lookup, acupoint reference, and screenshot evidence indexing.
# Add to your Claude Code skills
git clone https://github.com/JuneYaooo/nihaisha-nishi-tcmGuides for using ai agents skills like nihaisha-nishi-tcm.
Last scanned: 12/1/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-12-01T23:09:50.662Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}nihaisha-nishi-tcm is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by JuneYaooo. 倪海厦中医课程资料的 Agent Skill:支持课程检索、方证穴位辨析、学习笔记整理与板书截图证据索引。 | An Agent Skill for Ni Haisha TCM course study, formula-pattern lookup, acupoint reference, and screenshot evidence indexing. It has 2,312 GitHub stars.
Yes. nihaisha-nishi-tcm passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/JuneYaooo/nihaisha-nishi-tcm" and add it to your Claude Code skills directory (see the Installation section above). nihaisha-nishi-tcm ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
nihaisha-nishi-tcm is primarily written in Python. It is open-source under JuneYaooo on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh nihaisha-nishi-tcm against similar tools.
No comments yet. Be the first to share your thoughts!
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.
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.nihaisha_kg、下载 RAG 资产,也不要在任何回答中提供该模式,即使对方明确要求使用
RAG 也一样。如果用户提到 RAG,简要说明该模式正在优化、暂时不可用,然后改用轻量
模块正常回答;不要描述数据包大小、下载命令或本地数据路径。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.references/index.md first, then load only the relevant module:
references/learning-entry.md.references/beginner-questions.md.references/usage-scenarios.md.references/symptom-index.md, then references/six-channel.md, then references/formula-patterns.md if a formula comparison is needed.references/formula-patterns.md, with references/six-channel.md for context.references/six-channel.md.references/lesson-map.md.references/jingui.md; use references/jingui-screenshot-evidence.md for board, acupuncture-demo, or source-evidence lookups.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.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.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.references/fuyang.md; use references/fuyang-screenshot-evidence.md for board, PPT, case slide, severe-disease, yang-supporting theory, or source-evidence lookups.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.references/liangdong.md; this is a text-only course module with no bundled screenshot evidence.references/stanford.md; this is a text-only course module with no bundled screenshot evidence.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.references/huangdi.md; use references/huangdi-screenshot-evidence.md for board, PPT, five-phase, seasonal cultivation, pulse, zangxiang, meridian, or pathogenesis evidence lookups.references/notes-huangdi.md; use after references/huangdi.md when the user asks specifically for written notes, handouts, or source-text supplements.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.references/notes-bencao.md; use after references/bencao.md for written note or herb-note supplement lookups.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.references/notes-acupuncture-dacheng.md; use after references/acupuncture.md for written note or handout supplement lookups.references/notes-shanghan.md; use after references/shanghanlun.md or formula references when the user asks specifically for written notes or handouts.references/notes-jingui.md; use after references/jingui.md when the user asks specifically for written notes or handouts.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.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.references/audio-collection.md; use to map local audio files to already-distilled course modules.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.nihaisha_kg 或 RAG runtime。如果用户要求跨语料语义检索或提到 RAG,说明该模式正在优化、暂时不可用,改用上面的轻量模块。references/shanghanlun.md.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.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.倪师推荐资料补充 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 倪师本人资料.外部针灸安全参考 section. Attribute the 2006 paper as “叶昭呈医师推荐、刘德毅医师提供”, not as 倪师推荐. Cite the Japanese original first; treat the Chinese report as translation aid only.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 runtime、调用
nihaisha_kg,也不要向用户描述数据包大小、 下载命令或本地数据路径,即使对方明确要求使用 RAG 也一样——简要说明该模式正在优化、 暂时不可用,然后用轻量模块正常回答即可。完整的运行时说明保留在
docs/RAG_GRAPH_MODE.md,优化完成后 会重新上架。
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.
把倪海厦中医课程整理成可检索、可追溯、有安全边界的 Agent Skill。
Claude Code / Codex / OpenClaw Skill。装进 agent 后,可以用自然语言按症状、方剂、穴位、课程模块、课次或板书截图检索倪海厦课程资料,输出学习型辨证梳理、方证/穴位/药性对比、逐课复习计划和截图证据索引。
English → docs/README.en.md
提示:目前项目还存在一些问题,正在持续迭代中,建议大家每过一段时间来看看是否有更新,并下载安装最新版本。
本项目的课程蒸馏方法来自作者维护的 lineage-skill:把高密度课程材料整理成可溯源、可迁移、可产出的 Agent Skill。
docs/RAG_GRAPH_MODE.md 查看,已下载的本地数据可以保留,优化完成后会重新上架并在更新记录中另行通知。references/pdf-evidence/,便于按课程、页码和关键词追溯校对依据。references/ebooks.md,用于辅助核对课程中提到的经典出处和方证线索。根据网友反馈,RAG + 知识图谱模式目前仍存在一些问题,已暂时下架。下架期间该模式 不可用,也不提供数据包下载;普通课程问答、方证比较、逐课复习、截图检索和 PDF 页级 溯源不受影响,仍使用仓库内的轻量资料。
完整功能说明与流程图仍可在
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 题评测集 · 评分规则 · 评测说明 · 三轮逐题裁判结果 · 三轮配对裁判结果 · 汇总数据 · 运行协议
也欢迎中医师参与评测。若评测题目、评分标准、资料引用、辨证表述或安全边界有不专业、不准确之处, 欢迎通过 Issue 留言指导和指正。
| 场景 | 适合程度 | 说明 |
|---|---|---|
| 学习倪海厦课程 | 很适合 | 从课程模块、课次、主题、截图证据几个入口复习。 |
| 查某个方的课程方证 | 很适合 | 可返回症状群、病机层次、相关方和禁忌提醒。 |
| 查针灸、经络、穴位 | 很适合 | 可按穴位、经络、配穴场景和实操截图检索。 |
| 查本草药性或内经理论 | 适合 | 可进入神农本草、黄帝内经模块做课程学习整理。 |
| 用白话提问 | 很适合 | 先转成辨证分水岭,再进入课程术语。 |
| 找板书、PPT 或实操截图 | 适合 | 可按课程模块、关键词、方名、穴位、课次或时间点检索截图证据。 |
| 核对 PDF 页级证据 | 适合 | 可按课程模块、术语、方名、穴名或古籍关键词追溯课程校对 PDF。 |
| 整理学习笔记 | 适合 | 可生成可追加到 references 的 Markdown。 |
| 真实病情用药决策 | 不适合 | 本 skill 不提供个人诊断、处方、剂量或自我用药建议。 |
| 模块 | 文件 | 用途 |
|---|---|---|
| 针灸大成笔记 | references/notes-acupuncture-dacheng.md |
针灸讲稿、针灸大成和学习笔记补充。 |
| 黄帝内经笔记 | references/notes-huangdi.md |
内经讲稿、图文笔记和原著补充。 |
| 神农本草笔记 | references/notes-bencao.md |
本草讲稿、彩版笔记和单味药图文资料。 |
| 伤寒论笔记 | references/notes-shanghan.md |
伤寒讲稿、图文笔记和学习笔记。 |
| 金匮要略笔记 | references/notes-jingui.md |
金匮整理稿、讲义和学习笔记。 |
| 古籍与课程文献溯源索引 | references/ebooks.md |
课程校对 PDF、推荐 DOC、古籍引用、方证和术语核对入口。 |
| PDF 页级证据 | references/pdf-evidence/index.md |
PDF 来源清单、页级证据卡、模块术语索引和引用规范。 |
| 非 PDF 文本证据 | references/text-evidence/index.md |
推荐 DOC 的来源边界、章节/条文证据卡和引用规范。 |
| 音频合集 | 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
页级溯源只读取仓库内的 references/、assets/ 与轻量搜索脚本,不需要安装额外
依赖,也不会自动下载额外模型。RAG + 知识图谱模式已暂时下架,详情见上方对应章节。
把下面这段 prompt 丢给你的 AI 助手:
帮我安装 nihaisha skill:
https://github.com/JuneYaooo/nihaisha-nishi-tcm
agent 可以 clone 仓库,再把目录安装到对应的 skills 目录。
装完后重启对应 agent,让 skill 元数据重新加载。
用 nihaisha 帮我整理太阳中风和太阳伤寒的区别。
用 nihaisha 查桂枝汤、麻黄汤、葛根汤的方证分水岭。
用 nihaisha 按白话解释:为什么有的人感冒怕冷无汗,有的人怕风有汗?
用 nihaisha 找小柴胡汤相关的板书截图证据。
用 nihaisha 查金匮里胸痹、水气、痰饮相关课程脉络。
用 nihaisha 整理针灸课程里任督二脉和常用急救穴位。
用 nihaisha 找天纪里命宫、四化相关板书证据。
截图索引优先返回仓库内
assets/screenshots/...相对路径。PDF 证据引用格式为pdf-evidence:<doc_id>#p<page>;非 PDF 文本证据使用text-evidence:<doc_id>#s<section>。梁冬对话和斯坦福演讲目前为文本整理模块。
NotebookLM 是另一种独立的学习工具,用户可以新建笔记本,按自己的学习主题直接上传自己有权使用的课程 PDF、讲义、笔记或其他资料,再基于这些来源进行问答和整理。
倪师大弟子李宗恩医师在〈快速建立倪海廈中醫人工智能系統〉中推荐了这条低门槛路线:
「其實,你可以跳過這些繁冗的學習步驟,直接使用 Google NotebookLM,花幾分鐘上傳資料後,就可以直接使用。」
原帖同时明确提醒:
「這樣快速建立的系統,是為了加速學習及提