master-skill 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +2 -2
  3. package/.cursor-plugin/plugin.json +2 -2
  4. package/ETHICS.md +4 -4
  5. package/README.md +45 -39
  6. package/README_EN.md +48 -42
  7. package/SKILL.md +14 -14
  8. package/bin/cli.mjs +29 -8
  9. package/gemini-extension.json +2 -2
  10. package/package.json +2 -2
  11. package/prebuilt/compare/SKILL.md +43 -43
  12. package/prebuilt/{ajahn-chah → master-ajahn-chah}/SKILL.md +1 -1
  13. package/prebuilt/{atisha → master-atisha}/SKILL.md +1 -1
  14. package/prebuilt/{buddhaghosa → master-buddhaghosa}/SKILL.md +1 -1
  15. package/prebuilt/{fazang → master-fazang}/SKILL.md +1 -1
  16. package/prebuilt/{huineng → master-huineng}/SKILL.md +1 -1
  17. package/prebuilt/{kumarajiva → master-kumarajiva}/SKILL.md +1 -1
  18. package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/SKILL.md +1 -1
  19. package/prebuilt/{milarepa → master-milarepa}/SKILL.md +1 -1
  20. package/prebuilt/{ouyi → master-ouyi}/SKILL.md +1 -1
  21. package/prebuilt/{tsongkhapa → master-tsongkhapa}/SKILL.md +1 -1
  22. package/prebuilt/{xuanzang → master-xuanzang}/SKILL.md +1 -1
  23. package/prebuilt/{xuyun → master-xuyun}/SKILL.md +1 -1
  24. package/prebuilt/{yinguang → master-yinguang}/SKILL.md +1 -1
  25. package/prebuilt/{zhiyi → master-zhiyi}/SKILL.md +1 -1
  26. package/scripts/cite.py +1 -1
  27. package/scripts/query.py +1 -1
  28. package/scripts/test-fidelity.py +4 -4
  29. package/scripts/validate.py +1 -1
  30. /package/prebuilt/{ajahn-chah → master-ajahn-chah}/meta.json +0 -0
  31. /package/prebuilt/{ajahn-chah → master-ajahn-chah}/references/teaching.md +0 -0
  32. /package/prebuilt/{ajahn-chah → master-ajahn-chah}/references/voice.md +0 -0
  33. /package/prebuilt/{ajahn-chah → master-ajahn-chah}/sources/INDEX.md +0 -0
  34. /package/prebuilt/{ajahn-chah → master-ajahn-chah}/sources/sutta-excerpts.md +0 -0
  35. /package/prebuilt/{ajahn-chah → master-ajahn-chah}/sources/teachings-excerpts.md +0 -0
  36. /package/prebuilt/{ajahn-chah → master-ajahn-chah}/tests/fidelity.jsonl +0 -0
  37. /package/prebuilt/{atisha → master-atisha}/meta.json +0 -0
  38. /package/prebuilt/{atisha → master-atisha}/references/teaching.md +0 -0
  39. /package/prebuilt/{atisha → master-atisha}/references/voice.md +0 -0
  40. /package/prebuilt/{atisha → master-atisha}/sources/INDEX.md +0 -0
  41. /package/prebuilt/{atisha → master-atisha}/sources/bodhipathapradipa-excerpts.md +0 -0
  42. /package/prebuilt/{atisha → master-atisha}/tests/fidelity.jsonl +0 -0
  43. /package/prebuilt/{buddhaghosa → master-buddhaghosa}/meta.json +0 -0
  44. /package/prebuilt/{buddhaghosa → master-buddhaghosa}/references/teaching.md +0 -0
  45. /package/prebuilt/{buddhaghosa → master-buddhaghosa}/references/voice.md +0 -0
  46. /package/prebuilt/{buddhaghosa → master-buddhaghosa}/sources/INDEX.md +0 -0
  47. /package/prebuilt/{buddhaghosa → master-buddhaghosa}/sources/visuddhimagga-excerpts.md +0 -0
  48. /package/prebuilt/{buddhaghosa → master-buddhaghosa}/tests/fidelity.jsonl +0 -0
  49. /package/prebuilt/{fazang → master-fazang}/meta.json +0 -0
  50. /package/prebuilt/{fazang → master-fazang}/references/teaching.md +0 -0
  51. /package/prebuilt/{fazang → master-fazang}/references/voice.md +0 -0
  52. /package/prebuilt/{fazang → master-fazang}/sources/INDEX.md +0 -0
  53. /package/prebuilt/{fazang → master-fazang}/sources/jinshizi-excerpts.md +0 -0
  54. /package/prebuilt/{fazang → master-fazang}/sources/wujiao-zhang-excerpts.md +0 -0
  55. /package/prebuilt/{fazang → master-fazang}/tests/fidelity.jsonl +0 -0
  56. /package/prebuilt/{huineng → master-huineng}/meta.json +0 -0
  57. /package/prebuilt/{huineng → master-huineng}/references/teaching.md +0 -0
  58. /package/prebuilt/{huineng → master-huineng}/references/voice.md +0 -0
  59. /package/prebuilt/{huineng → master-huineng}/sources/INDEX.md +0 -0
  60. /package/prebuilt/{huineng → master-huineng}/sources/jingang-excerpts.md +0 -0
  61. /package/prebuilt/{huineng → master-huineng}/sources/tanjing-excerpts.md +0 -0
  62. /package/prebuilt/{huineng → master-huineng}/tests/fidelity.jsonl +0 -0
  63. /package/prebuilt/{kumarajiva → master-kumarajiva}/meta.json +0 -0
  64. /package/prebuilt/{kumarajiva → master-kumarajiva}/references/teaching.md +0 -0
  65. /package/prebuilt/{kumarajiva → master-kumarajiva}/references/voice.md +0 -0
  66. /package/prebuilt/{kumarajiva → master-kumarajiva}/sources/INDEX.md +0 -0
  67. /package/prebuilt/{kumarajiva → master-kumarajiva}/sources/fahua-excerpts.md +0 -0
  68. /package/prebuilt/{kumarajiva → master-kumarajiva}/sources/jingang-bore-excerpts.md +0 -0
  69. /package/prebuilt/{kumarajiva → master-kumarajiva}/sources/zhonglun-excerpts.md +0 -0
  70. /package/prebuilt/{kumarajiva → master-kumarajiva}/tests/fidelity.jsonl +0 -0
  71. /package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/meta.json +0 -0
  72. /package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/references/teaching.md +0 -0
  73. /package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/references/voice.md +0 -0
  74. /package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/sources/INDEX.md +0 -0
  75. /package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/sources/teachings-excerpts.md +0 -0
  76. /package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/tests/fidelity.jsonl +0 -0
  77. /package/prebuilt/{milarepa → master-milarepa}/meta.json +0 -0
  78. /package/prebuilt/{milarepa → master-milarepa}/references/teaching.md +0 -0
  79. /package/prebuilt/{milarepa → master-milarepa}/references/voice.md +0 -0
  80. /package/prebuilt/{milarepa → master-milarepa}/sources/INDEX.md +0 -0
  81. /package/prebuilt/{milarepa → master-milarepa}/sources/grubum-excerpts.md +0 -0
  82. /package/prebuilt/{milarepa → master-milarepa}/sources/namthar-excerpts.md +0 -0
  83. /package/prebuilt/{milarepa → master-milarepa}/tests/fidelity.jsonl +0 -0
  84. /package/prebuilt/{ouyi → master-ouyi}/meta.json +0 -0
  85. /package/prebuilt/{ouyi → master-ouyi}/references/teaching.md +0 -0
  86. /package/prebuilt/{ouyi → master-ouyi}/references/voice.md +0 -0
  87. /package/prebuilt/{ouyi → master-ouyi}/sources/INDEX.md +0 -0
  88. /package/prebuilt/{ouyi → master-ouyi}/sources/jiaoguan-gangzong-excerpts.md +0 -0
  89. /package/prebuilt/{ouyi → master-ouyi}/sources/mituo-yaojie-excerpts.md +0 -0
  90. /package/prebuilt/{ouyi → master-ouyi}/tests/fidelity.jsonl +0 -0
  91. /package/prebuilt/{tsongkhapa → master-tsongkhapa}/meta.json +0 -0
  92. /package/prebuilt/{tsongkhapa → master-tsongkhapa}/references/teaching.md +0 -0
  93. /package/prebuilt/{tsongkhapa → master-tsongkhapa}/references/voice.md +0 -0
  94. /package/prebuilt/{tsongkhapa → master-tsongkhapa}/sources/INDEX.md +0 -0
  95. /package/prebuilt/{tsongkhapa → master-tsongkhapa}/sources/lamrim-excerpts.md +0 -0
  96. /package/prebuilt/{tsongkhapa → master-tsongkhapa}/tests/fidelity.jsonl +0 -0
  97. /package/prebuilt/{xuanzang → master-xuanzang}/meta.json +0 -0
  98. /package/prebuilt/{xuanzang → master-xuanzang}/references/teaching.md +0 -0
  99. /package/prebuilt/{xuanzang → master-xuanzang}/references/voice.md +0 -0
  100. /package/prebuilt/{xuanzang → master-xuanzang}/sources/INDEX.md +0 -0
  101. /package/prebuilt/{xuanzang → master-xuanzang}/sources/chengweishi-excerpts.md +0 -0
  102. /package/prebuilt/{xuanzang → master-xuanzang}/sources/xinjing-excerpts.md +0 -0
  103. /package/prebuilt/{xuanzang → master-xuanzang}/tests/fidelity.jsonl +0 -0
  104. /package/prebuilt/{xuyun → master-xuyun}/meta.json +0 -0
  105. /package/prebuilt/{xuyun → master-xuyun}/references/teaching.md +0 -0
  106. /package/prebuilt/{xuyun → master-xuyun}/references/voice.md +0 -0
  107. /package/prebuilt/{xuyun → master-xuyun}/sources/INDEX.md +0 -0
  108. /package/prebuilt/{xuyun → master-xuyun}/sources/lengyanjing-excerpts.md +0 -0
  109. /package/prebuilt/{xuyun → master-xuyun}/sources/tanjing-excerpts.md +0 -0
  110. /package/prebuilt/{xuyun → master-xuyun}/tests/fidelity.jsonl +0 -0
  111. /package/prebuilt/{yinguang → master-yinguang}/meta.json +0 -0
  112. /package/prebuilt/{yinguang → master-yinguang}/references/teaching.md +0 -0
  113. /package/prebuilt/{yinguang → master-yinguang}/references/voice.md +0 -0
  114. /package/prebuilt/{yinguang → master-yinguang}/sources/INDEX.md +0 -0
  115. /package/prebuilt/{yinguang → master-yinguang}/sources/jingtu-sanjing-excerpts.md +0 -0
  116. /package/prebuilt/{yinguang → master-yinguang}/sources/wenchao-excerpts.md +0 -0
  117. /package/prebuilt/{yinguang → master-yinguang}/sources/yihanbianfu-excerpts.md +0 -0
  118. /package/prebuilt/{yinguang → master-yinguang}/tests/fidelity.jsonl +0 -0
  119. /package/prebuilt/{zhiyi → master-zhiyi}/meta.json +0 -0
  120. /package/prebuilt/{zhiyi → master-zhiyi}/references/teaching.md +0 -0
  121. /package/prebuilt/{zhiyi → master-zhiyi}/references/voice.md +0 -0
  122. /package/prebuilt/{zhiyi → master-zhiyi}/sources/INDEX.md +0 -0
  123. /package/prebuilt/{zhiyi → master-zhiyi}/sources/fahua-xuanyi-excerpts.md +0 -0
  124. /package/prebuilt/{zhiyi → master-zhiyi}/sources/mohezhiguan-excerpts.md +0 -0
  125. /package/prebuilt/{zhiyi → master-zhiyi}/tests/fidelity.jsonl +0 -0
