master-debate

master-debate is a skill for Claude Code from xr843/Master-skill. It costs 127 tokens per session (4,174 once invoked), scanned A, original, MIT.

A skill for running an adversarial, multi-round debate between two Buddhist teachers. It is designed for questions where the teachers argue from different positions.

In plain words
What is it for?
Use it for debates about Chan and Pure Land, sudden awakening and gradual practice, emptiness and existence, or discipline and meditation.
Why use it?
It makes disagreements between Buddhist approaches easier to examine as a structured exchange instead of a single blended answer.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the master-skill plugin — 20 skills, 1 hook shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/xr843/master-skill/master-debate
Any agent
npx skills add xr843/Master-skill --skill master-debate
Clone the repo
git clone --depth 1 https://github.com/xr843/Master-skill

Made for: Claude Code.

Or install master-skill, the plugin that ships this one along with the rest of its 20 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for master-debate

README.md
[![agentmods](https://agentmods.dev/badge/skills/xr843/master-skill/master-debate.svg)](https://agentmods.dev/skills/xr843/master-skill/master-debate)
Your own site
<a href="https://agentmods.dev/skills/xr843/master-skill/master-debate"><img src="https://agentmods.dev/badge/skills/xr843/master-skill/master-debate.svg" alt="Measured on agentmods" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,174 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00127 $0.04174
Opus 5 $0.00063 $0.02087
Sonnet 5 $0.00025 $0.00835
Haiku 4.5 $0.00013 $0.00417

Measured 6d ago against content hash e4840c2700cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

master-debate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

prebuilt/master-debate/SKILL.md · 275 lines

How it starts

The opening of the file, as written. The whole thing — 275 lines — stays where its author put it; the contents beside it link to each section on GitHub.

祖师辩论 (Master Debate) — 元 Skill v0.8

本对话依据历史佛教文献生成,对比旨在展现多元视角,不评判优劣。所有教义断言附经证。

v0.8 执行范式:Orchestrator + Fresh Subagent

为什么改: v0.7.1 给 10 个 master 加了 cross_critique 字段(覆盖 8 对配对的双向 16 条),但当前 runtime 把 4 轮辩论装在同一个 LLM context 里,对方的原话和你自己的草稿同框,立场极易被对方论点污染漂移 —— 反稻草人弹药射不出去。

怎么改: 每一轮派一个全新 subagent(Task tool,subagent_typegeneral-purpose),只携带 {role, opponent_position_summary_<=80字, cross_critique_弹药}不传前序原文。由外层 orchestrator(本 skill 调用方)维护轮次摘要 + 终止判断 + 最终收束。

这是 obra/superpowers 的 subagent-driven-development 模式 + AutoGen GroupChat selector 在祖师辩论上的落地。

决策树:选择哪两位祖师?

优先级 1 — 用户显式指定

用户指定 2 位祖师 → 直接使用。

优先级 2 — 议题→对立配对兜底表

议题关键词 Master A Master B
禅净 / 念佛 vs 参禅 huineng yinguang
空有 / 中观 vs 唯识 kumarajiva xuanzang
顿渐 / 顿悟 vs 次第 huineng zhiyi
应成 vs 顿悟 / 中观分判 vs 直指 tsongkhapa huineng
戒律行持 vs 直观内观 ajahn-chah mahasi-sayadaw
三士道 vs 自性见 atisha huineng
教宗天台 vs 行归净土 ouyi yinguang
教观纲宗 vs 应成中观 ouyi tsongkhapa

优先级 3 — 关键词匹配兜底

从议题中提取关键词,与各 master 的 meta.json.search_scope.keywords 匹配,取 top-2 不同传统的 master。

名称解析

模板中的 <Master A 全称> / <Master B 全称> 占位符指该祖师 meta.json 中的 name 字段。例如:

  • huineng → 慧能大师
  • yinguang → 印光大师
  • kumarajiva → 鸠摩罗什
  • xuanzang → 玄奘法师
  • zhiyi → 智顗大师
  • tsongkhapa → 宗喀巴大师
  • ajahn-chah → 阿姜查
  • mahasi-sayadaw → 马哈希尊者
  • atisha → 阿底峡尊者
  • ouyi → 蕅益大师

未列出的 master 同样从 prebuilt/master-<slug>/meta.jsonname 字段读取。

阶段 0 — 初始化(Orchestrator 执行)

输入:{topic, master_A_slug, master_B_slug, max_rounds?}

  1. prebuilt/master-debate/meta.jsondebate_protocol
    • 计算配对 key:把两个 slug 按字典序排序后用 -vs- 拼接(例:("yinguang", "huineng")huineng-vs-yinguang("tsongkhapa", "huineng")huineng-vs-tsongkhapa)。注意 slug 自身可含 -(如 ajahn-chah),lookup 时 不要 对 key 做 split("-vs-") 再排序,而应该是排好序之后拼接。
    • per_pair_overrides[key] 存在 → 用其 default_rounds,否则用 debate_protocol.default_rounds(=4)
    • max_rounds 用户传入则取 min(用户值, debate_protocol.max_rounds),否则用上一步的 default
  2. prebuilt/master-<A>/meta.jsonprebuilt/master-<B>/meta.jsoncross_critique
    • ammo_A_vs_B = A 的 cross_critique 中 target_master == B 的所有 entry
    • ammo_B_vs_A = B 的 cross_critique 中 target_master == A 的所有 entry
  3. 覆盖检查:若 ammo_A_vs_Bammo_B_vs_A 为空 → orchestrator 在最终输出顶部打一条 > ⚠️ 本配对 cross_critique 未双向覆盖,对辩力度可能降级。 不阻塞流程
  4. 初始化轮次摘要列表 round_summaries: list[{round, speaker_slug, summary_<=80字}] = []

Read the full file on GitHub · 275 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 275 lines · 127 tokens per session scan A e4840c2700cc

Subscribe to this mod's changes

master-debate is a skill published in the GitHub repository xr843/Master-skill (382 stars, last pushed today), licensed MIT. It adds 127 tokens to every session and 4,174 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

sutra-commentary

Use when the user asks how classical commentators explained a passage of Buddhist scripture — 经注对读, 历代注疏怎么说, 各家怎么注, 这句经谁注过, 注疏对比, 疏解, 古注, commentary on a sutra passage. Triggers include 「这句经历代怎么讲」「各家注疏怎么说」「注疏对读」「谁注过这一句」「注家有什么分歧」「金刚经这一段的注解」. Invoke whenever the question is about what commentators said about a specific…

xr843/fojin · 139 tokens

understand-explain

Use when you need a deep-dive explanation of a specific file, function, or module in the codebase.

Egonex-AI/Understand-Anything · 27 tokens

baoyu-comic

Knowledge comic creator supporting multiple art styles and tones. Creates original educational comics with detailed panel layouts and batch-capable image generation. Use when user asks to create "知识漫画", "教育漫画", "biography comic", "tutorial comic", or "Logicomix-style comic".

JimLiu/baoyu-skills · 61 tokens

offensive-exploit-dev-course

Full exploit development course roadmap and syllabus: weekly topics, recommended reading, lab setup, and learning path from vulnerability classes through advanced exploitation. Use to structure exploit dev training or onboard new researchers.

SnailSploit/Claude-Red · 0 tokens

elixir-idioms

OTP/BEAM patterns and Elixir idioms — GenServer, Supervisor, Task, Registry, pattern matching, with chains, pipes. Use when designing processes or debugging BEAM issues.

oliver-kriska/claude-elixir-phoenix · 44 tokens

learning-and-development

Builds capability — skills gaps, career frameworks, training that transfers to the job, and internal mobility. Use this to design a career ladder, close a capability gap, decide whether to build or hire a skill, structure onboarding into a role, or work out why training keeps failing to change anything.

cbrock84/headcount · 64 tokens