← 返回 Skills 市场
OSRM Maps Skill
作者
Adhish Thite
· GitHub ↗
· v1.0.3
809
总下载
0
收藏
2
当前安装
4
版本数
在 OpenClaw 中安装
/install maps-osrm
功能描述
Distance, routing, and geocoding using free APIs (OSRM + Nominatim/OSM). Use when the user asks about distance between places, travel time, directions, how f...
使用说明 (SKILL.md)
Maps
Free distance/routing (OSRM) and geocoding (Nominatim/OSM). No API keys needed.
Geocoding (place name → coordinates)
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 scripts/distance.sh \x3Corigin_lat>,\x3Corigin_lon> \x3Cdest_lat>,\x3Cdest_lon> [mode]
Modes: driving (default), foot, bicycle
Examples:
# 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
- If user gives place names → geocode both with
geocode.sh - Use returned lat,lon pairs with
distance.sh - 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)
安全使用建议
This skill appears coherent and implements what it claims. Important considerations before installing: (1) The scripts make network requests to public Nominatim (nominatim.openstreetmap.org) and OSRM (router.project-osrm.org); any place names or coordinates you pass will be sent to those services. Do not send sensitive or private location data unless you are comfortable with that. (2) Nominatim politely requires ~1 request/second and a descriptive User-Agent (the scripts set one); avoid high-volume use — for production/high-volume use, self-hosting these services is recommended. (3) The scripts validate inputs and avoid shell injection by delegating to python, which is good practice, but you should still review and run them in a controlled environment if you have strict security policies. (4) If you need offline or private routing/geocoding, host your own OSRM/Nominatim instances instead of using the public demo servers.
功能分析
Type: OpenClaw Skill
Name: maps-osrm
Version: 1.0.3
The OpenClaw Maps skill bundle is benign. It provides distance, routing, and geocoding functionality using legitimate, well-known public APIs (OSRM and Nominatim/OSM). The scripts (`scripts/distance.sh`, `scripts/geocode.sh`) delegate URL construction and input validation to inline Python code, which properly sanitizes user input (e.g., `urllib.parse.quote` for geocoding queries, regex and range validation for coordinates) before making network requests. There is no evidence of prompt injection attempts in `SKILL.md` or `README.md`, nor any code for data exfiltration, malicious execution, persistence, or obfuscation.
能力评估
Purpose & Capability
Name/description (OSRM + Nominatim geocoding and routing) matches the included scripts and SKILL.md. The only runtime dependency is python3, which is reasonable for the provided Python one-liners. No unexplained binaries, env vars, or config paths are requested.
Instruction Scope
SKILL.md instructs running two scripts that (a) query Nominatim for geocoding and (b) query OSRM for routing. The scripts validate inputs, set a User-Agent, and do not read arbitrary files, environment variables, or other system state. They perform network calls only to the documented public endpoints.
Install Mechanism
No install spec; it's instruction-only with bundled scripts. Nothing is downloaded or extracted at install time and the scripts rely on existing system python3, which is low-risk.
Credentials
The skill requires no credentials or environment variables. It does make outbound requests to public OSRM and Nominatim endpoints (documented); this is proportionate to the stated functionality.
Persistence & Privilege
always is false, the skill is user-invocable and does not request persistent system privileges or modify other skills. It does not store tokens or change system configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install maps-osrm - 安装完成后,直接呼叫该 Skill 的名称或使用
/maps-osrm触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- Updated requirement: now only requires python3 (3.6+) instead of curl and python3.
- Updated metadata and description to reflect the change in required dependencies.
v1.0.2
- No changes detected in this version.
- Functionality and documentation remain unchanged.
v1.0.1
- Added a README.md file with documentation for the maps-osrm skill.
- Updated requirements in SKILL.md to specify that curl and python3 are needed.
- Improved usage examples with more varied city locations.
- Expanded details on routing limits and clarified that no live traffic or public transit data is included.
v1.0.0
Initial release of maps-osrm skill.
- Provides distance, routing (OSRM), and geocoding (Nominatim) using free, no-auth APIs.
- Converts place names to coordinates and calculates distance & travel time for driving, walking, or bicycling.
- Simple bash scripts: geocode.sh for places to coordinates, distance.sh for route info.
- No API keys or authentication required.
- Currently includes example locations for Pune.
- Note: No real-time traffic data; durations are estimates.
元数据
常见问题
OSRM Maps Skill 是什么?
Distance, routing, and geocoding using free APIs (OSRM + Nominatim/OSM). Use when the user asks about distance between places, travel time, directions, how f... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 809 次。
如何安装 OSRM Maps Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install maps-osrm」即可一键安装,无需额外配置。
OSRM Maps Skill 是免费的吗?
是的,OSRM Maps Skill 完全免费(开源免费),可自由下载、安装和使用。
OSRM Maps Skill 支持哪些平台?
OSRM Maps Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OSRM Maps Skill?
由 Adhish Thite(@adhishthite)开发并维护,当前版本 v1.0.3。
推荐 Skills