Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- Updated requirement: now only requires python3 (3.6+) instead of curl and python3. - Updated metadata and description to reflect the change in required dependencies.
What This Skill Does
Calculates distances, travel times, and routes between locations using OSRM's public routing server. Geocodes place names to coordinates via Nominatim and OpenStreetMap. No account or API key needed.
Provides routing and geocoding without an API key or account, unlike Google Maps or Mapbox which require registration and have usage costs.
When to use it
- Finding driving distance between two cities
- Estimating walking time to a nearby landmark
- Converting a street address to GPS coordinates
- Comparing cycling vs driving travel time
- Planning a road trip with distance estimates
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: How long does it take to drive from Times Square to JFK Airport?
- 1Geocode 'Times Square, New York' with geocode.sh to get lat/lon
- 2Geocode 'JFK Airport, New York' with geocode.sh to get lat/lon
- 3Run distance.sh with both coordinate pairs in driving mode
- 4Parse the returned distance in km and duration in minutes
Driving distance is approximately 22 km, estimated travel time is 35 minutes