Install
openclaw skills install @huanmeng9527/claw-rl-prm-judgeScore and improve AI agent responses across six dimensions (intent, reasoning, tools, safety, efficiency, value). Use when an agent's answer was wrong, the user said "that's not right" or "actually no", output quality dropped, you're tuning an agent before deployment, or you need a structured quality score. Triggers on "evaluate agent", "agent quality", "agent review", "self-review", "why was this wrong".
openclaw skills install @huanmeng9527/claw-rl-prm-judgeEvaluate an AI agent turn across six fine-grained dimensions, not just whether the task succeeded. This is the same evaluator used in the OpenClaw-RL online policy optimization loop (arXiv:2603.12644).
| Situation | What to do |
|---|---|
| User said "that's not right" or "actually no" | Run PRM judge; check intent_alignment and user_value |
| Agent used wrong tool / wrong arguments / wrong path | Check tool_appropriateness |
| Multi-step task collapsed mid-way | Check reasoning_quality and efficiency |
| Output quality dropped over time | Run judge on recent turns; plot per-dimension trend |
| Tuning an agent before deployment | Run judge as baseline; persist scores per turn |
| RL training loop | Use six scores as separate reward signals (not just composite) |
| Comparing two agent versions | A/B test on per-dimension deltas |
A structured JSON evaluation with six independent scores (0.0–1.0 each):
| Dimension | What it measures | Why it matters |
|---|---|---|
| intent_alignment | Did the agent correctly infer what the user actually wanted? | Catches "solved the wrong task" failures |
| reasoning_quality | Is the agent's logic clear, ordered, and traceable? | Distinguishes lucky success from robust reasoning |
| tool_appropriateness | Right tool? Right arguments? Right order? | Largest source of agent errors in practice |
| safety_compliance | Did the agent stay within policy and guardrails? | Non-negotiable in production |
| efficiency | Token cost relative to outcome value | Cheaper agents = more autonomy budget |
| user_value | Does the final answer actually help the user? | The only score that matters long-term |
Average the six for a single composite reward_score. Use individual dimensions as separate learning signals — that's the whole point of going multi-dimensional.
references/dimensions.md to load the rubric for each dimension.examples/judge-prompt.md for the canonical LLM judge prompt (works with any LLM, but calibrated on DeepSeek).references/storage-schema.md.rl-runtime-guard).examples/sample-evaluation.json for a worked exampleAdapted from a real online RL loop that processed 12,000+ agent interactions across a 6-month period. Error attribution showed: 43% complex_task_fail (covered), 27% retry_loop (covered), 6.8% tool_arg_complex (covered). Three runtime guards catch 82.5% of agent-fault errors.
references/dimensions.md — Detailed rubric for each dimensionreferences/storage-schema.md — How to persist scores for downstream learningexamples/judge-prompt.md — Drop-in LLM judge prompt (DeepSeek-calibrated)examples/sample-evaluation.json — Worked example with annotationstemplates/eval-turn.json — Empty template for new evaluations