score_prompt
Evaluate a prompt's clarity, specificity, structure, guardrails, and token efficiency with a 1-5 score. Optionally compare two prompts to get per-dimension deltas and a verdict.
Instructions
Judge-grades a prompt 1-5 on clarity, specificity, structure, guardrails, and token efficiency. Pass 'baseline' to compare two prompts and get per-dimension deltas and a verdict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Override for the judge model | |
| engine | No | The underlying LLM engine to use | |
| prompt | Yes | The prompt to score | |
| baseline | No | Optional second prompt; switches to comparison mode (baseline vs prompt) |