编程

claw-rl-prm-judge

试用

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

它能做什么

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

技能文档

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

相关技能

在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。

作者 Iván559 次安装18 星标

以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。

作者 johnpatternai22 次安装8 星标

诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。

作者 Iván855 次安装69 星标

把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。

作者 nssa.io1.0k 次安装47 星标

从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。

作者 fly0pants4.3k 次安装296 星标

huanmeng9527 的更多技能

浏览全部技能

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

作者 huanmeng95271 次安装

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

作者 huanmeng9527

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

作者 huanmeng95271 次安装