Skip to content
Back to skills

Run Experiment

ASecurity

Runs existing Isaac Lab-Arena Experiment Definitions locally with experiment_runner.py in a ready native or Docker runtime, coordinates required local OpenPI or GR00T servers, applies local CLI overrides, and verifies generated result and report artifacts. Use for local named-Run or batch policy evaluations, variation listing, visualization or video, and result inspection. Do not use for installation or runtime preparation (setup-arena), pytest or regression checks (run-tests), interactive no...

  • 677 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 3, 2026
devopspythonshellbashdockertestinggitdocumentation

Works with

  • cli

Security analysis

A100/100

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

Scanned December 1, 2026

npx -y skills add isaac-sim/IsaacLab-Arena --skill run-experiment --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Run Experiment?

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

Security grade badge for Run Experiment
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/isaac-sim-run-experiment/badge)](https://www.skillsdirectory.com/skills/isaac-sim-run-experiment)

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: run-experiment
description: Runs existing Isaac Lab-Arena Experiment Definitions locally with experiment_runner.py in a ready native or Docker runtime, coordinates required local OpenPI or GR00T servers, applies local CLI overrides, and verifies generated result and report artifacts. Use for local named-Run or batch policy evaluations, variation listing, visualization or video, and result inspection. Do not use for installation or runtime preparation (setup-arena), pytest or regression checks (run-tests), interactive no-policy inspection (environment_runner.py), visual inspection of a scene or running simulation (inspect-sim-visually), direct Policy Runner workflows, or OSMO preview, submission, or management.
allowed-tools: Read Grep Glob Skill Bash(git rev-parse --show-toplevel) Bash(id --user --name) Bash(test -d *) Bash(test -f *) Bash(test -x .venv/bin/python) Bash(env OMNI_KIT_ACCEPT_EULA=YES ACCEPT_EULA=Y .venv/bin/python isaaclab_arena/evaluation/experiment_runner.py *) Bash(docker ps *) Bash(docker exec *) Bash(xdg-open *)
---

# Run Experiment

Execute an existing Experiment Definition locally and finish with evidence from its canonical
artifacts. Keep runtime readiness, regression testing, direct Policy Runner workflows, and managed
submission outside this skill.

## Read the checked-out documentation

Before composing a command, read:

- `docs/pages/concepts/concept_arena_experiments.rst` for Experiment structure and override rules.
- `docs/pages/quickstart/arena_experiment.rst` for the maintained local example.
- `docs/pages/quickstart/environment_variations.rst` when listing or applying variations.

Treat the current checkout as the source of truth. If this skill differs from the documentation or
runner CLI, follow the checkout and report the mismatch.

Experiments are typed YAML files. The runner rejects legacy JSON configs; rewrite their jobs as
Runs in a YAML Experiment.

## Preflight the run

1. Confirm the repository root with `git rev-parse --show-toplevel`.
2. Resolve an explicit Experiment path. Never rely on the runner's default configuration, which is
   only an installation smoke test.
3. Inspect the Experiment's Runs, policies, rollout limits, rebuild counts, environment counts,
   cameras, variations, and referenced files. Summarize unexpectedly large work before starting it.
4. Use `arena-runtime` to select the checkout's ready native uv or Docker route. If it finds no
   ready route, stop and suggest installing Arena through `setup-arena`; do not install
   dependencies, build an image, create mounts, or recreate a container here.
5. Confirm that referenced configs, datasets, checkpoints, and output locations are available from
   the selected runtime. Identify a policy from each Run's resolved `policy.type`, not the
   Experiment filename.
6. For an OpenPI `Pi0RemotePolicy` or registered `pi0_remote` policy whose `remote_host` is local,
   use `serve-openpi-policy` for each distinct variant and port. It must reuse a compatible ready
   server or start one before this workflow launches the Experiment; the user does not need to
   invoke that skill separately. If Runs request different variants on the same port, stop and ask
   the user to resolve the conflict.
7. For a GR00T `Gr00tRemoteClosedloopPolicy` or registered `gr00t_remote_closedloop` policy whose
   `remote_host` is local, use `serve-gr00t-policy`. It may automatically start the maintained
   N1.6-DROID server or require an explicit model and embodiment for another client configuration;
   the Experiment does not declare the server checkpoint. If multiple Runs require incompatible
   server contracts on one port, resolve the conflict before launching.
8. For a supported policy pointing to another host, or another remote policy without a matching
   local server skill, require an already-running and reachable endpoint. Do not replace a
   deliberately remote endpoint with a local server or submit it to managed compute.

For a built-in example evaluation, use
`isaaclab_arena_environments/experiment_configs/getting_started_experiment.yaml`. It uses the local
zero-action policy and requires no model or policy server.

## Select execution options

- Default to `--viz none` for unattended execution. Use `--viz kit` only when requested.
- Record viewport or camera video only when requested. Camera recording enables camera support and
  can materially increase GPU memory and output size.
- Preserve the runner's default stop-on-first-error behavior. Add `--continue_on_error` only when
  the user wants the remaining Runs attempted after a failure.
- Use `--serve_evaluation_report` only when explicitly requested; it binds an HTTP server and keeps
  the process running until interrupted. Its default port, 8000, is also the default OpenPI server
  port, so pass a free `--evaluation_report_port` when a local policy server uses port 8000.
  To view the report on the machine that ran the Experiment, open `index.html` directly instead of
  serving it.
- Use `--list_variations` as an inspection operation. It does not run rollouts or create Experiment
  result artifacts.
- Let the runner create a timestamped directory below `outputs/` unless the user chooses a base or
  exact output location. An exact `--experiment_output_directory` must be missing or empty. Never
  clear or reuse a nonempty directory. If a requested exact directory is nonempty, stop and offer
  either a different exact directory or a fresh timestamped child through `--output_base_dir`; do
  not silently change the output semantics.

## Build the local command

Always pass `--experiment_config` explicitly. Keep runner flags separate from trailing Hydra
overrides.

Replace `<arena-python>` with the launcher for the route selected by `arena-runtime`:
`env OMNI_KIT_ACCEPT_EULA=YES ACCEPT_EULA=Y .venv/bin/python` from the repository root for native
uv, or `docker exec --user <host-user> <container> isaaclab.sh -p` for Docker.

```bash
<arena-python> isaaclab_arena/evaluation/experiment_runner.py \
  --experiment_config <experiment.yaml> \
  --viz none \
  <override>...
```

Use the local override namespace:

```text
shared.rollout_limit.num_episodes=4
runs.parallel_envs.environment_builder.num_envs=8
```

Do not prefix local overrides with `experiment_cfg.`; that prefix belongs to OSMO submission.
Quote override tokens that contain shell-sensitive characters. Do not edit the source YAML when a
declared field can be changed with an override.

## Execute and monitor

Run the command in the selected ready runtime and wait for it to finish. Runs execute in YAML order
inside one SimulationApp; each Run builds a fresh environment. Report meaningful progress during a
long evaluation.

On failure, preserve the logs and partial output. Do not delete artifacts or silently rerun with
different settings. By default, an early failure can prevent creation of the canonical result and
report. With `--continue_on_error`, the process can exit zero even when one or more Runs failed.

## Verify the outcome

For an evaluation that reaches finalization:

1. Locate the exact Experiment output directory printed by the runner.
2. Require `arena_experiment_result.json` and `index.html`.
3. Read every Run's `status` from `arena_experiment_result.json` and report completed and failed Runs.
4. Confirm expected `episode_results_rebuild<N>.jsonl` files under each completed Run directory.
5. Report requested videos and the HTML report path when present.
6. When the user asks to open the report, run `xdg-open <index.html>` on the host after
   finalization. For Docker, replace the `/workspaces/isaaclab_arena` prefix of the printed output
   path with the host repository root. If no browser opens, report the host path instead.

Treat the canonical result statuses, not process exit alone, as the workflow outcome. Keep policy
task success separate from execution success: zero-action episodes are expected to be semantically
unsuccessful while still proving that the evaluation pipeline works. When the Runs finish, the
runner's Run table shows each Run's recorded episodes and success rate, plus each subtask's success rate
for composite tasks; per-episode results are in the episode JSONL files and `arena_experiment_result.json`.

For `--list_variations`, report the catalogue and explicitly state that no rollout or output
artifacts were expected.

Finish with the selected runtime, any policy-server endpoint and whether it was reused or started,
the Experiment path, effective overrides, output path, per-Run statuses, episode counts, and any
preserved partial artifacts or failures.

## Hand off other workflows

- Use [author-environment](../../developer/author-environment/SKILL.md) to create or change an environment's
  scene, placement, task semantics, or available variations before executing an Experiment.
- Use `setup-arena` for installation, container creation, mounts, or readiness repair.
- Use `run-tests` for pytest and regression checks.
- Use the Environment Runner for interactive inspection without a policy.
- Use [inspect-sim-visually](../../developer/inspect-sim-visually/SKILL.md) when an agent needs to see a scene or
  running simulation.
- Use the Policy Runner for external environments or an explicitly requested direct rollout
  outside an Experiment Definition.
- Use a separate OSMO submission skill for previews, cluster resources, submission, monitoring, or
  remote result download. An unqualified request to "run" an Experiment means local execution.
- Use `serve-openpi-policy` automatically when a local OpenPI Experiment needs a compatible server.
  Leave that server running after the Experiment unless the user asks to stop it.
- Use `serve-gr00t-policy` automatically when a local GR00T Experiment needs a compatible server.
  Leave that server running after the Experiment unless the user asks to stop it.

## References

- [Evaluations](evaluations.md)
- [Arena runtime skill](../arena-runtime/SKILL.md)
- [OpenPI server skill](../serve-openpi-policy/SKILL.md)
- [GR00T server skill](../serve-gr00t-policy/SKILL.md)
- [Arena Experiments](../../../docs/pages/concepts/concept_arena_experiments.rst)
- [First Arena Experiment](../../../docs/pages/quickstart/arena_experiment.rst)
- [Environment variations](../../../docs/pages/quickstart/environment_variations.rst)
- [Experiment Runner CLI](../../../isaaclab_arena/evaluation/experiment_runner_cli.py)

Files in this skill

  • SKILL.md9.6 KB
  • evaluations.md6.7 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.

View all in devops →

Comments

Loading comments…

Newsletter

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