judge-verification
БесплатноЗапускает вложенные скриптыНе проверенIndependent LLM judge evaluates task completion separately from the executing agent, catching false success claims by reviewing task goal, actions taken…
от oimiragieo★ 48 звёзд на GitHubОб этом скилле
Judge Verification
Overview
An independent LLM evaluation layer that verifies whether a task was genuinely completed. The judge reviews the original task goal, the sequence of actions taken, the final state of relevant artifacts, and the claimed completion evidence — then produces a PASS/FAIL verdict with a confidence score and actionable reasoning.
This skill is distinct from verification-before-completion: that skill runs checklist gates
within the same agent context. Judge-verification uses a fresh, independent perspective
with no access to the executing agent's prior reasoning, catching hallucinated success claims.
When to Use
Skill({ skill: 'judge-verification' });
Invoke when:
- Task claims completion but no test output, diff, or artifact is visible
- High-stakes tasks (security fixes, data migrations, API changes) require independent sign-off
- An agent's completion metadata seems inconsistent with the work described
- The
verification-before-completionskill passes but human review is not available - Loop detection force-done fired (partial completion needs judging)
The Iron Law
JUDGE IS INDEPENDENT — NO SHARED CONTEXT WITH EXECUTING AGENT
The judge must receive only: (1) the original task goal, (2) the list of actions, (3) the final file states. Never pass the executing agent's reasoning or internal notes to the judge.
Judge Evaluation Framework
The judge reviews four dimensions and produces a combined verdict:
Dimension 1: Task Goal Alignment
Question: Does the final state match what the task requested?
Evidence to check:
- Original task subject/description from
TaskGet({ taskId }) - Files or outputs explicitly mentioned in the task
- Expected behavior described in the task goal
Score: 0-25 points
Commands:
# Get the original task goal
# (replace task-ID with actual task ID)
node -e "const fs=require('fs');const tasks=JSON.parse(fs.readFileSync('.claude/context/runtime/tasks.json','utf8')||'[]');const t=tasks.find(x=>x.id==='{{TASK_ID}}');console.log(JSON.stringify(t?.subject||'not found'));"
Expected output: Task subject string showing the original goal. Verify: Subject matches what the agent claimed to accomplish.
Dimension 2: Action Completeness
Question: Were the claimed actions sufficient to accomplish the goal?
Evidence to check:
- List of tool calls from task metadata (
filesModified,outputArtifacts) - Were necessary tools invoked? (e.g., Write for file creation, Bash for command execution)
- Are there obvious gaps? (e.g., claimed to run tests but no Bash call with
pnpm test)
Score: 0-25 points
Commands:
# Check files modified were actually touched
git diff --name-only HEAD~1 HEAD 2>/dev/null || git status --short
Expected output: List of changed files that should match the agent's filesModified metadata.
Verify: At least one file changed; file list is plausible given the task.
Dimension 3: Evidence of Completion
Question: Is there concrete, verifiable evidence the task succeeded?
Evidence to check:
- Test results (exit code 0, pass counts)
- File contents reflect the requested change
- No error output in last bash call
- Build/lint passes
Score: 0-25 points
Commands:
# Check if tests pass (if task involved code changes)
cd /c/dev/projects/agent-studio && pnpm test 2>&1 | tail -5
Expected output: Test summary showing pass/fail counts. Verify: Zero failures for tasks that touched tested code.
# Verify target file content matches task intent
# (judge reads the file and checks against task description)
head -50 {{TARGET_FILE_PATH}}
Expected output: File content consistent with the claimed change. Verify: Content is not placeholder/stub; change is real.
Dimension 4: Final State Coherence
Question: Is the system in a coherent state — no regressions, no broken references?
Evidence to check:
- Lint and format pass
- No new TODO/FIXME introduced without justification
- Referenced files exist
- No circular imports or broken requires
Score: 0-25 points
Commands:
# Quick coherence check
cd /c/dev/projects/agent-studio && pnpm lint:fix 2>&1 | tail -10
Expected output: Zero errors, possibly auto-fix count. Verify: Exit code 0 or only style fixes (no logic errors).
Verdict Calculation
totalScore = dim1 + dim2 + dim3 + dim4 (max 100)
PASS: totalScore >= 70 AND dim3 >= 15 (evidence gate — cannot pass with no evidence)
FAIL: totalScore < 70 OR dim3 < 15
CONDITIONAL: totalScore 60-69 with dim3 >= 15 — requires human review
Output Format
The judge produces a structured verdict:
{
"verdict": "PASS | FAIL | CONDITIONAL",
"confidence": 0.87,
"totalScore": 82,
"dimensions": {
"goalAlignment": 20,
"actionCompleteness": 22,
"evidenceOfCompletion": 20,
"finalStateCoher
Установить judge-verification в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteBashTaskUpdateTaskGetВложенные файлы
FAQ
Что делает скилл judge-verification?
Independent LLM judge evaluates task completion separately from the executing agent, catching false success claims by reviewing task goal, actions taken, final state, and evidence. Produces PASS/FAIL with confidence score and reasoning.
Как установить скилл judge-verification?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл judge-verification запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic