Install any skill in seconds. Free to start, no credit card required.
Get Started Free →matlab/roadrunner-convert-lanelet2-to-rrhd
Convert Lanelet2 maps (.osm) to RoadRunner HD Map (.rrhd) format using MATLAB.
Passed 15 of 20 test cases with the skill, and 3 of 20 without it.
and 15 more in the full report
13 fixed3 passed either way6 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 13 test cases the skill fixed. Same model, same prompt, with and without the skill.
I have an OpenStreetMap dataset `city_center.osm` downloaded from openstreetmap.org containing `highway=primary` and `highway=secondary` ways, but no `type=lanelet` relations. Please write a MATLAB conversion script to turn this into a RoadRunner HD map file.
| Checked | Without skill | With skill |
|---|---|---|
| Informs the user that standard OpenStreetMap files without `type=lanelet` relations are not supported by this conversion pipeline. | Missed | Passed |
| Refuses to execute a Lanelet2-to-RRHD conversion script on the non-Lanelet OSM file. | Missed | Passed |
The instructions your model reads when the skill loads.
Converts Lanelet2 .osm files to RoadRunner HD Map .rrhd format.
.osm file to RoadRunner HD Map .rrhd format.osm sources that contain type=lanelet relationstype=lanelet relations).xodr — import directly via roadrunner-import-sceneroadrunner-rrhd-authoringroadrunner-asset-mappingevaluate_matlab_code. Write to a .m file, run with run_matlab_file, edit on error. Exception: if the user asks to "show the pattern" or says "do not execute", show code inline without writing files.wayToBndID map."Forward" for all boundaries.max(10, round(avgLen), nLeft, nRight).write(). Alignment, spatial, extension, and completeness checks are mandatory.Generate MATLAB code that performs the conversion pipeline described below. Run it via mcp__matlab__evaluate_matlab_code. No pre-built scripts or addpath calls are needed — Claude generates all code at runtime from these instructions.
MANDATORY: ALL steps must be executed. Do NOT stop after writing lanes/boundaries. The pipeline is incomplete without: junctions, curve markings (stop lines + crosswalks), barriers, signs, and speed limits. Every element found in the OSM MUST appear in the output RRHD.
MANDATORY: Steps 3b and 3c (discovery) must execute IN THE SAME code block as Step 3a. These are not optional post-processing — they are part of parsing. The discovery loop code is inlined below in Step 3. If you skip 3b/3c, the completeness gate in Step 9 will fail with assertion errors.
Scope: This skill supports Lanelet2 OSM only. If the input is a standard OpenStreetMap file (highway=* ways without type=lanelet relations), do NOT attempt conversion. Instead inform the user: "This file appears to be a standard OpenStreetMap road network, not a Lanelet2 map. This skill only supports Lanelet2 OSM → RRHD conversion."
Companion skills (invoke automatically during conversion):
test cases passed, vs 3 / 20 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.