Awesome-omni-skill routing-profiles
Change the Routing Solution routing profiles/vehicle types. To be used as part of customize-main skill
git clone https://github.com/diegosouzapw/awesome-omni-skill
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data-ai/routing-profiles" ~/.claude/skills/diegosouzapw-awesome-omni-skill-routing-profiles && rm -rf "$T"
skills/data-ai/routing-profiles/SKILL.mdCustomize Routing Profiles
WARNING: This subskill cannot be run independently. It must be invoked from the
router. It only updates the config file -- it does NOT restart services or rebuild routing graphs. The router handles service restarts, graph rebuilding, MAP_CONFIG updates, and Function Tester redeployment in Steps 4-6 after this subskill completes.customize-main
Configure which routing profiles are available in your Routing Solution.
Prerequisites
- Active Snowflake connection
- OpenRouteService Native App deployed
Input Parameters
: Target region name selected by user (e.g., "great-britain", "switzerland", "new-york")<REGION_NAME>
Available Profiles
| Profile | Category | Description |
|---|---|---|
| Driving | Standard passenger vehicles |
| Driving | Heavy goods vehicles (trucks) |
| Cycling | Standard bicycles |
| Cycling | Road/racing bicycles |
| Cycling | Mountain bikes |
| Cycling | Electric bicycles |
| Foot | Standard walking |
| Foot | Hiking trails |
| Wheelchair | Wheelchair accessible routes |
Workflow
Step 1: Get User Preferences
Goal: Determine which profiles to enable/disable
Actions:
-
Ask user what changes they want:
- "Which profiles do you want to ENABLE?" (list any currently disabled)
- "Which profiles do you want to DISABLE?" (list any currently enabled)
-
Warn about resource impact:
- More profiles = longer graph build time
- More profiles = more memory usage
- Default (car, cycling-road, walking) covers most use cases
Output: User selections recorded
Step 2: Update Configuration
Goal: Modify ors-config.yml with new profile settings
Actions:
-
Edit
:oss-build-routing-solution-in-snowflake/Native_app/provider_setup/staged_files/ors-config.yml- For each profile, set
orenabled: trueenabled: false
Example structure:
ors: engine: profiles: driving-car: enabled: true driving-hgv: enabled: false cycling-regular: enabled: false cycling-road: enabled: true cycling-mountain: enabled: false cycling-electric: enabled: false foot-walking: enabled: true foot-hiking: enabled: false wheelchair: enabled: false - For each profile, set
-
Upload modified file:
snow stage copy oss-build-routing-solution-in-snowflake/Native_app/provider_setup/staged_files/ors-config.yml @OPENROUTESERVICE_NATIVE_APP.CORE.ORS_SPCS_STAGE/<REGION_NAME>/ --connection <ACTIVE_CONNECTION> --overwrite
Output: Configuration updated with new profiles
Return to Router
After completing all steps in this subskill, return to the customize-main router and continue from Step 4: Update Routing Graphs. This subskill does NOT restart services or rebuild graphs -- the router handles that.
Stopping Points
- ✋ After Step 1: Confirm user selections before modifying config