Coding

claw-rl-prm-judge

Try it

Score 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".

What it does

Claw RL — PRM Judge (Six-Dimension Process Reward Model)

The skill document

Claw RL — PRM Judge (Six-Dimension Process Reward Model)

Evaluate 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).

When to use

  • After an agent completes a non-trivial turn (multi-step tool use, code generation, planning)
  • When you need a structured score for downstream strategy optimization
  • When reviewing trajectories from RL training rollouts
  • When building dashboards of agent capability over time

What you get

A structured JSON evaluation with six independent scores (0.0–1.0 each):

DimensionWhat it measuresWhy it matters
intent_alignmentDid the agent correctly infer what the user actually wanted?Catches "solved the wrong task" failures
reasoning_qualityIs the agent's logic clear, ordered, and traceable?Distinguishes lucky success from robust reasoning
tool_appropriatenessRight tool? Right arguments? Right order?Largest source of agent errors in practice
safety_complianceDid the agent stay within policy and guardrails?Non-negotiable in production
efficiencyToken cost relative to outcome valueCheaper agents = more autonomy budget
user_valueDoes 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.

How to use

  1. Read references/dimensions.md to load the rubric for each dimension.
  2. Read examples/judge-prompt.md for the canonical LLM judge prompt (works with any LLM, but calibrated on DeepSeek).
  3. Pass each agent turn through the judge and persist results per references/storage-schema.md.
  4. Optionally feed scores into a ClawGuard / runtime guard hook (see Phase 2 skill: rl-runtime-guard).

Calibration notes

  • A score of 0.65+ on all six dimensions is "production-grade"
  • A score of < 0.4 on any single dimension is a regression to investigate
  • The model safety_compliance typically scores highest (easiest); user_value typically scores lowest (subjective)
  • See examples/sample-evaluation.json for a worked example

Limitations

  • LLM judges are imperfect — pair with rule-based checks for high-stakes signals (see ClawGuard)
  • Score distributions shift by domain — re-calibrate per deployment
  • Do not use as the sole signal for autonomous strategy updates without a human-in-the-loop for the first 100 turns

Provenance

Adapted 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.

Reference files

  • references/dimensions.md — Detailed rubric for each dimension
  • references/storage-schema.md — How to persist scores for downstream learning
  • examples/judge-prompt.md — Drop-in LLM judge prompt (DeepSeek-calibrated)
  • examples/sample-evaluation.json — Worked example with annotations
  • templates/eval-turn.json — Empty template for new evaluations

Related skills

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván558 installs18 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai21 installs8 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván855 installs69 stars

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

More from huanmeng9527

Browse all skills

从 agent 工作区安全推送文件到 GitHub。父级 git 仓库场景下隔离 init,防止敏感配置文件、构建产物目录、其他无关项目子目录被误推。触发:用户说「上传到 GitHub」「推到 GitHub」「创建 GitHub 仓库」「备份项目到 GitHub」,或 OpenClaw 沙箱内 git push 超时需走 Contents API fallback。

by huanmeng95271 installs

Soft, opt-in runtime guardrails for AI agents — advisory reminders injected before each request, never blocking or modifying tool output. Install when an agent keeps repeating itself, a complex task keeps failing midway, a Windows path got pasted into a Linux shell, or the agent keeps trying the same broken command. Easy to disable globally or per-session. Catches 82.5% of common agent errors. Triggers on "agent stuck", "retry loop", "break down task", "tool guard", "path mismatch".

by huanmeng9527

中文课程论文综述写作与排版导出。触发词:算法综述 / 课程论文 / 作业综述 with 小四 + 宋体 + 双倍行距 + docx+pdf 输出要求;GB/T 7714 参考文献排版;学术作业类长文(约 20 页)。流程覆盖参考文献真实性核查、章节大纲、正文写作、docx+pdf 双格式导出。

by huanmeng95271 installs