Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

judgejudge 开发

Agent Skill

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

总安装

367

周安装

15

GitHub Stars

3

下载量

118
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/terraphim/terraphim-skills --skill judge

简介

judge 用于查找、检索和筛选相关信息,支持基于关键词快速定位结果。

  • 它适用于需要根据任务场景或来源线索筛选信息的场景。
  • 可在 Codex、Claude、Cursor、Gemini CLI 中调用。
  • 安装前应确认权限范围和是否涉及敏感操作。
  • judge 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Judge

Overview

Evaluate agent task outputs against a three-dimension rubric and produce structured verdict records. The judge operates as a quality gate at the task completion boundary, scoring outputs on Semantic accuracy, Pragmatic usefulness, and Syntactic consistency.

Rubric: Three KLS Dimensions

The rubric reuses three dimensions from the KLS (Krogstie-Lindland-Sindre) quality framework defined in disciplined-quality-evaluation:

DimensionQuestionCriteria
SemanticDoes it accurately represent the domain?Factual correctness, domain terminology, no contradictions
PragmaticDoes it enable the intended decisions/actions?Actionable, useful, addresses the task goal
SyntacticIs it internally consistent and well-structured?Format compliance, structural completeness, no broken references

Scoring

ScoreMeaning
1Poor -- major issues, blocks use
2Below Standard -- significant gaps
3Adequate -- meets minimum bar
4Good -- clear, useful, few issues
5Excellent -- exemplary, no issues

Verdict Thresholds

ConditionVerdict
All dimensions >= 3 AND average >= 3.5accept
Any dimension < 3 OR average < 3.5, but all >= 2improve
Any dimension < 2reject
Models disagree on accept/rejectescalate

Verdict Format

Every judge evaluation produces a JSON verdict record. See automation/judge/verdict-schema.json for the full schema. Minimal structure:

{
  "task_id": "issue-18",
  "model": "opencode/gpt-5-nano",
  "mode": "quick",
  "verdict": "accept",
  "scores": {
    "semantic": 4,
    "pragmatic": 4,
    "syntactic": 5
  },
  "average": 4.33,
  "reasoning": "Brief justification for scores",
  "improvements": [],
  "timestamp": "2026-02-17T14:30:00Z"
}

Output MUST be valid JSON only -- no markdown fencing, no preamble, no trailing text.

Judge Modes

Quick Judge

  • Model: opencode/gpt-5-nano (fast, low latency)
  • Purpose: Rapid pass/fail screening at task completion
  • Timeout: 30 seconds
  • Prompt template: references/prompt-quick.md
  • Output: Verdict JSON with scores and one-line reasoning

Deep Judge

  • Model: opencode/kimi-k2.5-free (thorough, reasoning-capable)
  • Purpose: Detailed evaluation with improvement suggestions
  • Timeout: 60 seconds
  • Prompt template: references/prompt-deep.md
  • Output: Verdict JSON with scores, reasoning chain, and improvement list

Tiebreaker

  • Model: opencode/gpt-5.1-codex-mini (independent perspective, different provider)
  • Purpose: Resolve accept/reject disagreement between quick and deep judges
  • Timeout: 45 seconds
  • Prompt template: Uses deep prompt with prior verdicts appended
  • Trigger: Quick and deep verdicts disagree on accept vs reject/improve

Multi-Iteration Protocol

1. Run quick judge
   |
   +-- accept --> DONE (accept)
   +-- reject --> DONE (reject, log improvements)
   +-- improve --> Run deep judge
                   |
                   +-- accept --> DONE (accept)
                   +-- reject --> DONE (reject, log improvements)
                   +-- improve --> Human fallback

When quick and deep disagree on accept vs reject:

Quick: accept + Deep: reject --> Run tiebreaker
Quick: reject + Deep: accept --> Run tiebreaker
Tiebreaker verdict is final (no further iteration)

Maximum 3 model calls before human fallback.

Human Fallback Criteria

Escalate to human review when:

  1. Three model calls completed without consensus
  2. Any model returns invalid JSON after retry
  3. Any model times out after retry
  4. Verdict is "improve" from both quick and deep judges (ambiguous quality)
  5. Task involves security-sensitive or compliance-critical content

Integration Points

Runner Script

The judge is invoked by automation/judge/run-judge.sh (v2), which:

  • Writes prompts to temp files (eliminates shell escaping issues with file content)
  • Calls opencode with --file <tempfile> for reliable prompt delivery
  • Parses verdict JSON from opencode's JSON event stream
  • Implements the multi-iteration protocol (quick -> deep -> tiebreaker)
  • Optionally enriches verdict logging with terraphim-cli term matching

Verdict Logging

All verdicts are appended to automation/judge/verdicts.jsonl as one JSON object per line. This enables:

  • Audit trail of all quality evaluations
  • Trend analysis across tasks
  • Model performance comparison

Pre-Push Hook

The judge can be invoked as a pre-push hook via automation/judge/pre-push-judge.sh, blocking pushes that receive a "reject" verdict.

Terraphim Integration (Optional)

When terraphim-cli is available, the judge runner uses knowledge graph-based term normalization to identify rubric dimensions in model reasoning.

Knowledge Graph Setup

# Install judge KG files and configure role
bash automation/judge/setup-judge-kg.sh

# Verify installation
terraphim-cli thesaurus --limit 50
terraphim-cli find "factual correctness and actionability"

KG Files

Located in automation/judge/kg/:

FileNormalized TermPurpose
judge-semantic.mdjudge-semanticSynonyms for semantic quality dimension
judge-pragmatic.mdjudge-pragmaticSynonyms for pragmatic quality dimension
judge-syntactic.mdjudge-syntacticSynonyms for syntactic quality dimension
judge-verdicts.mdjudge-verdictsVerdict vocabulary normalization
judge-checklist.mdjudge-checklistRequired verdict elements

Fail-Open Design

If terraphim-cli is not installed, the judge falls back to direct JSON extraction without term normalization. All core functionality works without terraphim -- the KG integration is an enrichment layer.

Resources

references/

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.98%
按下载量换算44

Claude

28.84%
按下载量换算34

Cursor

17.93%
按下载量换算21

Gemini CLI

9.59%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/terraphim/terraphim-skills --skill judge 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills