tmcfarlane/skillforge/llm-as-judge-scorer
Claude Code and agent skill by tmcfarlane/skillforge
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install tmcfarlane/skillforge/llm-as-judge-scorerSKILL.md
LLM-as-Judge Scorer
Use an LLM to score whether a prior LLM response correctly solved a task. Returns a normalized [0, 1] score with reasoning. Runs asynchronously after the task completes so it never blocks the primary response path.
When to Use
Use whenever you need an automated quality signal for LLM outputs without requiring human feedback. Especially useful for:
- Post-task evaluation pipelines
- A/B testing skill injection (with vs. without skill)
- Bootstrapping feedback loops before enough human ratings exist
- Scoring experiments in AutoResearch loops
Steps
- Define the judge prompt — two-part input: the original task/prompt and the response being evaluated. Optionally include an expected outcome hint.
- Set temperature to 0 — the judge must be deterministic. Never allow creative variation in scoring.
- Use a separate model/provider from the one being evaluated — prevents self-favoritism. If evaluating GPT-4o output, judge with Claude (or vice versa).
- Route through the same gateway as all other LLM calls — no direct provider calls.
- Request structured JSON output in this exact format:
``json {"score": 0.85, "reasoning": "One sentence explanation"} ``
- Validate with Zod — never trust raw LLM output. Parse and validate before storing.
- Handle parse failures gracefully — if the judge returns malformed JSON, default to 0.5 (neutral) and log a warning. Do not crash.
- Store in a dedicated table (
judge_scores) with: skill_id, experiment_id, prompt, response, score, reasoning, model, provider, token counts, timestamp.
- Use `skipCache: true` — evaluations must always be fresh. A cached judge score from a different trace is invalid.
Algorithm
Score Guide
| Score | Meaning | |
|---|---|---|
| 1.0 | Fully solved | |
| 0.75 | Mostly solved — minor gaps | |
| 0.5 | Partially solved — or unknown | |
| 0.25 | Attempted but incorrect | |
| 0.0 | Off-topic or refused |
Primitives
- evaluate, http-fetch, data-transform, sql-query
Tags
evaluation, llm-judge, scoring, typescript, cloudflare, async
Security
- Security scanPassed, 90 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 repositoryCheckingskills/llm-as-judge-scorer/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/tmcfarlane/skillforge/llm-as-judge-scorer)