Skip to content
Back to skills

Policy Eval

ASecurity

"Configure RoboTwin XPolicyLab policy evaluation, remote policy

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 9, 2026
devopsbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill policy-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Policy Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Policy Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-policy-eval/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-policy-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: policy-eval
description: "Configure RoboTwin XPolicyLab policy evaluation, remote policy
  servers, scheduler dry-runs, and action-adapter checks."
metadata:
  disco-role: operating
disable-model-invocation: true
license: MIT
---

# RoboTwin policy evaluation

Use this sub-skill when the user asks to evaluate a policy in RoboTwin, configure XPolicyLab local or remote evaluation, debug scheduler configs, validate policy action formats, or interpret evaluation result layouts.

## Route first

- For simulation/task-class/render setup, read [simulation-core](../simulation-core/SKILL.md).
- For trajectory datasets used to train/evaluate policies, read [data-pipeline](../data-pipeline/SKILL.md).
- For adding new tasks or language templates, read [task-authoring](../task-authoring/SKILL.md).

## Prerequisites

- A RoboTwin workspace with assets installed and simulation dependencies working.
- If you only have the generated skill tree, use the root [workspace bootstrapper](../../references/workspace-bootstrap.md) first to materialize a pinned public workspace.
- The `XPolicyLab` submodule initialized and a policy adapter under `XPolicyLab/policy/<policy_name>/`.
- Separate policy and evaluation environments when the policy stack and RoboTwin simulation dependencies differ.
- GPU IDs and capacity chosen for the host.

## Main workflows

- **Single/local evaluation and multitask scheduling:** read [evaluation-cli.md](references/evaluation-cli.md). Use `--dry-run` first.
- **Remote policy server + local simulator deployment:** read [remote-server.md](references/remote-server.md).
- **Observation/action adapter semantics:** read [adapter-contract.md](references/adapter-contract.md) and run [scripts/check_action_adapter.py](scripts/check_action_adapter.py) for synthetic qpos/endpose shape checks.
- **Config rendering without launching jobs:** use [scripts/render_eval_config.py](scripts/render_eval_config.py) to inspect a scheduler YAML's effective task list and GPU slots.
- **Failure diagnosis:** read [troubleshooting.md](references/troubleshooting.md).

## Evaluation modes

1. `bash scripts/eval_policy.sh serve --config env_cfg/eval/remote_server.yml` starts a pool of policy servers.
2. `bash scripts/eval_policy.sh multitask --config env_cfg/eval/all_tasks.yml ...` schedules local policy+simulator jobs or local simulator clients against remote servers.
3. Without `multitask` or `serve`, `scripts/eval_policy.sh` dispatches a single eval call to the XPolicyLab adapter path.

## Validation signals

- `--dry-run` prints the schedule and concrete commands without launching policies.
- Scheduler config rejects unknown fields, duplicate tasks, invalid GPU IDs, missing checkpoint in local mode, and missing remote endpoints in remote mode.
- `eval_result/multitask/<run_id>/summary.json` reports jobs total/succeeded/failed/skipped.
- Per-task logs are under `eval_result/multitask/<run_id>/logs/`.
- Single task eval writes `_result.txt` under `eval_result/<task>/<policy>/<task_config>/<checkpoint>/<timestamp>/`.

Files in this skill

  • SKILL.md3 KB
  • references/adapter-contract.md2.6 KB
  • references/evaluation-cli.md3.9 KB
  • references/remote-server.md2.8 KB
  • references/troubleshooting.md3.2 KB
  • scripts/check_action_adapter.py20 KB
  • scripts/render_eval_config.py25.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.