Skip to content
Agentmart
Submit a tool

openai-judge

LLM-as-a-judge evaluations over OpenAI-compatible APIs (including NVIDIA Nemotron & LM Studio).

Skill by ianshank

IndexedApache-2.0★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ianshank-openai-judge

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

LLM-as-a-judge evaluations over OpenAI-compatible APIs (including NVIDIA Nemotron & LM Studio). Use whenever evaluating output quality, correctness, or scoring responses using standard rubrics.

Use cases: ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/openai-judge

What's inside

Skill name
openai-judge
Description
LLM-as-a-judge evaluations over OpenAI-compatible APIs (including NVIDIA Nemotron & LM Studio). Use whenever evaluating output quality, correctness, or scoring responses using standard rubrics.
License
Apache-2.0
Compatibility
python>=3.10
Instructions
49 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (16)

  • .gitignore
  • SKILL.md
  • evals.json · evals/
  • prompt.txt · evals/fixtures/empty-input/
  • rubric.txt · evals/fixtures/empty-input/
  • prompt.txt · evals/fixtures/happy-path/
  • rubric.txt · evals/fixtures/happy-path/
  • prompt.txt · evals/fixtures/malformed-rubric/
  • rubric.txt · evals/fixtures/malformed-rubric/
  • assertion-types.md · references/
  • ruff.toml
  • quality-gate.sh · scripts/
  • run.py · scripts/
  • validate_skill.py · scripts/
  • conftest.py · tests/
  • test_run.py · tests/

SKILL.md (first lines)

# openai-judge — E2E Action Skill

Perform LLM-as-a-judge scoring end to end: take prompt, rubric, and model endpoint, produce score and reasoning, and prove it worked before reporting success.

## 1. Preconditions (input contract)

Confirm these hold before doing anything:
- Target prompt text and grading rubric are present in files.
- OpenAI-compatible model endpoint is reachable (or `--mock` is specified for local-only validation).
- Environment variables or configurations are populated for authentication (e.g. `NVIDIA_API_KEY` for Nemotron).

## 2. Procedure (the E2E steps)

1. Read the input prompt and grading rubric from their target paths.
2. Initialize the OpenAI-compatible client wrapper with model endpoint and api key.
3. Call the completion API with the requested prompt and formatting instructions (preferring JSON output).
4. Extract the verdict JSON containing the score and reasoning.
5. Write `result.json` to the output directory.

Prefer using the execution script:
```bash
python scripts/run.py --model nvidia/nemotron-3-ultra-550b-a55b --prompt prompt.txt --rubric rubric.txt --out result.json
```

## 3. Output contract (postconditions — what "done" means)

- Output file `result.json` is written.
- Output is valid JSON with keys `score` and `reasoning`.
- The score value is a float/integer representing the judgment.

## 4. Failure handling

- On failure, clean up any partial files and raise a clear, descriptive error containing output/logs.
- Gracefully handle JSON parsing errors by returning a structured default failure JSON.

## 5. Validation gate (before declaring success)

You are **not done** until this exits 0:
```bash
python scripts/validate_skill.py --skill . --tier structural,behavioral
```

## 6. Examples

**Example 1**
Input: prompt.txt (What is 2+2?), rubric.txt (Grade answer correctness)
Output: result.json (`{"score": 1.0, "reasoning": "The answer is correct."}`)

From ianshank/Agents, Apache-2.0.

More from ianshank/Agents

Signals

Stars
1
Forks
0
Open issues
113
Last commit (this folder)
Sep 7, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ianshank

Cite this page

openai-judge skill. Agent Mart. https://agentmart.dev/skills/ianshank-openai-judge (last updated 2026-10-24)