existential-birds/beagle/llm-judge
Claude Code and agent skill by existential-birds/beagle
- community
Checking that the SKILL.md file is still in the repository.
Use when comparing two or more code implementations against a spec or requirements doc. Triggers on \"which repo is better\", \"compare these implementations\", \"evaluate both solutions\", \"rank these codebases\", or \"judge which approach wins\". Also covers choosing between competing PRs or vendor submissions solving the same problem. Does NOT review a single codebase for quality \u2014 use code review skills instead. Does NOT evaluate strategy docs \u2014 use strategy-review. Requires a spec file and 2+ repo paths.
Install
npx vskill@latest install existential-birds/beagle/llm-judgeSKILL.md
LLM Judge
Compare code implementations across multiple repositories using structured evaluation.
Usage
Arguments
| Argument | Required | Description | |
|---|---|---|---|
spec | Yes | Path to spec/requirements document | |
repos | Yes | 2+ paths to repositories to compare | |
--labels | No | Comma-separated labels (default: directory names) | |
--weights | No | Override weights, e.g. functionality:40,security:30 | |
--branch | No | Branch to compare against main (default: main) |
Workflow
- Parse
$ARGUMENTSintospec_path,repo_paths,labels,weights, andbranch. - Validate the spec file, each repo path, and the minimum repo count.
- Read the spec document into memory.
- Load this skill and the supporting reference files.
- Gather facts per repository (one Phase 1 unit per repo) — facts only, no scoring.
- Validate the repo-agent JSON results before proceeding.
- Score each dimension (one Phase 2 unit per dimension).
- Aggregate scores, compute weighted totals, rank repos, and write the report.
- Display the markdown summary and verify the JSON report.
Hard gates
Sequenced workflow: do not start the next phase until the current gate passes. Each pass condition must be checkable (file on disk, non-empty content, or json.load succeeds)—not “I reviewed internally.”
| Gate | Pass condition | Unblocks | |
|---|---|---|---|
| A — Inputs | spec_path is a readable file and non-empty; len(repo_paths) ≥ 2; each path contains .git. | Phase 1 repo agents | |
| B — Phase 1 facts | For each repo agent output: stdin/stdout parses as JSON; required keys/shape match references/fact-schema.md. | Phase 2 judge agents | |
| C — Phase 2 scores | Five judge outputs (one per dimension) each parse as JSON; each includes a score (and justification) for every repo label. | Aggregation | |
| D — Report file | .beagle/llm-judge-report.json exists; python3 -c "import json; json.load(open('.beagle/llm-judge-report.json'))" exits 0. | Markdown summary to the user | |
| E — Consistency | Summary table and verdict use the same labels, weights, and per-dimension scores as the JSON report. | Mark task complete |
Parallelism is allowed within a phase (all Phase 1 tasks together; all Phase 2 tasks together), but Phase 2 must not start until Gate B passes, and the user-visible summary must not precede Gate D.
Command Workflow
Step 1: Parse Arguments
Parse $ARGUMENTS to extract:
spec_path: first positional argumentrepo_paths: remaining positional arguments (must be 2+)labels: from--labelsor derived from directory namesweights: from--weightsor defaultsbranch: from--branchormain
Default Weights:
Step 2: Validate Inputs
Step 3: Read Spec Document
Step 4: Load the Skill
Load this llm-judge skill and its reference files into context.
Step 5: Phase 1 - Gather Facts Per Repo
If the agent supports subagents, dispatch one Phase 1 repo agent per repository in parallel; otherwise run the same fact-gathering steps sequentially, one repo at a time — the output is identical either way. Give each unit this brief:
Collect all repo outputs into ALL_FACTS.
Step 6: Validate Phase 1 Results
Step 7: Phase 2 - Score Per Dimension
If the agent supports subagents, dispatch one judge agent per dimension (five total) in parallel; otherwise score each dimension sequentially — identical output. Give each unit this brief:
Step 8: Aggregate Scores
Step 9: Generate Verdict
Name the winner, explain why they won, and note any close calls or trade-offs.
Step 10: Write JSON Report
Write .beagle/llm-judge-report.json with version, timestamp, repo metadata, weights, scores, ranking, and verdict.
Step 11: Display Summary
Render a markdown summary with the scores table, ranking, verdict, and detailed justifications.
Step 12: Verification
Output Shape
The generated report should include:
- repo labels and paths
- per-dimension scores and justifications
- weighted totals and ranking
- a verdict explaining the winner
Reference Files
| File | Purpose | |
|---|---|---|
| references/fact-schema.md | JSON schema for Phase 1 facts | |
| references/scoring-rubrics.md | Detailed rubrics for each dimension | |
| references/repo-agent.md | Instructions for Phase 1 agents | |
| references/judge-agents.md | Instructions for Phase 2 judges |
Scoring Model
| Dimension | Default Weight | Evaluates | |
|---|---|---|---|
| Functionality | 30% | Spec compliance, test pass rate | |
| Security | 25% | Vulnerabilities, security patterns | |
| Test Quality | 20% | Coverage, DRY, mock boundaries | |
| Overengineering | 15% | Unnecessary complexity | |
| Dead Code | 10% | Unused code, TODOs |
Scoring Scale
| Score | Meaning | |
|---|---|---|
| 5 | Excellent - Exceeds expectations | |
| 4 | Good - Meets requirements, minor issues | |
| 3 | Average - Functional but notable gaps | |
| 2 | Below Average - Significant issues | |
| 1 | Poor - Fails basic requirements |
Phase 1: Gathering Facts Per Repo
For each repository (in parallel via subagents if supported, otherwise sequentially), run a fact-gathering unit with:
Collect all repo-agent outputs into ALL_FACTS.
Phase 2: Scoring Per Dimension
After all Phase 1 facts are collected, score the five dimensions (in parallel via subagents if supported, otherwise sequentially), one unit per dimension:
Aggregation
- Collect the five judge outputs.
- Compute each repo's weighted total with the configured weights.
- Rank repos by weighted total in descending order.
- Generate a verdict that explains the result and any close calls.
- Write
.beagle/llm-judge-report.json.
Output
Display a markdown summary with scores, ranking, verdict, and detailed justifications.
Verification
Before completing (maps to Hard gates D and E):
- Gate D:
.beagle/llm-judge-report.jsonexists andjson.loadsucceeds. - Gate E / completeness: Every repo label has scores for every dimension; each
weighted_totalequals the sum over dimensions of(score × weight / 100)using the configured weights; markdown summary matches the JSON report.
Rules
- Always validate inputs before proceeding
- Complete all Phase 1 fact-gathering before any Phase 2 scoring (parallel within a phase if subagents are supported, otherwise sequential)
- Run one Phase 2 unit per dimension
- Every score must have a justification
- Write the JSON report before displaying the summary
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/beagle-analysis/skills/llm-judge/SKILL.md
Popularity
- Repository stars
- 78
- Repository forks
- 9
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/existential-birds/beagle/llm-judge)