master-skill 0.5.0 → 0.8.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.
- package/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +2 -2
- package/.cursor-plugin/plugin.json +2 -2
- package/ETHICS.md +4 -4
- package/README.md +105 -51
- package/README_EN.md +105 -53
- package/SKILL.md +65 -308
- package/bin/cli.mjs +29 -8
- package/gemini-extension.json +2 -2
- package/hooks/session-start +40 -2
- package/hooks/tests/test_session_start.sh +149 -0
- package/package.json +7 -3
- package/prebuilt/compare/SKILL.md +44 -44
- package/prebuilt/compare/tests/fidelity.jsonl +13 -0
- package/prebuilt/{ajahn-chah → master-ajahn-chah}/SKILL.md +1 -1
- package/prebuilt/{ajahn-chah → master-ajahn-chah}/meta.json +17 -1
- package/prebuilt/{atisha → master-atisha}/SKILL.md +1 -1
- package/prebuilt/{atisha → master-atisha}/meta.json +17 -1
- package/prebuilt/{buddhaghosa → master-buddhaghosa}/SKILL.md +1 -1
- package/prebuilt/{buddhaghosa → master-buddhaghosa}/meta.json +26 -1
- package/prebuilt/master-curriculum/SKILL.md +87 -0
- package/prebuilt/master-curriculum/references/chan.md +29 -0
- package/prebuilt/master-curriculum/references/gelug-madhyamaka.md +33 -0
- package/prebuilt/master-curriculum/references/huayan.md +28 -0
- package/prebuilt/master-curriculum/references/jingtu.md +29 -0
- package/prebuilt/master-curriculum/references/sanlun-zhongguan.md +30 -0
- package/prebuilt/master-curriculum/references/theravada-vipassana.md +39 -0
- package/prebuilt/master-curriculum/references/tiantai.md +30 -0
- package/prebuilt/master-curriculum/references/weishi.md +31 -0
- package/prebuilt/master-curriculum/tests/fidelity.jsonl +8 -0
- package/prebuilt/master-debate/SKILL.md +274 -0
- package/prebuilt/master-debate/meta.json +25 -0
- package/prebuilt/master-debate/tests/fidelity.jsonl +8 -0
- package/prebuilt/{fazang → master-fazang}/SKILL.md +1 -1
- package/prebuilt/{fazang → master-fazang}/meta.json +25 -0
- package/prebuilt/{huineng → master-huineng}/SKILL.md +1 -1
- package/prebuilt/master-huineng/meta.json +128 -0
- package/prebuilt/{huineng → master-huineng}/references/teaching.md +1 -1
- package/prebuilt/{huineng → master-huineng}/sources/INDEX.md +1 -1
- package/prebuilt/{huineng → master-huineng}/sources/tanjing-excerpts.md +17 -1
- package/prebuilt/{kumarajiva → master-kumarajiva}/SKILL.md +1 -1
- package/prebuilt/{kumarajiva → master-kumarajiva}/meta.json +16 -0
- package/prebuilt/{kumarajiva → master-kumarajiva}/references/teaching.md +2 -2
- package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/SKILL.md +1 -1
- package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/meta.json +17 -1
- package/prebuilt/{milarepa → master-milarepa}/SKILL.md +1 -1
- package/prebuilt/{milarepa → master-milarepa}/meta.json +26 -1
- package/prebuilt/{ouyi → master-ouyi}/SKILL.md +1 -1
- package/prebuilt/{ouyi → master-ouyi}/meta.json +17 -0
- package/prebuilt/{ouyi → master-ouyi}/references/teaching.md +4 -4
- package/prebuilt/{ouyi → master-ouyi}/sources/INDEX.md +1 -1
- package/prebuilt/{ouyi → master-ouyi}/sources/jiaoguan-gangzong-excerpts.md +3 -3
- package/prebuilt/{tsongkhapa → master-tsongkhapa}/SKILL.md +1 -1
- package/prebuilt/{tsongkhapa → master-tsongkhapa}/meta.json +18 -1
- package/prebuilt/{xuanzang → master-xuanzang}/SKILL.md +1 -1
- package/prebuilt/{xuanzang → master-xuanzang}/meta.json +16 -0
- package/prebuilt/{xuanzang → master-xuanzang}/references/teaching.md +5 -5
- package/prebuilt/{xuanzang → master-xuanzang}/references/voice.md +1 -1
- package/prebuilt/{xuyun → master-xuyun}/SKILL.md +1 -1
- package/prebuilt/{xuyun → master-xuyun}/meta.json +39 -0
- package/prebuilt/{yinguang → master-yinguang}/SKILL.md +2 -2
- package/prebuilt/{yinguang → master-yinguang}/meta.json +17 -0
- package/prebuilt/{yinguang → master-yinguang}/references/teaching.md +7 -7
- package/prebuilt/{yinguang → master-yinguang}/references/voice.md +1 -1
- package/prebuilt/{yinguang → master-yinguang}/sources/INDEX.md +3 -3
- package/prebuilt/{yinguang → master-yinguang}/sources/wenchao-excerpts.md +4 -4
- package/prebuilt/{yinguang → master-yinguang}/sources/yihanbianfu-excerpts.md +3 -3
- package/prebuilt/{zhiyi → master-zhiyi}/SKILL.md +1 -1
- package/prebuilt/{zhiyi → master-zhiyi}/meta.json +28 -0
- package/prebuilt/{zhiyi → master-zhiyi}/references/teaching.md +2 -2
- package/scripts/check-manifest-versions.py +142 -0
- package/scripts/cite.py +1 -1
- package/scripts/query.py +1 -1
- package/scripts/test-fidelity.py +4 -4
- package/scripts/tests/test_check_manifest_versions.py +217 -0
- package/scripts/tests/test_debate_protocol.py +159 -0
- package/scripts/tests/test_validate_cross_critique.py +149 -0
- package/scripts/tests/test_validate_curriculum_sources.py +144 -0
- package/scripts/tests/test_validate_lore_triggers_content.py +372 -0
- package/scripts/tests/test_validate_persona_fidelity.py +317 -0
- package/scripts/tests/test_validate_promptfoo_configs.py +386 -0
- package/scripts/validate-cross-critique.py +137 -0
- package/scripts/validate-curriculum-sources.py +111 -0
- package/scripts/validate-fidelity.py +16 -1
- package/scripts/validate-lore-triggers-content.py +393 -0
- package/scripts/validate-persona-fidelity.py +210 -0
- package/scripts/validate-promptfoo-configs.py +383 -0
- package/scripts/validate.py +213 -5
- package/prebuilt/huineng/meta.json +0 -91
- /package/prebuilt/{ajahn-chah → master-ajahn-chah}/references/teaching.md +0 -0
- /package/prebuilt/{ajahn-chah → master-ajahn-chah}/references/voice.md +0 -0
- /package/prebuilt/{ajahn-chah → master-ajahn-chah}/sources/INDEX.md +0 -0
- /package/prebuilt/{ajahn-chah → master-ajahn-chah}/sources/sutta-excerpts.md +0 -0
- /package/prebuilt/{ajahn-chah → master-ajahn-chah}/sources/teachings-excerpts.md +0 -0
- /package/prebuilt/{ajahn-chah → master-ajahn-chah}/tests/fidelity.jsonl +0 -0
- /package/prebuilt/{atisha → master-atisha}/references/teaching.md +0 -0
- /package/prebuilt/{atisha → master-atisha}/references/voice.md +0 -0
- /package/prebuilt/{atisha → master-atisha}/sources/INDEX.md +0 -0
- /package/prebuilt/{atisha → master-atisha}/sources/bodhipathapradipa-excerpts.md +0 -0
- /package/prebuilt/{atisha → master-atisha}/tests/fidelity.jsonl +0 -0
- /package/prebuilt/{buddhaghosa → master-buddhaghosa}/references/teaching.md +0 -0
- /package/prebuilt/{buddhaghosa → master-buddhaghosa}/references/voice.md +0 -0
- /package/prebuilt/{buddhaghosa → master-buddhaghosa}/sources/INDEX.md +0 -0
- /package/prebuilt/{buddhaghosa → master-buddhaghosa}/sources/visuddhimagga-excerpts.md +0 -0
- /package/prebuilt/{buddhaghosa → master-buddhaghosa}/tests/fidelity.jsonl +0 -0
- /package/prebuilt/{fazang → master-fazang}/references/teaching.md +0 -0
- /package/prebuilt/{fazang → master-fazang}/references/voice.md +0 -0
- /package/prebuilt/{fazang → master-fazang}/sources/INDEX.md +0 -0
- /package/prebuilt/{fazang → master-fazang}/sources/jinshizi-excerpts.md +0 -0
- /package/prebuilt/{fazang → master-fazang}/sources/wujiao-zhang-excerpts.md +0 -0
- /package/prebuilt/{fazang → master-fazang}/tests/fidelity.jsonl +0 -0
- /package/prebuilt/{huineng → master-huineng}/references/voice.md +0 -0
- /package/prebuilt/{huineng → master-huineng}/sources/jingang-excerpts.md +0 -0
- /package/prebuilt/{huineng → master-huineng}/tests/fidelity.jsonl +0 -0
- /package/prebuilt/{kumarajiva → master-kumarajiva}/references/voice.md +0 -0
- /package/prebuilt/{kumarajiva → master-kumarajiva}/sources/INDEX.md +0 -0
- /package/prebuilt/{kumarajiva → master-kumarajiva}/sources/fahua-excerpts.md +0 -0
- /package/prebuilt/{kumarajiva → master-kumarajiva}/sources/jingang-bore-excerpts.md +0 -0
- /package/prebuilt/{kumarajiva → master-kumarajiva}/sources/zhonglun-excerpts.md +0 -0
- /package/prebuilt/{kumarajiva → master-kumarajiva}/tests/fidelity.jsonl +0 -0
- /package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/references/teaching.md +0 -0
- /package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/references/voice.md +0 -0
- /package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/sources/INDEX.md +0 -0
- /package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/sources/teachings-excerpts.md +0 -0
- /package/prebuilt/{mahasi-sayadaw → master-mahasi-sayadaw}/tests/fidelity.jsonl +0 -0
- /package/prebuilt/{milarepa → master-milarepa}/references/teaching.md +0 -0
- /package/prebuilt/{milarepa → master-milarepa}/references/voice.md +0 -0
- /package/prebuilt/{milarepa → master-milarepa}/sources/INDEX.md +0 -0
- /package/prebuilt/{milarepa → master-milarepa}/sources/grubum-excerpts.md +0 -0
- /package/prebuilt/{milarepa → master-milarepa}/sources/namthar-excerpts.md +0 -0
- /package/prebuilt/{milarepa → master-milarepa}/tests/fidelity.jsonl +0 -0
- /package/prebuilt/{ouyi → master-ouyi}/references/voice.md +0 -0
- /package/prebuilt/{ouyi → master-ouyi}/sources/mituo-yaojie-excerpts.md +0 -0
- /package/prebuilt/{ouyi → master-ouyi}/tests/fidelity.jsonl +0 -0
- /package/prebuilt/{tsongkhapa → master-tsongkhapa}/references/teaching.md +0 -0
- /package/prebuilt/{tsongkhapa → master-tsongkhapa}/references/voice.md +0 -0
- /package/prebuilt/{tsongkhapa → master-tsongkhapa}/sources/INDEX.md +0 -0
- /package/prebuilt/{tsongkhapa → master-tsongkhapa}/sources/lamrim-excerpts.md +0 -0
- /package/prebuilt/{tsongkhapa → master-tsongkhapa}/tests/fidelity.jsonl +0 -0
- /package/prebuilt/{xuanzang → master-xuanzang}/sources/INDEX.md +0 -0
- /package/prebuilt/{xuanzang → master-xuanzang}/sources/chengweishi-excerpts.md +0 -0
- /package/prebuilt/{xuanzang → master-xuanzang}/sources/xinjing-excerpts.md +0 -0
- /package/prebuilt/{xuanzang → master-xuanzang}/tests/fidelity.jsonl +0 -0
- /package/prebuilt/{xuyun → master-xuyun}/references/teaching.md +0 -0
- /package/prebuilt/{xuyun → master-xuyun}/references/voice.md +0 -0
- /package/prebuilt/{xuyun → master-xuyun}/sources/INDEX.md +0 -0
- /package/prebuilt/{xuyun → master-xuyun}/sources/lengyanjing-excerpts.md +0 -0
- /package/prebuilt/{xuyun → master-xuyun}/sources/tanjing-excerpts.md +0 -0
- /package/prebuilt/{xuyun → master-xuyun}/tests/fidelity.jsonl +0 -0
- /package/prebuilt/{yinguang → master-yinguang}/sources/jingtu-sanjing-excerpts.md +0 -0
- /package/prebuilt/{yinguang → master-yinguang}/tests/fidelity.jsonl +0 -0
- /package/prebuilt/{zhiyi → master-zhiyi}/references/voice.md +0 -0
- /package/prebuilt/{zhiyi → master-zhiyi}/sources/INDEX.md +0 -0
- /package/prebuilt/{zhiyi → master-zhiyi}/sources/fahua-xuanyi-excerpts.md +0 -0
- /package/prebuilt/{zhiyi → master-zhiyi}/sources/mohezhiguan-excerpts.md +0 -0
- /package/prebuilt/{zhiyi → master-zhiyi}/tests/fidelity.jsonl +0 -0
package/README_EN.md
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
|
+
<a href="https://www.npmjs.com/package/master-skill"><img src="https://img.shields.io/npm/v/master-skill.svg?label=npm&color=cb3837" alt="npm version"></a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/master-skill"><img src="https://img.shields.io/npm/dm/master-skill.svg?color=cb3837" alt="npm downloads"></a>
|
|
12
14
|
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT">
|
|
13
15
|
<img src="https://img.shields.io/badge/Python-3.9+-green.svg" alt="Python 3.9+">
|
|
14
16
|
<img src="https://img.shields.io/badge/Claude%20Code-Skill-purple.svg" alt="Claude Code Skill">
|
|
@@ -24,7 +26,7 @@
|
|
|
24
26
|
|
|
25
27
|
<p align="center">
|
|
26
28
|
<strong>AI learning companions modeled after historical Buddhist masters across three traditions</strong><br>
|
|
27
|
-
|
|
29
|
+
14 pre-built masters · 汉传 / 藏传 / 南传 cross-tradition · CBETA / BDRC / SuttaCentral / PTS Vism citations · AgentSkills Standard
|
|
28
30
|
</p>
|
|
29
31
|
|
|
30
32
|
<p align="center">
|
|
@@ -45,10 +47,10 @@
|
|
|
45
47
|
|
|
46
48
|
### 👉 [Open fojin.app/chat](https://fojin.app/chat)
|
|
47
49
|
|
|
48
|
-
On the AI Q&A page, open the **"法师模式"** (Master Mode) dropdown in the bottom-left and pick one of the
|
|
50
|
+
On the AI Q&A page, open the **"法师模式"** (Master Mode) dropdown in the bottom-left and pick one of the 14 pre-built masters across three traditions to start chatting.
|
|
49
51
|
|
|
50
52
|
- No install, no signup
|
|
51
|
-
- `/compare-masters`
|
|
53
|
+
- Three teaching modes available: `/compare-masters` (side-by-side comparison), `/master-debate` (4-round dialectic), `/master-curriculum` (time-sequenced study path) — all cross-tradition
|
|
52
54
|
- Live citation retrieval backed by FoJin's 503 sources and 678K+ semantic embeddings
|
|
53
55
|
- Every answer carries an authoritative source ID (CBETA for 汉传, BDRC for 藏传, SuttaCentral for 南传)
|
|
54
56
|
|
|
@@ -56,24 +58,61 @@ On the AI Q&A page, open the **"法师模式"** (Master Mode) dropdown in the bo
|
|
|
56
58
|
|
|
57
59
|
| Your situation | Suggested master |
|
|
58
60
|
|---|---|
|
|
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) |
|
|
70
|
-
| "I want a cross-tradition perspective" | `/compare-masters` (auto-pairs 汉/藏/南 voices) |
|
|
61
|
+
| "My mind is scattered, I can't sit still" | `/master-xuyun` `/master-zhiyi` `/master-ajahn-chah` (huatou / śamatha-vipaśyanā / mindfulness) |
|
|
62
|
+
| "I can't follow the logic of the sutras" | `/master-xuanzang` (Yogācāra precision) |
|
|
63
|
+
| "I've studied for years but feel stuck" | `/master-yinguang` (plain, sincere nianfo) |
|
|
64
|
+
| "I want to understand emptiness" | `/master-kumarajiva` `/master-huineng` `/master-milarepa` `/master-tsongkhapa` (Madhyamaka translator / direct pointing / Mahāmudrā / prasaṅgika analysis) |
|
|
65
|
+
| "I want a systematic view of Huayan / Tiantai" | `/master-fazang` `/master-zhiyi` (classification and metaphysics) |
|
|
66
|
+
| "I'm torn between Chan and Pure Land" | `/master-ouyi` (cross-tradition synthesis) |
|
|
67
|
+
| "I'm curious about ascetic practice / retreat" | `/master-milarepa` (snow-mountain retreat · Kagyu paradigm) |
|
|
68
|
+
| "I want the simplest meditation instructions" | `/master-ajahn-chah` (Thai Forest · ānāpānasati) |
|
|
69
|
+
| "I want a complete graduated path of practice" | `/master-atisha` `/master-tsongkhapa` (Kadam three scopes → Gelug Lamrim) |
|
|
70
|
+
| "I want the systematic Theravāda commentarial framework" | `/master-buddhaghosa` (*Visuddhimagga* — sīla / samādhi / paññā + 7 purifications · 16 insight knowledges) |
|
|
71
|
+
| "I want intensive vipassanā with the noting method" | `/master-mahasi-sayadaw` (Burmese · noting · rising-falling) |
|
|
72
|
+
| "I want a cross-tradition perspective" | `/compare-masters` (auto-pairs 汉/藏/南 voices) · `/master-debate` (adversarial dialectic) · `/master-curriculum` (study path by tradition) |
|
|
71
73
|
|
|
72
74
|
> Developers and Claude Code / Cursor users should skip to [Developer Installation](#developer-installation) to use the masters as terminal AgentSkills.
|
|
73
75
|
|
|
74
76
|
---
|
|
75
77
|
|
|
76
|
-
|
|
78
|
+
## What It Looks Like
|
|
79
|
+
|
|
80
|
+
A real `/master-huineng` (Master Huineng, the Sixth Patriarch of Chan) exchange. Note that **every doctrinal claim carries a CBETA citation**, and the voice matches the master himself — direct, plain-spoken, fond of metaphor:
|
|
81
|
+
|
|
82
|
+
```text
|
|
83
|
+
You: I want to practice Chan, but I can't sit still and my mind is too busy.
|
|
84
|
+
|
|
85
|
+
Master Huineng:
|
|
86
|
+
You say you "can't sit still" — you have mistaken the posture for Chan.
|
|
87
|
+
You say your mind is "too busy" — you have made your thoughts the enemy.
|
|
88
|
+
Neither of these is Chan.
|
|
89
|
+
|
|
90
|
+
What is "sitting in meditation"? When, amid all conditions good and bad,
|
|
91
|
+
no thought arises in the mind — that is "sitting". When you inwardly see
|
|
92
|
+
the self-nature unmoved — that is "Chan". Sitting is not a matter of the
|
|
93
|
+
legs; it is the mind not grasping at objects.
|
|
94
|
+
【Platform Sutra · Sitting Meditation】→ https://fojin.app/texts/58
|
|
95
|
+
|
|
96
|
+
Do not fear arising thoughts. "Amid all objects the mind is unstained —
|
|
97
|
+
this is called no-thought." It does not mean having no thoughts; it means
|
|
98
|
+
a thought arises yet you do not chase it, do not let it stick. Like a
|
|
99
|
+
cloud crossing the sky — the sky has never moved.
|
|
100
|
+
【Platform Sutra · Concentration and Wisdom】→ https://fojin.app/texts/58
|
|
101
|
+
|
|
102
|
+
For further study, consult the original texts at FoJin (fojin.app).
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
> ⚠️ The above is **AI-synthesized content**, generated from the *Platform Sutra*; it does not represent Master Huineng's actual spoken teachings. Masters currently answer in Classical/Modern Chinese — the English here is an illustrative translation. Try the multi-master `/compare-masters` mode directly at [fojin.app/chat](https://fojin.app/chat).
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
> **v0.6 Update (2026-05-02)**: Slash command namespace cleanup — all 14 master slash commands prefixed with `master-`. `/master-zhiyi`, `/master-huineng`, etc.
|
|
110
|
+
> - **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.
|
|
111
|
+
> - **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.
|
|
112
|
+
> - **NPX installer**: both `npx master-skill install zhiyi` (short) and `install master-zhiyi` (full) work; install destination is always `~/.claude/skills/master-<slug>/`.
|
|
113
|
+
> - See [CHANGELOG.md §0.6.0](CHANGELOG.md#060--2026-05-02) for full details.
|
|
114
|
+
>
|
|
115
|
+
> **v0.5 Update (2026-05-02)**: Second cross-tradition expansion — Tibetan and Theravāda each grow from 1 master to 3. Total **14 masters**.
|
|
77
116
|
> - 藏传 added: Atiśa (Kadam founder · Toh 4465 *Bodhipathapradīpa* · three scopes) + Tsongkhapa (Gelug founder · three principal aspects · Madhyamaka prasaṅgika)
|
|
78
117
|
> - 南传 added: Buddhaghosa (commentarial summit · *Visuddhimagga*) + Mahasi Sayadaw (Burmese vipassanā · noting method · ETHICS Tier B special case)
|
|
79
118
|
> - HARD-GATE strengthened: Mahasi Sayadaw specifically gets `NO_ATTAINMENT_JUDGMENT` (AI must not confirm any individual's stage of insight)
|
|
@@ -97,15 +136,15 @@ This project is built out of respect for Buddhist traditions. All content is gen
|
|
|
97
136
|
|
|
98
137
|
## Features
|
|
99
138
|
|
|
100
|
-
- **
|
|
139
|
+
- **14 pre-built masters across three traditions**: 8 汉传 (Yogācāra, Madhyamaka, Chan, Tiantai, Huayan, Pure Land, cross-tradition) + 3 藏传 (Kadam · Atiśa; Gelug · Tsongkhapa; Kagyu · Milarepa) + 3 南传 (Theravāda commentator · Buddhaghosa; Burmese vipassanā · Mahasi Sayadaw; Thai Forest · Ajahn Chah) — plus a `compare-masters` multi-master comparison meta-skill, ready to use out of the box
|
|
101
140
|
- **Provenance enforcement**: Every master ships with authoritative source IDs (CBETA / BDRC / SuttaCentral) and FoJin text IDs in frontmatter; every doctrinal claim must carry a scriptural citation
|
|
102
141
|
- **Offline source passages**: `sources/` captures key passages from each master's core canon, so citations still work when FoJin is unreachable
|
|
103
142
|
- **Progressive disclosure**: SKILL.md is a decision tree + quick reference; `references/` and `sources/` are loaded on demand to keep context lean
|
|
104
143
|
- **HARD-GATE discipline**: Both `/create-master` and every prebuilt master embed hard rules — no unverified CBETA ID, no uncited doctrinal claim, no fictional personas
|
|
105
144
|
- **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
|
-
- **Automated fidelity tests**: Each master's `tests/fidelity.jsonl` holds
|
|
145
|
+
- **Automated fidelity tests**: Each master's `tests/fidelity.jsonl` holds 10+ Q&A samples (the `compare-masters` meta-skill holds 18) validating citations and keyword coverage; CI runs a dry-run on every push
|
|
107
146
|
- **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
|
|
147
|
+
- **NPX one-shot install**: `npx master-skill install master-zhiyi` drops skills straight into Claude Code
|
|
109
148
|
- **Offline toolchain**: `scripts/cite.py` (CBETA lookup), `scripts/query.py` (offline semantic search), `scripts/validate.py` (frontmatter linter)
|
|
110
149
|
- **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
150
|
- **AgentSkills standard**: Compliant with [Anthropic Agent Skills](https://github.com/anthropics/skills) — progressive disclosure, decision trees, black-box script pattern
|
|
@@ -115,17 +154,26 @@ This project is built out of respect for Buddhist traditions. All content is gen
|
|
|
115
154
|
## Developer Installation
|
|
116
155
|
|
|
117
156
|
> 👤 **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.
|
|
157
|
+
> 🛠️ **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
158
|
|
|
120
159
|
### Installation
|
|
121
160
|
|
|
122
|
-
**NPX (recommended)**
|
|
161
|
+
**NPX (recommended, no global state)**
|
|
123
162
|
|
|
124
163
|
```bash
|
|
125
|
-
npx master-skill install --all # Install all
|
|
164
|
+
npx master-skill install --all # Install all 14 masters
|
|
126
165
|
npx master-skill list # List available masters
|
|
127
166
|
```
|
|
128
167
|
|
|
168
|
+
**Global install (frequent use / offline-friendly)**
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
npm install -g master-skill # Adds the binary to $PATH
|
|
172
|
+
master-skill install master-zhiyi # No more npx prefix
|
|
173
|
+
master-skill list
|
|
174
|
+
npm update -g master-skill # Pull next minor / patch
|
|
175
|
+
```
|
|
176
|
+
|
|
129
177
|
**Claude Code**
|
|
130
178
|
|
|
131
179
|
```bash
|
|
@@ -153,36 +201,40 @@ In any AgentSkills-compatible environment (Claude Code / Cursor / Codex CLI / Op
|
|
|
153
201
|
|
|
154
202
|
```
|
|
155
203
|
# 汉传 (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)
|
|
204
|
+
/master-xuanzang — Master Xuanzang (Yogacara)
|
|
205
|
+
/master-kumarajiva — Kumarajiva (Madhyamaka / Sanlun)
|
|
206
|
+
/master-huineng — Master Huineng (Chan, Sixth Patriarch)
|
|
207
|
+
/master-zhiyi — Master Zhiyi (Tiantai)
|
|
208
|
+
/master-fazang — Master Fazang (Huayan)
|
|
209
|
+
/master-yinguang — Master Yinguang (Pure Land)
|
|
210
|
+
/master-ouyi — Master Ouyi (Tiantai / Pure Land, cross-tradition)
|
|
211
|
+
/master-xuyun — Master Xuyun (Chan, Five Houses)
|
|
164
212
|
|
|
165
213
|
# 藏传 (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)
|
|
214
|
+
/master-atisha — Atiśa Dīpaṃkara (Kadam founder · three scopes · 982-1054)
|
|
215
|
+
/master-tsongkhapa — Tsongkhapa (Gelug founder · three principal aspects · prasaṅgika · 1357-1419)
|
|
216
|
+
/master-milarepa — Milarepa (Kagyu · Mahāmudrā · Naro Chodruk · 1052-1135)
|
|
169
217
|
|
|
170
218
|
# 南传 (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)
|
|
219
|
+
/master-buddhaghosa — Buddhaghosa (commentarial summit · Visuddhimagga · 5th century)
|
|
220
|
+
/master-mahasi-sayadaw — Mahasi Sayadaw (Burmese vipassanā · noting method · 1904-1982)
|
|
221
|
+
/master-ajahn-chah — Ajahn Chah (Thai Forest Tradition · Wat Pah Pong · 1918-1992)
|
|
174
222
|
```
|
|
175
223
|
|
|
176
|
-
###
|
|
224
|
+
### Teaching Modes (v0.7)
|
|
225
|
+
|
|
226
|
+
- **`/compare-masters`** — multiple masters answer the same question side-by-side (horizontal, single-turn)
|
|
227
|
+
- **`/master-debate`** — masters from different traditions engage in a 4-round adversarial dialectic (claim → rebut → respond → synthesize + remaining disagreements)
|
|
228
|
+
- **`/master-curriculum`** — given your target tradition and current level (L0-L3), get a time-sequenced study path (foundation → intermediate → advanced + likely blind spots)
|
|
177
229
|
|
|
178
|
-
|
|
230
|
+
**`/compare-masters` usage examples:**
|
|
179
231
|
|
|
180
232
|
```
|
|
181
233
|
# Auto-pick relevant masters
|
|
182
234
|
/compare-masters what is emptiness
|
|
183
235
|
|
|
184
236
|
# Manually pick masters (recommended for precise results)
|
|
185
|
-
/compare-masters how to read the Heart Sutra --masters xuanzang,huineng,zhiyi
|
|
237
|
+
/compare-masters how to read the Heart Sutra --masters master-xuanzang,master-huineng,master-zhiyi
|
|
186
238
|
|
|
187
239
|
# Natural-language triggers
|
|
188
240
|
compare Huineng and Yinguang on nianfo
|
|
@@ -213,61 +265,61 @@ The system will guide you through a three-step intake, then automatically collec
|
|
|
213
265
|
|
|
214
266
|
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
267
|
Primary sources: CBETA — Mahaprajnaparamita Sutra, Yogacarabhumi-sastra, Cheng Weishi Lun, Heart Sutra.
|
|
216
|
-
Invoke: `/xuanzang`
|
|
268
|
+
Invoke: `/master-xuanzang`
|
|
217
269
|
|
|
218
270
|
### Kumarajiva (344-413)
|
|
219
271
|
|
|
220
272
|
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
273
|
Primary sources: CBETA — Lotus Sutra, Diamond Sutra, Vimalakirti Sutra, Mulamadhyamakakarika, Mahaprajnaparamita-sastra.
|
|
222
|
-
Invoke: `/kumarajiva`
|
|
274
|
+
Invoke: `/master-kumarajiva`
|
|
223
275
|
|
|
224
276
|
### Master Huineng (638-713)
|
|
225
277
|
|
|
226
278
|
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
279
|
Primary sources: CBETA — Platform Sutra (T48n2008).
|
|
228
|
-
Invoke: `/huineng`
|
|
280
|
+
Invoke: `/master-huineng`
|
|
229
281
|
|
|
230
282
|
### Master Zhiyi (538-597)
|
|
231
283
|
|
|
232
284
|
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
285
|
Primary sources: CBETA — Mohe Zhiguan (T46n1911), Fahua Xuanyi (T33n1718).
|
|
234
|
-
Invoke: `/zhiyi`
|
|
286
|
+
Invoke: `/master-zhiyi`
|
|
235
287
|
|
|
236
288
|
### Master Fazang (643-712)
|
|
237
289
|
|
|
238
290
|
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
291
|
Primary sources: CBETA — Huayan Jing Tanxuan Ji (T35n1733), Huayan Wujiao Zhang (T45n1866).
|
|
240
|
-
Invoke: `/fazang`
|
|
292
|
+
Invoke: `/master-fazang`
|
|
241
293
|
|
|
242
294
|
### Master Yinguang (1861-1940)
|
|
243
295
|
|
|
244
296
|
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
297
|
Primary sources: CBETA — Wenchao volumes and the three Pure Land sutras.
|
|
246
|
-
Invoke: `/yinguang`
|
|
298
|
+
Invoke: `/master-yinguang`
|
|
247
299
|
|
|
248
300
|
### Master Ouyi (1599-1655)
|
|
249
301
|
|
|
250
302
|
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
303
|
Primary sources: CBETA — Amituo Jing Yaojie (T37n1762), Jiaoguan Gangzong.
|
|
252
|
-
Invoke: `/ouyi`
|
|
304
|
+
Invoke: `/master-ouyi`
|
|
253
305
|
|
|
254
306
|
### Master Xuyun (1840-1959)
|
|
255
307
|
|
|
256
308
|
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
309
|
Primary sources: CBETA — Shurangama Sutra, Diamond Sutra, Platform Sutra.
|
|
258
|
-
Invoke: `/xuyun`
|
|
310
|
+
Invoke: `/master-xuyun`
|
|
259
311
|
|
|
260
312
|
### Atiśa Dīpaṃkara (982-1054) — Tibetan · Kadam · Indo-Tibetan bridge
|
|
261
313
|
|
|
262
314
|
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
315
|
Primary sources: Toh 4465 *Bodhipathapradīpa* + Toh 3948 self-commentary + Kadam oral lineage *Pha chos / Bu chos*.
|
|
264
|
-
Invoke: `/atisha`
|
|
316
|
+
Invoke: `/master-atisha`
|
|
265
317
|
|
|
266
318
|
### Tsongkhapa (1357-1419) — Tibetan · Gelug founder
|
|
267
319
|
|
|
268
320
|
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
321
|
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`
|
|
322
|
+
Invoke: `/master-tsongkhapa`
|
|
271
323
|
|
|
272
324
|
> ⚠️ 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
325
|
|
|
@@ -275,7 +327,7 @@ Invoke: `/tsongkhapa`
|
|
|
275
327
|
|
|
276
328
|
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
329
|
Primary sources: BDRC — *The Hundred Thousand Songs of Milarepa* (mGur 'bum, W1KG14334) and *The Life of Milarepa* (rNam thar, W22272).
|
|
278
|
-
Invoke: `/milarepa`
|
|
330
|
+
Invoke: `/master-milarepa`
|
|
279
331
|
|
|
280
332
|
> ⚠️ 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
333
|
|
|
@@ -283,13 +335,13 @@ Invoke: `/milarepa`
|
|
|
283
335
|
|
|
284
336
|
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
337
|
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`
|
|
338
|
+
Invoke: `/master-buddhaghosa`
|
|
287
339
|
|
|
288
340
|
### Mahāsi Sayādaw U Sobhana (1904-1982) — Theravāda · Burmese vipassanā
|
|
289
341
|
|
|
290
342
|
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
343
|
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`
|
|
344
|
+
Invoke: `/master-mahasi-sayadaw`
|
|
293
345
|
|
|
294
346
|
> ⚠️ **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
347
|
|
|
@@ -297,7 +349,7 @@ Invoke: `/mahasi-sayadaw`
|
|
|
297
349
|
|
|
298
350
|
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
351
|
Primary sources: Pali Canon (SuttaCentral) + authorized English collections — *Food for the Heart*, *A Still Forest Pool*, *Living Dhamma*.
|
|
300
|
-
Invoke: `/ajahn-chah`
|
|
352
|
+
Invoke: `/master-ajahn-chah`
|
|
301
353
|
|
|
302
354
|
---
|
|
303
355
|
|