TopRank Skills

Official OpenClaw rules 72%

maps

Distance, routing, and geocoding using free APIs (OSRM + Nominatim/OSM). Use when the user asks about distance between places, travel time, directions, how far something is, or needs to convert a place name to coordinates. No API key required. Requires python3 (3.6+).

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 maps 技能。 若已安装,则直接安装 maps 技能。

Overview

Skill Key
adhishthite/maps-osrm
Author
adhishthite
Source Repo
openclaw/skills
Version
-
Source Path
skills/adhishthite/maps-osrm
Latest Commit SHA
ebbe0144eb49a136d4ba09969f092a1748cbfe5a

Extracted Content

SKILL.md excerpt

# Maps

Free distance/routing (OSRM) and geocoding (Nominatim/OSM). No API keys needed.

## Geocoding (place name → coordinates)

```bash
bash scripts/geocode.sh "Times Square, New York"
```

Returns lat,lon and display name. Use this first when you have place names instead of coordinates.

## Distance & Route

```bash
bash scripts/distance.sh <origin_lat>,<origin_lon> <dest_lat>,<dest_lon> [mode]
```

Modes: `driving` (default), `foot`, `bicycle`

Examples:
```bash
# Manhattan to JFK Airport
bash scripts/distance.sh 40.7580,-73.9855 40.6413,-73.7781 driving

# Golden Gate Park to Fisherman's Wharf (walking)
bash scripts/distance.sh 37.7694,-122.4862 37.8080,-122.4177 foot
```

## Workflow

1. If user gives place names → geocode both with `geocode.sh`
2. Use returned lat,lon pairs with `distance.sh`
3. Report distance in km and duration in minutes

## Limits

- OSRM: free public demo server, no hard rate limit but be reasonable
- Nominatim: max 1 request/second (OSM policy), include User-Agent
- No live traffic data — durations are estimates based on road type/speed
- Routing is road-network only (no public transit)

README excerpt

# Maps Skill

Free distance, routing, and geocoding for OpenClaw — no API keys required.

## What it does

- **Geocode** place names to coordinates using [Nominatim](https://nominatim.openstreetmap.org/) (OpenStreetMap)
- **Route & distance** between two points using [OSRM](https://router.project-osrm.org/) (Open Source Routing Machine)
- Supports driving, walking, and cycling modes

## Requirements

- `python3` (3.6+)
- POSIX shell (bash)

## Usage

### Geocode a place

```bash
bash scripts/geocode.sh "Central Park, New York"
# [1] Central Park, Manhattan, New York, USA
#     lat,lon: 40.7828647,-73.9653551
#     type: park / leisure
```

### Get distance & travel time

```bash
bash scripts/distance.sh 40.7580,-73.9855 40.6413,-73.7781 driving
# Mode: driving
# Distance: 20.3 km
# Duration: 22 min
```

### Modes

| Mode | Aliases |
|------|---------|
| Driving | `driving`, `car` |
| Walking | `foot`, `walk`, `walking` |
| Cycling | `bicycle`, `bike`, `cycling` |

## How it works

- **Geocoding**: Queries Nominatim's free API (1 req/sec rate limit per OSM policy)
- **Routing**: Queries OSRM's public demo server for shortest path on the road network
- **No API keys** needed — both services are free and open

## Limitations

- No live traffic data — durations are road-type estimates
- No public transit routing
- OSRM demo server is best-effort (not for high-volume production use)
- Nominatim rate limit: 1 request per second

## License

MIT

Related Claw Skills

capt-marbles

phantombuster

★ 0

Control PhantomBuster automation agents via API. List agents, launch automations, get output/results, check status, and abort running agents. Use when the user needs to run LinkedIn scraping, Twitter automation, lead generation phantoms, or any PhantomBuster workflow.

dgorissen

stormglass-surf-skill

★ 0

Fetch surf-relevant ocean conditions from Stormglass by spot name or coordinates, including current snapshot and 1-3 day forecast windows with tides, gusts, and water temperature. Use when users ask for surf reports, wave or swell conditions, tide timing, wind, gusts, or water temperature for a beach or surf spot.

coderaven

brain

★ 0

Personal knowledge base for capturing and retrieving information about people, places, restaurants, games, tech, events, media, ideas, and organizations. Use when: user mentions a person, place, restaurant, landmark, game, device, event, book/show, idea, or company. Trigger phrases: "remember", "note that", "met this person", "visited", "played", "what do I know about", etc. Brain entries take precedence over daily logs for named entities.

cutthemustard

geocode-lookup

★ 0

Forward/reverse geocoding and great-circle distance calculations.

cotyledonlab

irish-takeaway

★ 0

Find nearby takeaways in Ireland and browse menus via Deliveroo/Just Eat. Uses Google Places API for discovery and browser automation for menu scraping.

coreyleung-art

baidu-map

★ 0

使用百度地图Web服务API进行地点搜索、天气查询、路线规划和地理编码。