Robot Skill Hub by Superfast Robotics

Meta-World Sawyer peg-insert-side-v3 scripted controller

Meta-World Sawyer peg-insert-side-v3 scripted controller. Bounded, source-pinned simulation with an explicit task contract and retained fixed-case outcomes.

metaworld-sawyer-peg-insert-side-v3 | Record version: 1.0.0

Record JSON | Markdown recipe | Complete search index

Fetch and prepare

curl -fsSL https://hub.superfastrobotics.com/skills/metaworld-sawyer-peg-insert-side-v3/skill.json
curl -fsSL https://hub.superfastrobotics.com/skills/metaworld-sawyer-peg-insert-side-v3/README.md
python /PATH_TO_SKILL/scripts/rsh.py inspect metaworld-sawyer-peg-insert-side-v3 --json
python /PATH_TO_SKILL/scripts/rsh.py prepare metaworld-sawyer-peg-insert-side-v3 --project ./experiment --expected-source-commit c0dafaf1557f31cad3b96ba2b62462f45638f5a5 --expected-record-version 1.0.0 --plan --json

Inspect the requirements, then remove --plan to prepare a project. Preparation verifies the archive SHA256 and preserves exact source pins. --install-deps explicitly installs dependencies. Run the returned simulation command separately.

Environment

Runtime
metaworld 3.1.1
Robot
sawyer
Controller
scripted-policy
Observation
privileged_simulator_state
OS / architecture
linux / x86_64
Python
>=3.11,<3.12

Compatibility status: hub_verified

Privileged simulator observations and goal/state feedback. No physical sensor validation.

Requirements

Headless. EGL libraries are required for MuJoCo imports; PushT uses SDL dummy video. No interactive display.

Packages: metaworld==3.1.1, mujoco==3.3.0, numpy==1.26.4, gymnasium==1.2.0, packaging==25.0

Direct runtime versions are pinned and measured. The receipt retains the complete environment freeze; prepare records the installed environment. System drivers are separate host requirements.

External API keys: none.

Invocation

Executable interface

{
  "version": "1",
  "kind": "task",
  "abstraction_level": 2,
  "execution_domain": "simulation",
  "language": "python",
  "input_transport": "json_file_or_inline",
  "output_transport": "json_stdout",
  "output_selector": "outputs",
  "conventions": {
    "linear_unit": "m",
    "angular_unit": "rad",
    "time_unit": "s",
    "coordinate_frame": "right_handed_world_xyz; +z_up",
    "joint_order": "not_used",
    "quaternion_order": "not_used"
  },
  "input_schema": {
    "type": "object",
    "required": [
      "seed"
    ],
    "properties": {
      "seed": {
        "type": "integer",
        "minimum": 0,
        "maximum": 10000
      }
    },
    "additionalProperties": false
  },
  "output_schema": {
    "type": "object",
    "required": [
      "success_window",
      "native_success",
      "steps",
      "control_effort",
      "hand_movement_m",
      "native_metrics"
    ],
    "properties": {
      "success_window": {
        "type": "array",
        "minItems": 1,
        "maxItems": 20,
        "items": {
          "type": "boolean"
        }
      },
      "native_success": {
        "type": "boolean"
      },
      "steps": {
        "type": "integer",
        "minimum": 1,
        "maximum": 500
      },
      "control_effort": {
        "type": "number",
        "minimum": 0,
        "maximum": 10000
      },
      "hand_movement_m": {
        "type": "number",
        "minimum": 0,
        "maximum": 10,
        "x-unit": "m"
      },
      "native_metrics": {
        "type": "array",
        "minItems": 0,
        "maxItems": 32,
        "items": {
          "type": "object",
          "required": [
            "name",
            "value"
          ],
          "properties": {
            "name": {
              "type": "string",
              "maxLength": 80
            },
            "value": {
              "type": "number",
              "minimum": -10000,
              "maximum": 10000
            }
          },
          "additionalProperties": false
        }
      }
    },
    "additionalProperties": false
  },
  "preconditions": [
    "Use the exact recorded source, Linux Python 3.11 environment and pinned direct packages.",
    "No physical robot, network actuation or external robot credentials."
  ],
  "postconditions": [
    "All reported checks must be true and all output numbers finite.",
    "Success covers the declared goal and frozen cases, not arbitrary tasks or physical hardware."
  ],
  "failure_codes": [
    "invalid_input_or_environment",
    "execution_failed",
    "task_failed"
  ],
  "composition": {
    "depends_on": [],
    "automatic_frame_conversion": false,
    "automatic_hardware_execution": false
  },
  "origin_reference_ids": [
    "metaworld-metaworld-policies-sawyer-peg-insertion-side-v3-policy-py"
  ],
  "origin_relationship": "prepared_from_the_same_pinned_model; inspect the declared controller and goal; no physical compatibility is inferred"
}

Entrypoint: python run.py

{
  "argv": [
    "{python}",
    "{recipe_dir}/run.py",
    "--source-dir",
    "{source_dir}",
    "--example"
  ],
  "inputs": {
    "seed": 0
  },
  "outputs": {
    "format": "single JSON object",
    "payload_selector": "outputs",
    "schema": {
      "type": "object",
      "required": [
        "success_window",
        "native_success",
        "steps",
        "control_effort",
        "hand_movement_m",
        "native_metrics"
      ],
      "properties": {
        "success_window": {
          "type": "array",
          "minItems": 1,
          "maxItems": 20,
          "items": {
            "type": "boolean"
          }
        },
        "native_success": {
          "type": "boolean"
        },
        "steps": {
          "type": "integer",
          "minimum": 1,
          "maximum": 500
        },
        "control_effort": {
          "type": "number",
          "minimum": 0,
          "maximum": 10000
        },
        "hand_movement_m": {
          "type": "number",
          "minimum": 0,
          "maximum": 10,
          "x-unit": "m"
        },
        "native_metrics": {
          "type": "array",
          "minItems": 0,
          "maxItems": 32,
          "items": {
            "type": "object",
            "required": [
              "name",
              "value"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 80
              },
              "value": {
                "type": "number",
                "minimum": -10000,
                "maximum": 10000
              }
            },
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    }
  }
}

Success: All declared goal and finite-state checks pass; exit 0 with task_complete. Five consecutive native task-success predicates within 500 dynamic simulation steps. Task-specific success definitions come from the pinned upstream environment; this is not a general manipulation score.

Timeout: 180 seconds. Terminate the adapter at the recorded timeout. No physical hardware is opened.

Failure modes

Source and license

Repository
https://github.com/Farama-Foundation/Metaworld
Authors
Original Metaworld contributors; preserve all pinned source and asset notices
Commit
c0dafaf1557f31cad3b96ba2b62462f45638f5a5
Archive SHA256
ea091176e3be68314432025d945fa7005f50cc82b319db3cc19374d37c6b52c0
License
MIT
Hub commit
d800c48cfd84f618a5c6ab84f8f7feec74ab0b56

Evidence

Runtime: task_complete / task_complete

All 3 frozen cases completed against this exact adapter and source.

Reviewer: Hub finite-case Lambda execution harness | 2026-10-20

Submitter reports and hub verification remain separate. Source review does not establish task success.