Token导航 LogoToken导航

Agent Skill · 研究检索

judge-with-debate(法官辩论)

judge-with-debate 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

judge-with-debate 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 39,449。

总安装 1,411周安装 60GitHub Stars 891下载 494核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:judge-with-debate(法官辩论)
来源仓库:https://github.com/neolabhq/context-engineering-kit
仓库路径:skills/judge-with-debate
安装命令:
npx skills add https://github.com/neolabhq/context-engineering-kit --skill judge-with-debate
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/neolabhq/context-engineering-kit --skill judge-with-debate

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

judge-with-debate 用于查找、检索和筛选相关信息,支持关键词匹配。适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验用法。

安装前应确认权限范围、维护状态及是否涉及联网、命令执行或文件读写。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/judge-with-debate

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/neolabhq/context-engineering-kit --skill judge…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

judge-with-debate 怎么安装?

在终端执行 npx skills add https://github.com/neolabhq/context-engineering-kit --skill judge-with-deba…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

judge-with-debate 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

judge-with-debate 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

judge-with-debate 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

judge-with-debate 用的人多吗?

公开数据是累计安装 1,411 次,近一周安装 60 次,下载 494 次,GitHub 891 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

judge-with-debate 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
judge-with-debate

法官辩论 · 本页

1,411891需要联网未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

judge-with-debate

Key benefits:

  • Structured evaluation - Meta-judge produces tailored rubrics and criteria before judging begins
  • Multiple perspectives - Three independent judges reduce individual bias
  • Evidence-based debate - Judges defend positions with specific evidence from the solution and evaluation specification
  • Iterative refinement - Up to 3 debate rounds drive convergence on accurate scores
  • Shared specification - Meta-judge runs once; all judges across all rounds share the same evaluation specification

Pattern: Debate-Based Evaluation

This command implements iterative multi-judge debate:

Phase 0: Setup
         mkdir -p .specs/reports
                  |
Phase 0.5: Dispatch Meta-Judge
         Meta-Judge (Opus)
              |
         Evaluation Specification YAML
              |
Phase 1: Independent Analysis (3 judges in parallel)
         +- Judge 1 -> {name}.1.md -+
Solution +- Judge 2 -> {name}.2.md -+-+
         +- Judge 3 -> {name}.3.md -+ |
                                      |
Phase 2: Debate Round (iterative)     |
    Each judge reads others' reports  |
         |                            |
    Argue + Defend + Challenge        |
    (grounded in eval specification)  |
         |                            |
    Revise if convinced --------------+
         |                            |
    Check consensus                   |
         +- Yes -> Final Report       |
         +- No -> Next Round ---------+

Process

Setup: Create Reports Directory

Before starting evaluation, ensure the reports directory exists:

mkdir -p .specs/reports

Report naming convention: .specs/reports/{solution-name}-{YYYY-MM-DD}.[1|2|3].md

Where:

  • {solution-name} - Derived from solution filename (e.g., users-api from src/api/users.ts)
  • {YYYY-MM-DD} - Current date
  • [1|2|3] - Judge number

Phase 0.5: Dispatch Meta-Judge

Before independent analysis, dispatch a meta-judge agent to generate a tailored evaluation specification. The meta-judge runs ONCE and produces rubrics, checklists, and scoring criteria that ALL judges will use across ALL rounds.

Meta-judge prompt template:

## Task

Generate an evaluation specification yaml for the following evaluation task. You will produce rubrics, checklists, and scoring criteria that multiple judge agents will use to evaluate the solution through independent analysis and multi-round debate.

CLAUDE_PLUGIN_ROOT=`${CLAUDE_PLUGIN_ROOT}`

## User Prompt
{task description - what the solution was supposed to accomplish}

## Context
{Any relevant context about the solution being evaluated}

## Artifact Type
{code | documentation | configuration | etc.}

## Evaluation Mode
Multi-judge debate with consensus-seeking across rounds

## Instructions
Return only the final evaluation specification YAML in your response.
The specification should support both independent analysis and debate-based refinement.

Dispatch:

Use Task tool:
  - description: "Meta-judge: generate evaluation specification for {solution-name}"
  - prompt: {meta-judge prompt}
  - model: opus
  - subagent_type: "sadd:meta-judge"

