executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
highway-envUse Farama HighwayEnv for Gymnasium autonomous-driving environments, simulation configuration, road/vehicle dynamics, and bounded RL rollouts.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this repo skill when a task involves highway-env / HighwayEnv autonomous-driving simulation environments: creating Gymnasium envs, choosing scenario IDs, configuring observations/actions/rewards, rendering or recording rollouts, building custom road/vehicle scenarios, or preparing safe reinforcement-learning smoke tests.
HighwayEnv is a Python package named highway-env with import package highway_env. It registers Gymnasium environments for highway, merge, roundabout, parking, intersection, racetrack, lane-keeping, two-way, exit, and U-turn driving tasks.
import gymnasium as gym
import highway_env
gym.register_envs(highway_env) # idempotent and useful for tools/linters
env = gym.make("highway-v0", config={"duration": 5, "vehicles_count": 10})
try:
obs, info = env.reset(seed=0)
terminated = truncated = False
while not (terminated or truncated):
obs, reward, terminated, truncated, info = env.step(env.action_space.sample())
finally:
env.close()
If the package or environment lookup is suspect, run scripts/check_highway_env_install.py. It imports the package, lists registered HighwayEnv IDs, makes a selected env, runs a bounded sampled-action rollout, and can optionally check rgb_array rendering.
gym.make, registration, reset/step/close loops, config update timing, render modes, vectorization, multi-agent wrappers, and finite-MDP helpers.config={...} dictionaries that change observation spaces, action spaces, reward components, goal observations, info fields, or action availability.RoadNetwork, lanes, roads, vehicles, controllers, behaviour models, obstacles/landmarks, connected-lane neighbour detection, and custom environment classes.references/repo-routing-metadata.json contains managed router placement metadata for DisCo's repo-skill library.highway_env before gym.make("highway-v0"); direct Gymnasium lookup can fail if environments were not registered in the current process.obs, info = env.reset(...) and obs, reward, terminated, truncated, info = env.step(action).while True unless an external runner imposes a hard timeout.render_mode="rgb_array" for headless frame capture. Use render_mode="human" only for local interactive viewing.highway-env.