webots-supervisor
Use this skill to operate the Webots Supervisor API as the scene-level control layer for experiments, reinforcement learning loops, and automated test orchestration.
Treat Supervisor as an extension of Robot: all Robot API calls still apply, plus privileged scene graph access and mutation.
Do not explain basic controller structure, sensor APIs, or actuator APIs in this skill. Delegate those topics to webots-controller-programming.
When to use
- Use for scene tree access (
getFromDef,getFromId,getRoot,getSelf). - Use for field read/write and MF insertion/removal/import workflows.
- Use for trajectory/state tracking (pose, orientation matrix, velocity, COM, contacts).
- Use for dynamic spawn/remove/reset operations in episodic RL and regression tests.
- Use for simulation mode control, world save/load/reload, and movie/animation capture.
Enabling Supervisor
Set the supervisor field of the controller's Robot node to TRUE in the world file.
Python:
More from bowtiedswan/webots-skills
webots-physics
Use this skill when configuring physics simulation in Webots - ODE engine parameters, joints (HingeJoint, SliderJoint, BallJoint), collision detection, contact properties, fluid dynamics, physics plugins, damping, or performance tuning. Triggers on: webots physics, ODE, joint, HingeJoint, SliderJoint, collision, contact, friction, bounce, damping, fluid, buoyancy, physics plugin, ERP, CFM.
1webots-advanced
Use this skill for advanced Webots topics: ROS/ROS2 integration, transfer to real robots, numerical optimization, extern robot controllers, TCP/IP interfacing, performance optimization, known bugs/workarounds, plugin development (controller/robot window), building Webots from source, and multi-robot coordination. Triggers on: webots ROS, ROS2, webots_ros2, transfer to robot, extern controller, TCP/IP, optimization, known bugs, plugin, multi-robot, numerical optimization.
1webots-actuators
Use this skill when working with any Webots actuator - RotationalMotor, LinearMotor, Brake, LED, Display, Emitter, Speaker, Pen, Propeller, Connector, Muscle, or Track. Covers motor control modes (position, velocity, torque), actuator configuration, and command patterns. Triggers on: webots motor, setPosition, setVelocity, actuator, LED, display, emitter, propeller, brake, speaker, track.
1webots-proto
Use this skill when creating, modifying, or using PROTO nodes in Webots - reusable parameterized node templates for robots, objects, or environments. Covers PROTO definition syntax, field types, IS keyword, procedural PROTOs with JavaScript, scoping rules, and design guidelines. Triggers on: webots proto, .proto file, PROTO definition, IS keyword, parameterized node, reusable robot, procedural proto, custom node.
1webots-sensors
Use this skill when working with any Webots sensor - Camera, Lidar, DistanceSensor, GPS, Gyro, Accelerometer, InertialUnit, Compass, TouchSensor, RangeFinder, Radar, LightSensor, PositionSensor, Receiver, or Altimeter. Covers sensor configuration, enable/disable, reading values, and processing sensor data. Triggers on: webots sensor, camera, lidar, distance sensor, GPS, gyro, accelerometer, IMU, touch sensor, range finder, radar.
1webots-core
Use this skill when working with the Webots robotics simulation platform for installation, project setup, understanding core concepts (world files, nodes, scene tree, Robot/MjData equivalent), or basic simulation workflows. Triggers on: webots, robotics simulation, .wbt files, scene tree, WorldInfo, Viewpoint, simulation step, wb_robot_step.
1