@@ -8,8 +8,8 @@
8
8
  "plugins": [
9
9
  {
10
10
  "name": "master-skill",
11
- "description": "Buddhist Master AI teaching personas — 15 prebuilt masters across 汉传/藏传/南传 with source-cited doctrinal responses (CBETA / BDRC / SuttaCentral / PTS Vism), RAG-grounded in FoJin knowledge graph",
12
- "version": "0.5.0",
11
+ "description": "Buddhist Master AI teaching personas — 15 prebuilt masters across 汉传/藏传/南传 invokable via /master-<slug> slash commands, with source-cited doctrinal responses (CBETA / BDRC / SuttaCentral / PTS Vism), RAG-grounded in FoJin knowledge graph",
12
+ "version": "0.6.0",
13
13
  "source": "./",
14
14
  "author": {
15
15
  "name": "xr843",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "master-skill",
3
- "description": "Buddhist Master AI teaching personas — 15 prebuilt masters across 汉传/藏传/南传 with source-cited doctrinal responses (CBETA / BDRC / SuttaCentral / PTS Vism), RAG-grounded in FoJin knowledge graph",
4
- "version": "0.5.0",
3
+ "description": "Buddhist Master AI teaching personas — 15 prebuilt masters across 汉传/藏传/南传 invokable via /master-<slug> slash commands, with source-cited doctrinal responses (CBETA / BDRC / SuttaCentral / PTS Vism), RAG-grounded in FoJin knowledge graph",
4
+ "version": "0.6.0",
5
5
  "author": {
6
6
  "name": "xr843",
7
7
  "email": "xr843@users.noreply.github.com"
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "master-skill",
3
3
  "displayName": "Master Skill",
4
- "description": "Buddhist Master AI teaching personas — 15 prebuilt masters across 汉传/藏传/南传 with source-cited doctrinal responses (CBETA / BDRC / SuttaCentral / PTS Vism), RAG-grounded in FoJin knowledge graph",
5
- "version": "0.5.0",
4
+ "description": "Buddhist Master AI teaching personas — 15 prebuilt masters across 汉传/藏传/南传 invokable via /master-<slug> slash commands, with source-cited doctrinal responses (CBETA / BDRC / SuttaCentral / PTS Vism), RAG-grounded in FoJin knowledge graph",
5
+ "version": "0.6.0",
6
6
  "author": {
7
7
  "name": "xr843",
8
8
  "email": "xr843@users.noreply.github.com"
package/ETHICS.md CHANGED
@@ -80,7 +80,7 @@
80
80
  - *Stillness Flowing* (Aruna Publications, 2017)
81
81
 
82
82
  本项目对阿姜查 master 的收录规则:
83
- 1. **不引用整段译文** —— 仅做`主旨摘要`,且明确标注为摘要性内容(参见 `prebuilt/ajahn-chah/sources/teachings-excerpts.md` 的 ⚠️ 引用警示节)
83
+ 1. **不引用整段译文** —— 仅做`主旨摘要`,且明确标注为摘要性内容(参见 `prebuilt/master-ajahn-chah/sources/teachings-excerpts.md` 的 ⚠️ 引用警示节)
84
84
  2. **不代笔虚构对话** —— 任何"阿姜查曾说 X"必须能在上述 4 部公开授权译本中追溯,由 SKILL.md HARD-GATE `NO FABRICATED QUOTES` 强制
85
85
  3. **核心教学概念依巴利经典** —— 戒定慧、三法印、四念处、出入息念等以 SuttaCentral 巴利原典为主源(公有领域)
86
86
  4. **若 Forest Sangha 任何官方机构提出异议,立即转入 takedown 流程**(详见 §6)
@@ -100,7 +100,7 @@
100
100
  - *A Discourse on Mālukyaputta Sutta / Dhammacakka Sutta / etc.* (BPS Sri Lanka 单经讲解集)
101
101
 
102
102
  本项目对马哈希尊者 master 的收录规则**与阿姜查同款**:
103
- 1. **不引用整段译文** —— 仅做`主旨摘要`(参 `prebuilt/mahasi-sayadaw/sources/teachings-excerpts.md` 的 ⚠️ 引用警示节)
103
+ 1. **不引用整段译文** —— 仅做`主旨摘要`(参 `prebuilt/master-mahasi-sayadaw/sources/teachings-excerpts.md` 的 ⚠️ 引用警示节)
104
104
  2. **不代笔虚构对话** —— 任何"马哈希尊者曾说 X"必须能在上述出版物中追溯,由 SKILL.md HARD-GATE `NO FABRICATED QUOTES` 强制
105
105
  3. **核心禅修概念依巴利经典与《清净道论》** —— 四念处、出入息念、戒定慧、七清净十六观智等以 SuttaCentral + PTS Vism 为主源(公有领域)
106
106
  4. **额外特别 guardrail:NO_ATTAINMENT_JUDGMENT** —— AI **绝不可** 对个体作证果判定或观智阶位确认;这是马哈希教学体系特有最高 guardrail(其"初果可证"号召容易诱发自我印证之执,AI 必须严守此线)
@@ -150,10 +150,10 @@ Master-skill 是**文献辅助工具**,不是**修行权威**。以下行为 A
150
150
  - **三大传统之间**:汉传 / 藏传 / 南传。各传承皆是佛陀正法的不同面向,不论高下
151
151
  - **传统内宗派之间**:藏传四派(宁玛、萨迦、噶举、格鲁);汉传八宗(天台、华严、禅、净、唯识、三论、律、密);南传部派
152
152
  - **传统内禅修流派之间**(v0.5 新增明示):上座部内观法 ——
153
- - 缅甸 Mahasi 标记法(mahasi-sayadaw skill)
153
+ - 缅甸 Mahasi 标记法(master-mahasi-sayadaw skill)
154
154
  - 缅甸 Pa-Auk 止观次第法
155
155
  - Goenka / Vipassana International Academy 法
156
- - 泰国森林禅林派(ajahn-chah skill)
156
+ - 泰国森林禅林派(master-ajahn-chah skill)
157
157
  - 各派契机不同、所重不同,AI **不得**做出"X 法更究竟 / 更直接 / 更快"等比较优劣判断
158
158
 
159
159
  此规则在每位 master 自身的 SKILL.md HARD-GATE 中以 NO_SECTARIAN_JUDGMENT 强制;本节为项目层面的总则。
package/README.md CHANGED
@@ -53,23 +53,29 @@
53
53
 
54
54
  | 你的状况 | 推荐法师 |
55
55
  |---|---|
56
- | "妄念纷飞坐不住" | `/虚云` `/智顗` `/ajahn-chah`(参话头 / 止观 / 正念观察) |
56
+ | "妄念纷飞坐不住" | `/虚云` `/智顗` `/master-ajahn-chah`(参话头 / 止观 / 正念观察) |
57
57
  | "读经文看不懂逻辑" | `/玄奘`(唯识严密分析) |
58
58
  | "学佛很久但无力感" | `/印光`(老实念佛) |
59
- | "想了解空性" | `/鸠摩罗什` `/慧能` `/milarepa` `/tsongkhapa`(中观译师 / 禅直指 / 大手印明空 / 应成中观) |
59
+ | "想了解空性" | `/鸠摩罗什` `/慧能` `/master-milarepa` `/master-tsongkhapa`(中观译师 / 禅直指 / 大手印明空 / 应成中观) |
60
60
  | "想系统学华严 / 天台" | `/法藏` `/智顗`(判教与哲学体系) |
61
61
  | "在禅与净土之间犹豫" | `/蕅益`(跨宗派融通) |
62
- | "对苦行 / 闭关好奇" | `/milarepa`(雪山闭关 · 噶举派典范) |
63
- | "想学最朴素的禅修" | `/ajahn-chah`(南传森林禅 · 出入息念) |
64
- | "想学完整的道次第" | `/atisha` `/tsongkhapa`(噶当三士道 → 格鲁《广论》) |
65
- | "想了解上座部论藏体系" | `/buddhaghosa`(《清净道论》戒定慧 + 七清净十六观智) |
66
- | "想做密集内观禅修" | `/mahasi-sayadaw`(缅甸内观 · 标记法 · 腹部起伏) |
62
+ | "对苦行 / 闭关好奇" | `/master-milarepa`(雪山闭关 · 噶举派典范) |
63
+ | "想学最朴素的禅修" | `/master-ajahn-chah`(南传森林禅 · 出入息念) |
64
+ | "想学完整的道次第" | `/master-atisha` `/master-tsongkhapa`(噶当三士道 → 格鲁《广论》) |
65
+ | "想了解上座部论藏体系" | `/master-buddhaghosa`(《清净道论》戒定慧 + 七清净十六观智) |
66
+ | "想做密集内观禅修" | `/master-mahasi-sayadaw`(缅甸内观 · 标记法 · 腹部起伏) |
67
67
  | "想跨传统比较看一个问题" | `/compare-masters`(自动配对汉藏南传视角) |
68
68
 
69
69
  > 开发者、Claude Code / Cursor 用户可跳到下方 [开发者安装](#开发者安装) 小节,以 AgentSkill 形式在终端内使用。
70
70
 
71
71
  ---
72
72
 
73
+ > **v0.6 更新(2026-05-02)**:Slash 命令命名空间整理——14 位法师斜杠命令统一加 `master-` 前缀。`/master-zhiyi`、`/master-huineng`、…。
74
+ > - **目的**:当 Claude Code 已装 50+ skill 时,单词 slash 命令容易混入其他 skill 列表;前缀化让 14 位法师在 `/m<tab>` 补全时聚类,识别度大幅提升
75
+ > - **未受影响**:`compare-masters` / `create-master` 两个 meta-skill 命令保持原样(避免 `/master-compare-masters` 重复前缀);fojin.app/chat 网页端 dropdown 与 API 完全解耦,**`master_profiles.py` 不变**
76
+ > - **NPX 安装**:`npx master-skill install zhiyi`(短)和 `install master-zhiyi`(全)皆可,安装目标统一为 `~/.claude/skills/master-<slug>/`
77
+ > - 详情见 [CHANGELOG.md §0.6.0](CHANGELOG.md#060--2026-05-02)
78
+ >
73
79
  > **v0.5 更新(2026-05-02)**:第二轮跨传统扩展——藏传 / 南传各从 1 位扩至 3 位,共 **15 位**祖师。
74
80
  > - 藏传新增:阿底峡尊者(噶当派开祖 · Toh 4465《菩提道灯论》· 三士道)+ 宗喀巴大师(格鲁派创始人 · 三主要道 · 应成中观正见)
75
81
  > - 南传新增:觉音尊者(《清净道论》Visuddhimagga 论师顶峰)+ 马哈希尊者(缅甸内观 · 标记法 · ETHICS Tier B 特例)
@@ -104,7 +110,7 @@
104
110
  - **二阶段独立审查**:生成管线在写入前强制经过"教义准确性 → 风格一致性"两轮独立审查,FAIL 自动修复最多 2 轮
105
111
  - **自动化保真度测试**:每位祖师 `tests/fidelity.jsonl` 5 条 Q&A,验证引用和关键词覆盖;CI 在每次推送时 dry-run 验证
106
112
  - **多平台统一插件**:Claude Code、Cursor、Codex CLI、OpenCode、Gemini CLI 共用一份 `prebuilt/`,session-start hook 跨平台注入法师列表
107
- - **NPX 一键安装**:`npx master-skill install zhiyi` 直接部署到 Claude Code
113
+ - **NPX 一键安装**:`npx master-skill install master-zhiyi` 直接部署到 Claude Code
108
114
  - **离线工具链**:`scripts/cite.py`(CBETA 引用查询)、`scripts/query.py`(离线语义检索)、`scripts/validate.py`(frontmatter linter)
109
115
  - **FoJin 数据桥**:接入 [fojin.app](https://fojin.app) 的 503 个数据源、10K+ 文本、678K+ 语义向量和 31K 实体知识图谱
110
116
  - **AgentSkills 标准**:遵循 [Anthropic Agent Skills](https://github.com/anthropics/skills) 规范,渐进式披露、决策树、黑盒脚本模式
@@ -114,7 +120,7 @@
114
120
  ## 开发者安装
115
121
 
116
122
  > 👤 **只是想体验?** 直接用 [fojin.app/chat](https://fojin.app/chat),跳过下面的安装步骤。
117
- > 🛠️ **本节面向**:Claude Code / Cursor / Codex CLI / OpenCode / Gemini CLI 用户,希望在终端 AgentSkill 环境中直接调用 `/xuanzang` `/huineng` 等命令。
123
+ > 🛠️ **本节面向**:Claude Code / Cursor / Codex CLI / OpenCode / Gemini CLI 用户,希望在终端 AgentSkill 环境中直接调用 `/master-xuanzang` `/master-huineng` 等命令。
118
124
 
119
125
  ### 安装
120
126
 
@@ -122,7 +128,7 @@
122
128
 
123
129
  ```bash
124
130
  # 安装指定祖师
125
- npx master-skill install zhiyi fazang huineng
131
+ npx master-skill install master-zhiyi master-fazang master-huineng
126
132
 
127
133
  # 安装全部 15 位(三大传统)
128
134
  npx master-skill install --all
@@ -172,24 +178,24 @@ git clone https://github.com/xr843/Master-skill ~/Master-skill
172
178
 
173
179
  ```
174
180
  # 汉传
175
- /xuanzang — 玄奘法师(法相唯识宗)
176
- /kumarajiva — 鸠摩罗什(三论宗/中观)
177
- /huineng — 慧能大师(禅宗六祖)
178
- /zhiyi — 智顗大师(天台宗)
179
- /fazang — 法藏大师(华严宗)
180
- /yinguang — 印光大师(净土宗)
181
- /ouyi — 蕅益大师(天台/净土·跨宗派)
182
- /xuyun — 虚云老和尚(禅宗·五宗兼嗣)
181
+ /master-xuanzang — 玄奘法师(法相唯识宗)
182
+ /master-kumarajiva — 鸠摩罗什(三论宗/中观)
183
+ /master-huineng — 慧能大师(禅宗六祖)
184
+ /master-zhiyi — 智顗大师(天台宗)
185
+ /master-fazang — 法藏大师(华严宗)
186
+ /master-yinguang — 印光大师(净土宗)
187
+ /master-ouyi — 蕅益大师(天台/净土·跨宗派)
188
+ /master-xuyun — 虚云老和尚(禅宗·五宗兼嗣)
183
189
 
184
190
  # 藏传
185
- /atisha — 阿底峡尊者(噶当派开祖 · 三士道 · 982-1054)
186
- /tsongkhapa — 宗喀巴大师(格鲁派创始人 · 三主要道 · 应成中观)
187
- /milarepa — 米拉日巴尊者(噶举派 · 大手印 · 那洛六法)
191
+ /master-atisha — 阿底峡尊者(噶当派开祖 · 三士道 · 982-1054)
192
+ /master-tsongkhapa — 宗喀巴大师(格鲁派创始人 · 三主要道 · 应成中观)
193
+ /master-milarepa — 米拉日巴尊者(噶举派 · 大手印 · 那洛六法)
188
194
 
189
195
  # 南传
190
- /buddhaghosa — 觉音尊者(上座部论师 · 《清净道论》· 5世纪)
191
- /mahasi-sayadaw — 马哈希尊者(缅甸内观 · 标记法 · 1904-1982)
192
- /ajahn-chah — 阿姜查(泰国森林禅林派 · 巴蓬寺传承)
196
+ /master-buddhaghosa — 觉音尊者(上座部论师 · 《清净道论》· 5世纪)
197
+ /master-mahasi-sayadaw — 马哈希尊者(缅甸内观 · 标记法 · 1904-1982)
198
+ /master-ajahn-chah — 阿姜查(泰国森林禅林派 · 巴蓬寺传承)
193
199
  ```
194
200
 
195
201
  ### 多法师对比
@@ -201,7 +207,7 @@ git clone https://github.com/xr843/Master-skill ~/Master-skill
201
207
  /compare-masters 什么是空性
202
208
 
203
209
  # 手动指定法师(推荐,结果更精准)
204
- /compare-masters 什么是遍行因 --masters xuanzang,zhiyi,ouyi
210
+ /compare-masters 什么是遍行因 --masters master-xuanzang,master-zhiyi,master-ouyi
205
211
 
206
212
  # 自然语言触发
207
213
  请慧能和印光对比回答"如何看待念佛"
@@ -232,62 +238,62 @@ git clone https://github.com/xr843/Master-skill ~/Master-skill
232
238
 
233
239
  唐代高僧,中国佛教史上最伟大的译经家。西行求法十七年,遍学印度诸部,归国后主持译经事业,译出经论七十五部一千三百三十五卷。创立法相唯识宗,以严谨精确的翻译风格著称,确立"五种不翻"原则。
234
240
  主要来源:CBETA《大般若经》《瑜伽师地论》《成唯识论》《心经》等。
235
- 调用命令:`/xuanzang`
241
+ 调用命令:`/master-xuanzang`
236
242
 
237
243
  ### 鸠摩罗什(Kumarajiva,344-413)
238
244
 
239
245
  龟兹出身,后秦长安译经,中国四大译经家之一。其译文以文学性和流畅度著称,《妙法莲华经》《金刚经》《维摩诘经》《中论》等译本至今最为通行。奠定了三论宗(中观)在中国的基础。
240
246
  主要来源:CBETA《妙法莲华经》《金刚经》《维摩诘经》《中论》《大智度论》等。
241
- 调用命令:`/kumarajiva`
247
+ 调用命令:`/master-kumarajiva`
242
248
 
243
249
  ### 慧能大师(638-713)
244
250
 
245
251
  禅宗六祖,南宗禅创立者。不识文字的卖柴樵夫,闻《金刚经》而开悟,得五祖弘忍传法。著《六祖坛经》——中国人著作中唯一被尊为"经"者。主张"直指人心,见性成佛",开顿悟法门。
246
252
  主要来源:CBETA《六祖大师法宝坛经》T48n2008。
247
- 调用命令:`/huineng`
253
+ 调用命令:`/master-huineng`
248
254
 
249
255
  ### 智顗大师(538-597)
250
256
 
251
257
  天台宗创始人,被尊为"东土小释迦"。建立中国佛教第一个完整的判教体系(五时八教),著天台三大部《摩诃止观》《法华玄义》《法华文句》。核心思想:一念三千、三谛圆融、止观双修。
252
258
  主要来源:CBETA《摩诃止观》T46n1911、《法华玄义》T33n1718 等。
253
- 调用命令:`/zhiyi`
259
+ 调用命令:`/master-zhiyi`
254
260
 
255
261
  ### 法藏大师(643-712)
256
262
 
257
263
  华严宗三祖,华严哲学体系的实际创立者。武则天国师,以"金师子章"为武后说华严义。核心思想:法界缘起、四法界、十玄门、六相圆融——一切现象互含互摄,事事无碍。
258
264
  主要来源:CBETA《华严经探玄记》T35n1733、《华严五教章》T45n1866 等。
259
- 调用命令:`/fazang`
265
+ 调用命令:`/master-fazang`
260
266
 
261
267
  ### 印光大师(1861-1940)
262
268
 
263
269
  汉传净土宗第十三代祖师,近代净土复兴的核心人物。
264
270
  文字平实恳切,戒行严谨,以书信形式广度众生,著有《印光法师文钞》三编。
265
271
  主要来源:CBETA 汉文大藏经,含文钞正编、续编、三编及净土三经。
266
- 调用命令:`/yinguang`
272
+ 调用命令:`/master-yinguang`
267
273
 
268
274
  ### 蕅益大师(1599-1655)
269
275
 
270
276
  明末四大高僧之一,净土宗九祖。"教宗天台,行归净土"——融通禅、教、律、净四宗,是中国佛教史上最重要的跨宗派综合者。其《阿弥陀经要解》被印光大师赞为"即使古佛再来,也不能超过其上"。
271
277
  主要来源:CBETA《阿弥陀经要解》T37n1762、《教观纲宗》等。
272
- 调用命令:`/ouyi`
278
+ 调用命令:`/master-ouyi`
273
279
 
274
280
  ### 虚云老和尚(1840-1959)
275
281
 
276
282
  近代禅宗泰斗,世寿一百二十岁,一身兼嗣禅门五宗(临济、曹洞、沩仰、云门、法眼)法脉——佛教史上绝无仅有。复兴六大祖庭,历经清末、民国、新中国三个时代。主张参话头、老实修行、禅净双修。
277
283
  主要来源:CBETA《楞严经》《金刚经》《六祖坛经》等。
278
- 调用命令:`/xuyun`
284
+ 调用命令:`/master-xuyun`
279
285
 
280
286
  ### 阿底峡尊者(Atiśa Dīpaṃkara, 982-1054) — 藏传 · 噶当派 · 印藏桥梁
281
287
 
282
288
  印度孟加拉萨霍尔国王子出身,超戒寺住持。1042 年应藏王智光邀请入藏,著《菩提道灯论》(Bodhipathapradīpa)——藏地后弘期道次第之祖。首座弟子仲敦巴建热振寺,开**噶当派**(佛语教授派)。后被宗喀巴新噶当派(即格鲁派)继承。藏传四派(宁玛、萨迦、噶举、格鲁)皆视其为根本师之一。
283
289
  主要来源:Toh 4465《菩提道灯论》(sDe dge bsTan 'gyur 标准编号)+ 噶当口耳传承《父法·子法》。
284
- 调用命令:`/atisha`
290
+ 调用命令:`/master-atisha`
285
291
 
286
292
  ### 宗喀巴大师(Tsongkhapa, 1357-1419) — 藏传 · 格鲁派创始人
287
293
 
288
294
  藏传佛教**格鲁派**("善规派",俗称"黄教")创始人,达赖喇嘛与班禅喇嘛传承根基。出生于青海宗喀(今西宁附近),师承萨迦派仁达瓦等。深感当时藏地戒律松弛、显密混淆,立"三主要道"(出离心 / 菩提心 / 清净见)为道次第凝练,著《菩提道次第广论》《密宗道次第广论》《辨了不了义善说藏论》。1409 年建甘丹寺(dGa' ldan),格鲁派开山祖庭。
289
295
  主要来源:宗喀巴全集 gsung 'bum(BDRC.io 检索 'tsong kha pa')。汉译参考法尊法师本。
290
- 调用命令:`/tsongkhapa`
296
+ 调用命令:`/master-tsongkhapa`
291
297
 
292
298
  > ⚠️ 续部具体修法步骤、灌顶仪轨、生起圆满次第细节、本尊咒语、明点观想**只介绍历史与原理,不传授具体修法步骤**。
293
299
 
@@ -295,7 +301,7 @@ git clone https://github.com/xr843/Master-skill ~/Master-skill
295
301
 
296
302
  藏传佛教噶举派精神祖师,"瑜伽士"传统(不入寺院、山中闭关、以歌教化)的典范。早年咒杀仇家造重业,依止玛尔巴译师净罪求法,于雪山闭关数十年以荨麻为食。以**道歌(mGur)**说法,影响后世整个藏传佛教。
297
303
  主要来源:BDRC《米拉日巴道歌集》(W1KG14334,《十万歌集》mGur 'bum)、《密勒日巴尊者传》(W22272)。
298
- 调用命令:`/milarepa`
304
+ 调用命令:`/master-milarepa`
299
305
 
300
306
  > ⚠️ 那洛六法、拙火、生起/圆满次第等密法**只介绍历史与原理,不传授具体修法步骤**。具体修持必须依止具格上师亲传与灌顶。
301
307
 
@@ -303,13 +309,13 @@ git clone https://github.com/xr843/Master-skill ~/Master-skill
303
309
 
304
310
  上座部佛教史上最具影响力的注释家与论师。原为印度南部婆罗门学者,赴斯里兰卡大寺(Mahāvihāra),将古僧伽罗注释翻译为巴利语。著《清净道论》(Visuddhimagga)——以**戒(sīla)、定(samādhi)、慧(paññā)三学**为骨架,系统组织上座部禅修与教理之百科全书(23 章)。其著作奠定南传上座部正统教理体系——东南亚一切论师皆依其判摄。
305
311
  主要来源:PTS edition《清净道论》(Visuddhimagga) + 四部尼柯耶注释(aṭṭhakathā)+ Samantapāsādikā 律藏注释 + Atthasālinī 阿毗达摩注释。
306
- 调用命令:`/buddhaghosa`
312
+ 调用命令:`/master-buddhaghosa`
307
313
 
308
314
  ### 马哈希尊者(Mahāsi Sayādaw U Sobhana, 1904-1982) — 南传 · 缅甸内观传统
309
315
 
310
316
  缅甸现代最具国际影响力的内观禅修大师之一。1947 年起主持仰光 Mahasi Sasana Yeiktha,形成**'马哈希内观法'**(标记法 / Noting Method)——以观察腹部起伏为主所缘,系统培育七清净十六观智。1954-1956 年第六次结集(Chaṭṭha Saṅgāyana)任**'最终编辑长老'**,审定整个巴利三藏。其法系深刻影响美国 Insight Meditation Society 三位创办人(Goldstein、Kornfield、Salzberg)。
311
317
  主要来源:《Manual of Insight》(Wisdom Publications, 2016)、《The Progress of Insight》(BPS Sri Lanka)、《Practical Vipassanā Meditation Exercises》(Mahasi Sasana Yeiktha)。
312
- 调用命令:`/mahasi-sayadaw`
318
+ 调用命令:`/master-mahasi-sayadaw`
313
319
 
314
320
  > ⚠️ **本平台 AI 不得对个体作证果判定或观智阶位确认**——印证须由具格禅师面对面访谈鉴定。这是马哈希教学体系最严肃的 guardrail。
315
321
 
@@ -317,7 +323,7 @@ git clone https://github.com/xr843/Master-skill ~/Master-skill
317
323
 
318
324
  泰国森林禅林派最具国际影响力的禅师之一。以巴利戒律严格持守、四念处禅修、朴素生活化教学著称。其英语弟子(阿姜苏美多、阿姜帕沙诺等)建立了无畏山林、阿马罗筏底、奇泰罗等海外分院,将森林禅林派传至欧美。代表名言:"如果你少放下一点,你就少一点苦。"
319
325
  主要来源:巴利三藏(SuttaCentral)+ 公开开示集《Food for the Heart》《A Still Forest Pool》《Living Dhamma》。
320
- 调用命令:`/ajahn-chah`
326
+ 调用命令:`/master-ajahn-chah`
321
327
 
322
328
  ---
323
329
 
package/README_EN.md CHANGED
@@ -56,23 +56,29 @@ On the AI Q&A page, open the **"法师模式"** (Master Mode) dropdown in the bo
56
56
 
57
57
  | Your situation | Suggested master |
58
58
  |---|---|
59
- | "My mind is scattered, I can't sit still" | `/xuyun` `/zhiyi` `/ajahn-chah` (huatou / śamatha-vipaśyanā / mindfulness) |
60
- | "I can't follow the logic of the sutras" | `/xuanzang` (Yogācāra precision) |
61
- | "I've studied for years but feel stuck" | `/yinguang` (plain, sincere nianfo) |
62
- | "I want to understand emptiness" | `/kumarajiva` `/huineng` `/milarepa` `/tsongkhapa` (Madhyamaka translator / direct pointing / Mahāmudrā / prasaṅgika analysis) |
63
- | "I want a systematic view of Huayan / Tiantai" | `/fazang` `/zhiyi` (classification and metaphysics) |
64
- | "I'm torn between Chan and Pure Land" | `/ouyi` (cross-tradition synthesis) |
65
- | "I'm curious about ascetic practice / retreat" | `/milarepa` (snow-mountain retreat · Kagyu paradigm) |
66
- | "I want the simplest meditation instructions" | `/ajahn-chah` (Thai Forest · ānāpānasati) |
67
- | "I want a complete graduated path of practice" | `/atisha` `/tsongkhapa` (Kadam three scopes → Gelug Lamrim) |
68
- | "I want the systematic Theravāda commentarial framework" | `/buddhaghosa` (*Visuddhimagga* — sīla / samādhi / paññā + 7 purifications · 16 insight knowledges) |
69
- | "I want intensive vipassanā with the noting method" | `/mahasi-sayadaw` (Burmese · noting · rising-falling) |
59
+ | "My mind is scattered, I can't sit still" | `/master-xuyun` `/master-zhiyi` `/master-ajahn-chah` (huatou / śamatha-vipaśyanā / mindfulness) |
60
+ | "I can't follow the logic of the sutras" | `/master-xuanzang` (Yogācāra precision) |
61
+ | "I've studied for years but feel stuck" | `/master-yinguang` (plain, sincere nianfo) |
62
+ | "I want to understand emptiness" | `/master-kumarajiva` `/master-huineng` `/master-milarepa` `/master-tsongkhapa` (Madhyamaka translator / direct pointing / Mahāmudrā / prasaṅgika analysis) |
63
+ | "I want a systematic view of Huayan / Tiantai" | `/master-fazang` `/master-zhiyi` (classification and metaphysics) |
64
+ | "I'm torn between Chan and Pure Land" | `/master-ouyi` (cross-tradition synthesis) |
65
+ | "I'm curious about ascetic practice / retreat" | `/master-milarepa` (snow-mountain retreat · Kagyu paradigm) |
66
+ | "I want the simplest meditation instructions" | `/master-ajahn-chah` (Thai Forest · ānāpānasati) |
67
+ | "I want a complete graduated path of practice" | `/master-atisha` `/master-tsongkhapa` (Kadam three scopes → Gelug Lamrim) |
68
+ | "I want the systematic Theravāda commentarial framework" | `/master-buddhaghosa` (*Visuddhimagga* — sīla / samādhi / paññā + 7 purifications · 16 insight knowledges) |
69
+ | "I want intensive vipassanā with the noting method" | `/master-mahasi-sayadaw` (Burmese · noting · rising-falling) |
70
70
  | "I want a cross-tradition perspective" | `/compare-masters` (auto-pairs 汉/藏/南 voices) |
71
71
 
72
72
  > Developers and Claude Code / Cursor users should skip to [Developer Installation](#developer-installation) to use the masters as terminal AgentSkills.
73
73
 
74
74
  ---
75
75
 
76
+ > **v0.6 Update (2026-05-02)**: Slash command namespace cleanup — all 14 master slash commands prefixed with `master-`. `/master-zhiyi`, `/master-huineng`, etc.
77
+ > - **Why**: Claude Code users typically have 50+ skills installed; bare-word slash commands like `/atisha` get scattered. Prefixing clusters all 14 masters under `/m<tab>` for fast discovery.
78
+ > - **Unaffected**: `compare-masters` and `create-master` meta-skills keep their existing names (avoiding `/master-compare-masters` doublespeak). `fojin.app/chat` web-side dropdown is decoupled — its master IDs stay bare (`atisha`, `huineng`, etc.); backend `master_profiles.py` unchanged.
79
+ > - **NPX installer**: both `npx master-skill install zhiyi` (short) and `install master-zhiyi` (full) work; install destination is always `~/.claude/skills/master-<slug>/`.
80
+ > - See [CHANGELOG.md §0.6.0](CHANGELOG.md#060--2026-05-02) for full details.
81
+ >
76
82
  > **v0.5 Update (2026-05-02)**: Second cross-tradition expansion — Tibetan and Theravāda each grow from 1 master to 3. Total **15 masters**.
77
83
  > - 藏传 added: Atiśa (Kadam founder · Toh 4465 *Bodhipathapradīpa* · three scopes) + Tsongkhapa (Gelug founder · three principal aspects · Madhyamaka prasaṅgika)
78
84
  > - 南传 added: Buddhaghosa (commentarial summit · *Visuddhimagga*) + Mahasi Sayadaw (Burmese vipassanā · noting method · ETHICS Tier B special case)
@@ -105,7 +111,7 @@ This project is built out of respect for Buddhist traditions. All content is gen
105
111
  - **Two-stage independent review**: The generation pipeline forces a "doctrinal accuracy → voice consistency" review before write; FAIL triggers up to 2 rounds of automatic repair
106
112
  - **Automated fidelity tests**: Each master's `tests/fidelity.jsonl` holds 5+ Q&A samples validating citations and keyword coverage; CI runs a dry-run on every push
107
113
  - **Unified multi-platform plugin**: Claude Code, Cursor, Codex CLI, OpenCode, and Gemini CLI share one `prebuilt/` tree, with a session-start hook injecting the master list on every platform
108
- - **NPX one-shot install**: `npx master-skill install zhiyi` drops skills straight into Claude Code
114
+ - **NPX one-shot install**: `npx master-skill install master-zhiyi` drops skills straight into Claude Code
109
115
  - **Offline toolchain**: `scripts/cite.py` (CBETA lookup), `scripts/query.py` (offline semantic search), `scripts/validate.py` (frontmatter linter)
110
116
  - **FoJin data bridge**: Connected to [fojin.app](https://fojin.app) with 503 data sources, 10K+ texts, 678K+ semantic embeddings, and a 31K-entity knowledge graph
111
117
  - **AgentSkills standard**: Compliant with [Anthropic Agent Skills](https://github.com/anthropics/skills) — progressive disclosure, decision trees, black-box script pattern
@@ -115,7 +121,7 @@ This project is built out of respect for Buddhist traditions. All content is gen
115
121
  ## Developer Installation
116
122
 
117
123
  > 👤 **Just want to try it?** Use [fojin.app/chat](https://fojin.app/chat) in your browser and skip this section entirely.
118
- > 🛠️ **This section is for**: Claude Code / Cursor / Codex CLI / OpenCode / Gemini CLI users who want to invoke `/xuanzang`, `/huineng`, etc. directly as terminal AgentSkills.
124
+ > 🛠️ **This section is for**: Claude Code / Cursor / Codex CLI / OpenCode / Gemini CLI users who want to invoke `/master-xuanzang`, `/master-huineng`, etc. directly as terminal AgentSkills.
119
125
 
120
126
  ### Installation
121
127
 
@@ -153,24 +159,24 @@ In any AgentSkills-compatible environment (Claude Code / Cursor / Codex CLI / Op
153
159
 
154
160
  ```
155
161
  # 汉传 (Chinese)
156
- /xuanzang — Master Xuanzang (Yogacara)
157
- /kumarajiva — Kumarajiva (Madhyamaka / Sanlun)
158
- /huineng — Master Huineng (Chan, Sixth Patriarch)
159
- /zhiyi — Master Zhiyi (Tiantai)
160
- /fazang — Master Fazang (Huayan)
161
- /yinguang — Master Yinguang (Pure Land)
162
- /ouyi — Master Ouyi (Tiantai / Pure Land, cross-tradition)
163
- /xuyun — Master Xuyun (Chan, Five Houses)
162
+ /master-xuanzang — Master Xuanzang (Yogacara)
163
+ /master-kumarajiva — Kumarajiva (Madhyamaka / Sanlun)
164
+ /master-huineng — Master Huineng (Chan, Sixth Patriarch)
165
+ /master-zhiyi — Master Zhiyi (Tiantai)
166
+ /master-fazang — Master Fazang (Huayan)
167
+ /master-yinguang — Master Yinguang (Pure Land)
168
+ /master-ouyi — Master Ouyi (Tiantai / Pure Land, cross-tradition)
169
+ /master-xuyun — Master Xuyun (Chan, Five Houses)
164
170
 
165
171
  # 藏传 (Tibetan)
166
- /atisha — Atiśa Dīpaṃkara (Kadam founder · three scopes · 982-1054)
167
- /tsongkhapa — Tsongkhapa (Gelug founder · three principal aspects · prasaṅgika · 1357-1419)
168
- /milarepa — Milarepa (Kagyu · Mahāmudrā · Naro Chodruk · 1052-1135)
172
+ /master-atisha — Atiśa Dīpaṃkara (Kadam founder · three scopes · 982-1054)
173
+ /master-tsongkhapa — Tsongkhapa (Gelug founder · three principal aspects · prasaṅgika · 1357-1419)
174
+ /master-milarepa — Milarepa (Kagyu · Mahāmudrā · Naro Chodruk · 1052-1135)
169
175
 
170
176
  # 南传 (Theravāda)
171
- /buddhaghosa — Buddhaghosa (commentarial summit · Visuddhimagga · 5th century)
172
- /mahasi-sayadaw — Mahasi Sayadaw (Burmese vipassanā · noting method · 1904-1982)
173
- /ajahn-chah — Ajahn Chah (Thai Forest Tradition · Wat Pah Pong · 1918-1992)
177
+ /master-buddhaghosa — Buddhaghosa (commentarial summit · Visuddhimagga · 5th century)
178
+ /master-mahasi-sayadaw — Mahasi Sayadaw (Burmese vipassanā · noting method · 1904-1982)
179
+ /master-ajahn-chah — Ajahn Chah (Thai Forest Tradition · Wat Pah Pong · 1918-1992)
174
180
  ```
175
181
 
176
182
  ### Compare Masters
@@ -182,7 +188,7 @@ Ask the same question to 2-3 masters in parallel and surface the differences bet
182
188
  /compare-masters what is emptiness
183
189
 
184
190
  # Manually pick masters (recommended for precise results)
185
- /compare-masters how to read the Heart Sutra --masters xuanzang,huineng,zhiyi
191
+ /compare-masters how to read the Heart Sutra --masters master-xuanzang,master-huineng,master-zhiyi
186
192
 
187
193
  # Natural-language triggers
188
194
  compare Huineng and Yinguang on nianfo
@@ -213,61 +219,61 @@ The system will guide you through a three-step intake, then automatically collec
213
219
 
214
220
  The greatest translator in Chinese Buddhist history. Traveled to India for 17 years, translated 75 texts in 1,335 fascicles. Founded the Yogacara (Faxiang) school in China. Known for precise, rigorous translation methodology and the "Five Categories of Non-Translation" principle.
215
221
  Primary sources: CBETA — Mahaprajnaparamita Sutra, Yogacarabhumi-sastra, Cheng Weishi Lun, Heart Sutra.
216
- Invoke: `/xuanzang`
222
+ Invoke: `/master-xuanzang`
217
223
 
218
224
  ### Kumarajiva (344-413)
219
225
 
220
226
  One of the four great translators of Chinese Buddhism. Born in Kucha, translated in Chang'an. His translations are celebrated for literary elegance — the Lotus Sutra, Diamond Sutra, Vimalakirti Sutra, and Mulamadhyamakakarika remain the most widely used versions today. Established the foundation of the Sanlun (Madhyamaka) school in China.
221
227
  Primary sources: CBETA — Lotus Sutra, Diamond Sutra, Vimalakirti Sutra, Mulamadhyamakakarika, Mahaprajnaparamita-sastra.
222
- Invoke: `/kumarajiva`
228
+ Invoke: `/master-kumarajiva`
223
229
 
224
230
  ### Master Huineng (638-713)
225
231
 
226
232
  The Sixth Patriarch of Chan Buddhism, founder of the Southern School. An illiterate woodcutter who attained enlightenment upon hearing the Diamond Sutra. His Platform Sutra is the only Chinese-authored text honored with the title "sutra." Advocated "directly pointing to the mind, seeing one's nature to become Buddha."
227
233
  Primary sources: CBETA — Platform Sutra (T48n2008).
228
- Invoke: `/huineng`
234
+ Invoke: `/master-huineng`
229
235
 
230
236
  ### Master Zhiyi (538-597)
231
237
 
232
238
  Founder of the Tiantai school, honored as "the Little Shakyamuni of the East." Established the first comprehensive doctrinal classification system in Chinese Buddhism (Five Periods, Eight Teachings). Authored the Three Great Works of Tiantai. Core teachings: three thousand realms in a single thought-moment, perfect interfusion of the three truths, dual cultivation of samatha and vipasyana.
233
239
  Primary sources: CBETA — Mohe Zhiguan (T46n1911), Fahua Xuanyi (T33n1718).
234
- Invoke: `/zhiyi`
240
+ Invoke: `/master-zhiyi`
235
241
 
236
242
  ### Master Fazang (643-712)
237
243
 
238
244
  Third Patriarch and true systematizer of the Huayan school. National Preceptor under Empress Wu Zetian. Used the Golden Lion treatise to explain Huayan philosophy. Core teachings: dharmadhatu dependent origination, four dharma-realms, ten mysterious gates, six characteristics in perfect harmony.
239
245
  Primary sources: CBETA — Huayan Jing Tanxuan Ji (T35n1733), Huayan Wujiao Zhang (T45n1866).
240
- Invoke: `/fazang`
246
+ Invoke: `/master-fazang`
241
247
 
242
248
  ### Master Yinguang (1861-1940)
243
249
 
244
250
  13th Patriarch of the Chinese Pure Land school. Central figure in the modern Pure Land revival. His writing is sincere and straightforward; he guided countless practitioners through correspondence, collected in the three volumes of the Yinguang Fashi Wenchao.
245
251
  Primary sources: CBETA — Wenchao volumes and the three Pure Land sutras.
246
- Invoke: `/yinguang`
252
+ Invoke: `/master-yinguang`
247
253
 
248
254
  ### Master Ouyi (1599-1655)
249
255
 
250
256
  One of the Four Great Masters of Late Ming Buddhism, 9th Patriarch of Pure Land. His motto: "Doctrine follows Tiantai, practice returns to Pure Land." The most important cross-tradition synthesizer in Chinese Buddhist history. His commentary on the Amitabha Sutra was praised by Master Yinguang as unsurpassable.
251
257
  Primary sources: CBETA — Amituo Jing Yaojie (T37n1762), Jiaoguan Gangzong.
252
- Invoke: `/ouyi`
258
+ Invoke: `/master-ouyi`
253
259
 
254
260
  ### Master Xuyun (1840-1959)
255
261
 
256
262
  Modern Chan patriarch who lived to 119 years. Unprecedented in Buddhist history for holding dharma transmission in all five houses of Chan (Linji, Caodong, Guiyang, Yunmen, Fayan). Restored six major ancestral monasteries. Advocated hua-tou investigation, honest practice, and harmonizing Chan with Pure Land.
257
263
  Primary sources: CBETA — Shurangama Sutra, Diamond Sutra, Platform Sutra.
258
- Invoke: `/xuyun`
264
+ Invoke: `/master-xuyun`
259
265
 
260
266
  ### Atiśa Dīpaṃkara (982-1054) — Tibetan · Kadam · Indo-Tibetan bridge
261
267
 
262
268
  Royal-born Indian master from the Sahor kingdom (modern Bangladesh). Studied Madhyamaka, Yogācāra and tantra at Vikramaśīla; received the bodhicitta lineage from Dharmakīrti of Suvarṇadvīpa (Sumatra). Invited to Tibet in 1042 by King Yeshe Ö to reform a tradition where Vinaya had decayed and tantra had become disconnected from sūtra foundations. His *Bodhipathapradīpa* (Toh 4465) became the source text for all later Tibetan *lamrim* literature. His chief disciple Dromtönpa founded Reting Monastery, originating the **Kadam school** — later succeeded by Tsongkhapa's "New Kadam" (Gelug). All four Tibetan schools recognize him as a root teacher.
263
269
  Primary sources: Toh 4465 *Bodhipathapradīpa* + Toh 3948 self-commentary + Kadam oral lineage *Pha chos / Bu chos*.
264
- Invoke: `/atisha`
270
+ Invoke: `/master-atisha`
265
271
 
266
272
  ### Tsongkhapa (1357-1419) — Tibetan · Gelug founder
267
273
 
268
274
  Founder of the **Gelug school** (dGe lugs pa, "the way of virtue"; popularly known as the "Yellow Hat school") — basis of the Dalai Lama and Panchen Lama lineages. Born in Tsongkha (Qinghai). Studied with masters across all major schools, particularly the Sakya scholar Rendawa for prasaṅgika Madhyamaka. Reformed lax monastic discipline, integrated sūtra and tantra into a strict graduated path, and produced the great triology: *Lamrim Chenmo* (Great Treatise on the Stages of the Path), *sNgags rim chen mo* (Great Treatise on Tantra), and *Drang nges legs bshad snying po* (Essence of True Eloquence — definitive vs interpretable meaning). Founded Ganden Monastery (1409) — the seat of the school.
269
275
  Primary sources: Tsongkhapa's collected works (*gsung 'bum*, searchable on BDRC.io). Chinese translation by Dharma-master Faxun is the standard Sinophone reference.
270
- Invoke: `/tsongkhapa`
276
+ Invoke: `/master-tsongkhapa`
271
277
 
272
278
  > ⚠️ Tantric practice steps, empowerment liturgy, generation- and completion-stage details, deity mantras, and channels-and-drops practice are introduced **only at the level of name and historical context — concrete practice instructions are never given**.
273
279
 
@@ -275,7 +281,7 @@ Invoke: `/tsongkhapa`
275
281
 
276
282
  Spiritual ancestor of the Tibetan Kagyu lineage and the paradigm of the "yogi tradition" (no monastery, mountain retreat, teaching through song). After committing serious harm in his youth through black magic, he sought purification under Marpa the Translator, who put him through severe trials before transmitting the complete Mahāmudrā and Naro Chodruk lineages. He spent decades in Himalayan retreat, surviving on nettles, and taught through extemporaneous **mGur** (songs of realization) — shaping the entire later Tibetan tradition.
277
283
  Primary sources: BDRC — *The Hundred Thousand Songs of Milarepa* (mGur 'bum, W1KG14334) and *The Life of Milarepa* (rNam thar, W22272).
278
- Invoke: `/milarepa`
284
+ Invoke: `/master-milarepa`
279
285
 
280
286
  > ⚠️ Naro Chodruk (Six Yogas), tummo, generation/completion stages and other esoteric practices are introduced **only at the level of name and historical context — concrete practice instructions are never given**. Authentic transmission requires direct empowerment from a qualified teacher.
281
287
 
@@ -283,13 +289,13 @@ Invoke: `/milarepa`
283
289
 
284
290
  The most influential commentator and śāstra master in Theravāda history. Born a brahmin scholar in southern India, he travelled to the Mahāvihāra in Anurādhapura (Sri Lanka) to translate the old Sinhala commentaries (*Sīhaḷa-aṭṭhakathā*) into Pali. To prove his competence, he first composed the *Visuddhimagga* — a 23-chapter encyclopedia of Theravāda meditation and doctrine organized around the threefold training of **sīla, samādhi, paññā**. He then translated the four Nikāya commentaries, the Vinaya commentary *Samantapāsādikā*, and the Abhidhamma commentaries. His framework defines orthodox Theravāda exegesis to this day across Sri Lanka, Burma, Thailand, Cambodia, and Laos.
285
291
  Primary sources: PTS edition *Visuddhimagga* + four Nikāya *aṭṭhakathā* (Sumaṅgalavilāsinī, Papañcasūdanī, Sāratthappakāsinī, Manorathapūraṇī) + *Samantapāsādikā* (Vinaya) + *Atthasālinī* (Abhidhamma).
286
- Invoke: `/buddhaghosa`
292
+ Invoke: `/master-buddhaghosa`
287
293
 
288
294
  ### Mahāsi Sayādaw U Sobhana (1904-1982) — Theravāda · Burmese vipassanā
289
295
 
290
296
  One of the most internationally influential meditation masters of modern Burma. Recognized as a *Pariyatti Sāsanahita* — the highest scriptural qualification in Burmese monasticism — by age 27. Studied four-foundations vipassanā with U Nārada (Mingun Sayadaw) from 1932. Established the **Mahasi Sasana Yeiktha** retreat center in Yangon in 1947, formalizing the **noting method** (rising-falling at the abdomen as primary object) tied to Visuddhimagga's seven purifications and sixteen insight knowledges. Served as *Final Editor* of the Sixth Buddhist Council (1954-1956) — the largest modern revision of the Pali Canon. His lineage profoundly shaped the founders of America's Insight Meditation Society (Goldstein, Salzberg, Kornfield).
291
297
  Primary sources: *Manual of Insight* (Wisdom Publications, 2016 English ed.), *The Progress of Insight* (BPS Sri Lanka Wheel No. 280), *Practical Vipassanā Meditation Exercises* (Mahasi Sasana Yeiktha).
292
- Invoke: `/mahasi-sayadaw`
298
+ Invoke: `/master-mahasi-sayadaw`
293
299
 
294
300
  > ⚠️ **The AI must never confirm any individual's stage of insight or attainment of fruition.** Verification requires face-to-face interview with a qualified teacher. This is the strictest guardrail in this skill — the Mahasi tradition's "fruition is attainable" framing is famous for inducing self-attainment delusions, and the AI is forbidden from playing that role.
295
301
 
@@ -297,7 +303,7 @@ Invoke: `/mahasi-sayadaw`
297
303
 
298
304
  One of the most internationally influential masters of the Thai Forest Tradition. Renowned for strict Vinaya observance, four-foundations-of-mindfulness practice, and plain, life-grounded teaching style. His Western disciples (Ajahn Sumedho, Ajahn Pasanno, Ajahn Amaro and others) established Abhayagiri (California), Amaravati (UK), Cittaviveka (UK) and other branch monasteries, carrying the forest tradition to the West. Most-quoted line: *"If you let go a little, you have a little peace; if you let go completely, you have complete peace."*
299
305
  Primary sources: Pali Canon (SuttaCentral) + authorized English collections — *Food for the Heart*, *A Still Forest Pool*, *Living Dhamma*.
300
- Invoke: `/ajahn-chah`
306
+ Invoke: `/master-ajahn-chah`
301
307
 
302
308
  ---
303
309
 
package/SKILL.md CHANGED
@@ -31,24 +31,24 @@ allowed-tools:
31
31
  以下三大传统祖师大德可直接使用,无需生成:
32
32
 
33
33
  **汉传**
34
- - `/xuanzang` — 玄奘法师(法相唯识宗)
35
- - `/kumarajiva` — 鸠摩罗什(三论宗/中观)
36
- - `/huineng` — 慧能大师(禅宗六祖)
37
- - `/zhiyi` — 智顗大师(天台宗)
38
- - `/fazang` — 法藏大师(华严宗)
39
- - `/yinguang` — 印光大师(净土宗)
40
- - `/ouyi` — 蕅益大师(天台/净土·跨宗派)
41
- - `/xuyun` — 虚云老和尚(禅宗·五宗兼嗣)
34
+ - `/master-xuanzang` — 玄奘法师(法相唯识宗)
35
+ - `/master-kumarajiva` — 鸠摩罗什(三论宗/中观)
36
+ - `/master-huineng` — 慧能大师(禅宗六祖)
37
+ - `/master-zhiyi` — 智顗大师(天台宗)
38
+ - `/master-fazang` — 法藏大师(华严宗)
39
+ - `/master-yinguang` — 印光大师(净土宗)
40
+ - `/master-ouyi` — 蕅益大师(天台/净土·跨宗派)
41
+ - `/master-xuyun` — 虚云老和尚(禅宗·五宗兼嗣)
42
42
 
43
43
  **藏传**
44
- - `/atisha` — 阿底峡尊者(噶当派开祖 · 三士道 · 982-1054)
45
- - `/tsongkhapa` — 宗喀巴大师(格鲁派创始人 · 三主要道 · 应成中观 · 1357-1419)
46
- - `/milarepa` — 米拉日巴尊者(噶举派 · 大手印 · 那洛六法 · 1052-1135)
44
+ - `/master-atisha` — 阿底峡尊者(噶当派开祖 · 三士道 · 982-1054)
45
+ - `/master-tsongkhapa` — 宗喀巴大师(格鲁派创始人 · 三主要道 · 应成中观 · 1357-1419)
46
+ - `/master-milarepa` — 米拉日巴尊者(噶举派 · 大手印 · 那洛六法 · 1052-1135)
47
47
 
48
48
  **南传**
49
- - `/buddhaghosa` — 觉音尊者(上座部论师 · 《清净道论》· 5世纪)
50
- - `/mahasi-sayadaw` — 马哈希尊者(缅甸内观 · 标记法 · 1904-1982)
51
- - `/ajahn-chah` — 阿姜查(泰国森林禅林派 · 巴蓬寺传承 · 1918-1992)
49
+ - `/master-buddhaghosa` — 觉音尊者(上座部论师 · 《清净道论》· 5世纪)
50
+ - `/master-mahasi-sayadaw` — 马哈希尊者(缅甸内观 · 标记法 · 1904-1982)
51
+ - `/master-ajahn-chah` — 阿姜查(泰国森林禅林派 · 巴蓬寺传承 · 1918-1992)
52
52
 
53
53
  ## 对比模式
54
54
 
package/bin/cli.mjs CHANGED
@@ -66,15 +66,26 @@ function cmdList() {
66
66
  console.log();
67
67
  }
68
68
 
69
+ // Resolve a master directory accepting both short ("zhiyi") and full
70
+ // ("master-zhiyi") forms. Returns the absolute prebuilt/<dir> path or null.
71
+ function resolveMasterDir(input) {
72
+ const candidates = [
73
+ path.join(PREBUILT, input), // exact: master-zhiyi
74
+ path.join(PREBUILT, `master-${input}`), // short: zhiyi → master-zhiyi
75
+ ];
76
+ return candidates.find((p) => fs.existsSync(p)) || null;
77
+ }
78
+
69
79
  function cmdInstall(names) {
70
80
  fs.mkdirSync(SKILLS_DIR, { recursive: true });
71
81
  for (const name of names) {
72
- const src = path.join(PREBUILT, name);
73
- if (!fs.existsSync(src)) {
74
- console.log(` ✗ ${name} — not found in prebuilt/`);
82
+ const src = resolveMasterDir(name);
83
+ if (!src) {
84
+ console.log(` ✗ ${name} — not found in prebuilt/ (tried "${name}" and "master-${name}")`);
75
85
  continue;
76
86
  }
77
- const dest = path.join(SKILLS_DIR, `master-${name}`);
87
+ const dirName = path.basename(src); // master-zhiyi
88
+ const dest = path.join(SKILLS_DIR, dirName);
78
89
  cpR(src, dest);
79
90
  console.log(` ✓ ${name} → ${dest}`);
80
91
  }
@@ -82,19 +93,25 @@ function cmdInstall(names) {
82
93
 
83
94
  function cmdUninstall(names) {
84
95
  for (const name of names) {
85
- const dest = path.join(SKILLS_DIR, `master-${name}`);
86
- if (!fs.existsSync(dest)) {
96
+ // Try both prefixed and bare directory names for backward compatibility
97
+ // with any pre-v0.6 installs that may still sit at ~/.claude/skills/<slug>/.
98
+ const candidates = [
99
+ path.join(SKILLS_DIR, name), // exact: master-zhiyi
100
+ path.join(SKILLS_DIR, `master-${name}`), // short: zhiyi → master-zhiyi
101
+ ];
102
+ const dest = candidates.find((p) => fs.existsSync(p));
103
+ if (!dest) {
87
104
  console.log(` ✗ ${name} — not installed`);
88
105
  continue;
89
106
  }
90
107
  fs.rmSync(dest, { recursive: true, force: true });
91
- console.log(` ✓ ${name} removed`);
108
+ console.log(` ✓ ${name} removed (${dest})`);
92
109
  }
93
110
  }
94
111
 
95
112
  function showHelp() {
96
113
  console.log(`
97
- master-skill — Chinese Buddhist Master AI Skills installer
114
+ master-skill — Buddhist Master AI Skills installer (v0.6+)
98
115
 
99
116
  Usage:
100
117
  master-skill install <name...> Install masters to ~/.claude/skills/
@@ -103,8 +120,12 @@ Usage:
103
120
  master-skill uninstall <name...> Remove installed masters
104
121
  master-skill --help Show this help
105
122
 
123
+ Names accept both short (zhiyi) and full (master-zhiyi) forms.
124
+ Slash commands are always /master-<slug> (e.g. /master-zhiyi).
125
+
106
126
  Examples:
107
127
  npx master-skill install zhiyi fazang
128
+ npx master-skill install master-milarepa master-tsongkhapa
108
129
  npx master-skill install --all
109
130
  npx master-skill list
110
131
  npx master-skill uninstall zhiyi