Wait for the meta-judge to complete and extract the evaluation specification YAML from its output before proceeding to Phase 1.

Phase 1: Independent Analysis

Launch 3 independent judge agents in parallel (Opus for rigor):

  1. Each judge receives:

- Path to solution(s) being evaluated - The meta-judge's evaluation specification YAML - Task description

  1. Each produces independent assessment saved to .specs/reports/{solution-name}-{date}.[1|2|3].md
  2. Reports must include:

- Per-criterion scores with evidence - Specific quotes/examples supporting ratings - Overall weighted score - Key strengths and weaknesses

Key principle: Independence in initial analysis prevents groupthink.

Prompt template for initial judges:

You are Judge {N} evaluating a solution independently against an evaluation specification produced by the meta judge.

CLAUDE_PLUGIN_ROOT=`${CLAUDE_PLUGIN_ROOT}`

## Solution
{path to solution file(s)}

## Task Description
{what the solution was supposed to accomplish}

## Evaluation Specification

{meta-judge's evaluation specification YAML}


## Output File

.specs/reports/{solution-name}-{date}.{N}.md

## Instructions

Follow your full judge process as defined in your agent instructions!

Additional instructions:

1. Read the solution thoroughly
2. For each criterion from the evaluation specification:
  - Find specific evidence (quote exact text)
  - Score on the defined scale
  - Justify with concrete examples
3. Calculate weighted overall score
4. Write comprehensive report to {output_file}

Add to report beginning `Done by Judge {N}`

Dispatch each judge:


Use Task tool:

- description: "Judge {N}: independent analysis of {solution-name}"
- prompt: {judge prompt with evaluation specification YAML}
- model: opus
- subagent_type: "sadd:judge"

Phase 2: Debate Rounds (Iterative)

For each debate round (max 3 rounds):

Launch 3 debate agents in parallel:

  1. Each judge agent receives:

- Path to their own previous report (.specs/reports/{solution-name}-{date}.[1|2|3].md) - Paths to other judges' reports (.specs/reports/{solution-name}-{date}.[1|2|3].md) - The original solution - The meta-judge's evaluation specification YAML

  1. Each judge:

- Identifies disagreements with other judges (>1 point score gap on any criterion) - Defends their own ratings with evidence from the solution and evaluation specification - Challenges other judges' ratings they disagree with - Considers counter-arguments - Revises their assessment if convinced

  1. Updates their report file with new section: ## Debate Round {R}
  2. After they reply, if they reached agreement move to Phase 3: Consensus Report

Key principle: Judges communicate only through filesystem - orchestrator doesn't mediate and don't read reports files itself, it can overflow your context.

Prompt template for debate judges:

You are Judge {N} in debate round {R}.

CLAUDE_PLUGIN_ROOT=`${CLAUDE_PLUGIN_ROOT}`

## Your Previous Report
{path to .specs/reports/{solution-name}-{date}.{N}.md}

## Other Judges' Reports
Judge 1: .specs/reports/{solution-name}-{date}.1.md
...

## Task Description
{what the solution was supposed to accomplish}

## Solution
{path to solution}

## Evaluation Specification

{meta-judge's evaluation specification YAML}


## Output File

.specs/reports/{solution-name}-{date}.{N}.md (append to existing file)

## Instructions

Follow your full judge process as defined in your agent instructions!

Additional debate instructions:

1. Read your previous assessment from {your_previous_report}
2. Read all other judges' reports
3. Identify disagreements (where your scores differ by >1 point)
4. For each major disagreement:
  - State the disagreement clearly
  - Defend your position with evidence from the solution and evaluation specification
  - Challenge the other judge's position with counter-evidence
  - Consider whether their evidence changes your view
5. Update your report file by APPENDING debate round section
6. Reply whether you reached agreement, and with which judge. Include revisited scores and criteria scores.

CRITICAL:

- Ground your arguments in the evaluation specification criteria
- Only revise if you find their evidence compelling
- Defend your original scores if you still believe them
- Quote specific evidence from the solution

Dispatch each debate judge:


Use Task tool:

- description: "Judge {N}: debate round {R} for {solution-name}"
- prompt: {debate judge prompt with evaluation specification YAML}
- model: opus
- subagent_type: "sadd:judge"

Consensus Check

After each debate round, check for consensus:

Consensus achieved if:

  • All judges' overall scores within 0.5 points of each other
  • No criterion has >1 point disagreement across any two judges
  • All judges explicitly state they accept the consensus

If no consensus after 3 rounds:

  • Report persistent disagreements
  • Provide all judge reports for human review
  • Flag that automated evaluation couldn't reach consensus

Orchestration Instructions:

Step 1: Dispatch Meta-Judge (Phase 0.5)

  1. Launch meta-judge agent
  2. Wait for meta-judge to complete
  3. Extract the evaluation specification YAML from meta-judge output

Step 2: Run Independent Analysis (Phase 1)

  1. Launch 3 judge agents in parallel (Judge 1, 2, 3) with the evaluation specification YAML
  2. Each writes their independent assessment to .specs/reports/{solution-name}-{date}.[1|2|3].md
  3. Wait for all 3 agents to complete

Step 3: Check for Consensus

Let's work through this systematically to ensure accurate consensus detection.

Read all three reports and extract:

  • Each judge's overall weighted score
  • Each judge's score for every criterion

Check consensus step by step:

  1. First, extract all overall scores from each report and list them explicitly
  2. Calculate the difference between the highest and lowest overall scores

- If difference <= 0.5 points -> overall consensus achieved - If difference > 0.5 points -> no consensus yet

  1. Next, for each criterion, list all three judges' scores side by side
  2. For each criterion, calculate the difference between highest and lowest scores

- If any criterion has difference > 1.0 point -> no consensus on that criterion

  1. Finally, verify consensus is achieved only if BOTH conditions are met:

- Overall scores within 0.5 points - All criterion scores within 1.0 point

Step 4: Decision Point

  • If consensus achieved: Go to Step 6 (Generate Consensus Report)
  • If no consensus AND round < 3: Go to Step 5 (Run Debate Round)
  • If no consensus AND round = 3: Go to Step 7 (Report No Consensus)

Step 5: Run Debate Round

  1. Increment round counter (round = round + 1)
  2. Launch 3 judge agents in parallel with the same evaluation specification YAML
  3. Each agent reads:

- Their own previous report from filesystem - Other judges' reports from filesystem - Original solution

  1. Each agent appends "Debate Round {R}" section to their own report file
  2. Wait for all 3 agents to complete
  3. Go back to Step 3 (Check for Consensus)

Step 6: Reply with Report

Let's synthesize the evaluation results step by step.

  1. Read all final reports carefully
  2. Before generating the report, analyze the following:

- What is the consensus status (achieved or not)? - What were the key points of agreement across all judges? - What were the main areas of disagreement, if any? - How did the debate rounds change the evaluations?

  1. Reply to user with a report that contains:

- If there is consensus: - Consensus scores (average of all judges) - Consensus strengths/weaknesses - Number of rounds to reach consensus - Final recommendation with clear justification - If there is no consensus: - All judges' final scores showing disagreements - Specific criteria where consensus wasn't reached - Analysis of why consensus couldn't be reached - Flag for human review

  1. Command complete

Step 7: Report No Consensus

  • Report persistent disagreements
  • Provide all judge reports for human review
  • Flag that automated evaluation couldn't reach consensus

Phase 3: Consensus Report

If consensus achieved, synthesize the final report by working through each section methodically:

# Consensus Evaluation Report

Let's compile the final consensus by analyzing each component systematically.

## Consensus Scores

First, let's consolidate all judges' final scores:

| Criterion | Judge 1 | Judge 2 | Judge 3 | Final |
|-----------|---------|---------|---------|-------|
| {Name}    | {X}/5   | {X}/5   | {X}/5   | {X}/5 |
...

**Consensus Overall Score**: {avg}/5.0

## Consensus Strengths
[Review each judge's identified strengths and extract the common themes that all judges agreed upon]

## Consensus Weaknesses
[Review each judge's identified weaknesses and extract the common themes that all judges agreed upon]

## Debate Summary
Let's trace how consensus was reached:
- Rounds to consensus: {N}
- Initial disagreements: {list with specific criteria and score gaps}
- How resolved: {for each disagreement, explain what evidence or argument led to resolution}

## Final Recommendation
Based on the consensus scores and the key strengths/weaknesses identified:
{Pass/Fail/Needs Revision with clear justification tied to the evidence}
  1. Reports directory: .specs/reports/ (created if not exists)
  2. Initial reports: .specs/reports/{solution-name}-{date}.1.md, .specs/reports/{solution-name}-{date}.2.md, .specs/reports/{solution-name}-{date}.3.md
  3. Debate updates: Appended sections in each report file per round
  4. Final synthesis: Replied to user (consensus or disagreement summary)

Best Practices

Meta-Judge + Judge Verification

  • Never skip meta-judge - Tailored evaluation criteria produce better judgments and more grounded debates
  • Meta-judge runs once - Same specification for all 3 judges across all debate rounds
  • Include CLAUDE_PLUGIN_ROOT - Both meta-judge and judges need the resolved plugin root path
  • Meta-judge YAML - Pass only the YAML to judges, do not modify it
  • Debate grounding - Judges should reference evaluation specification criteria when defending positions

Common Pitfalls

  • Judges create new reports instead of appending - Loses debate history
  • Orchestrator passes reports between judges - Violates filesystem communication principle
  • Weak initial assessments - Garbage in, garbage out
  • Too many debate rounds - Diminishing returns after 3 rounds
  • Sycophancy in debate - Judges agree too easily without real evidence
  • Modifying meta-judge YAML - Specification must be passed verbatim to all judges
  • Re-running meta-judge between rounds - Specification is generated once and shared

Do This

  • Judges append to their own report file
  • Judges read other reports from filesystem directly
  • Strong evidence-based initial assessments
  • Maximum 3 debate rounds
  • Require evidence for changing positions
  • Ground debate arguments in the evaluation specification criteria
  • Use same evaluation specification across all rounds

Example Usage

Evaluating an API Implementation

/judge-with-debate Implement REST API for user management --solution "src/api/users.ts"

Phase 0.5 - Meta-Judge (assuming date 2025-01-15):

  • Meta-judge generates evaluation specification YAML with criteria:

- Correctness (30%), Design (25%), Security (20%), Performance (15%), Documentation (10%) - Rubrics, checklists, and scoring definitions for each criterion

Phase 1 - Independent Analysis (3 judges receive specification):

  • .specs/reports/users-api-2025-01-15.1.md - Judge 1 scores correctness 4/5, security 3/5
  • .specs/reports/users-api-2025-01-15.2.md - Judge 2 scores correctness 4/5, security 5/5
  • .specs/reports/users-api-2025-01-15.3.md - Judge 3 scores correctness 5/5, security 4/5

Disagreement detected: Security scores range from 3-5

Phase 2 - Debate Round 1 (judges reference evaluation specification):

  • Judge 1 defends 3/5: "Missing rate limiting, input validation incomplete per specification checklist item 4"
  • Judge 2 challenges: "Rate limiting exists in middleware (line 45), satisfies specification rubric"
  • Judge 1 revises to 4/5: "Missed middleware, but input validation still weak per specification"
  • Judge 3 defends 4/5: "Input validation adequate for requirements as defined in specification"

Debate Round 1 outputs:

  • All judges now 4-5/5 on security (within 1 point)
  • Disagreement on input validation remains

Debate Round 2 (same evaluation specification):

  • Judges examine specific validation code against specification criteria
  • Judge 2 revises to 4/5: "Upon re-examination, email validation regex is weak per specification checklist"
  • Consensus: Security = 4/5

Final consensus:

Correctness: 4.3/5
Design: 4.5/5
Security: 4.0/5 (2 debate rounds to consensus)
Performance: 4.7/5
Documentation: 4.0/5

Overall: 4.3/5 - PASS

平台分布

Codex

36.45%
按下载量换算180

Claude

29.38%
按下载量换算145

Cursor

19.87%
按下载量换算98

Gemini CLI

10.36%
按下载量换算51

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills