/install brouter
brouter
This OpenClaw skill queries the brouter.de webservice and generate GPX bike tracks.
Usage
Natural language prompts
You can trigger this skill with prompts like:
- "Create a GPX for a bike route from [origin] to [destination] (profile: [profile])."
- "Give me a quiet route from Prenzlauer Berg to Kreuzberg as a GPX."
- "I need a fast bike route from Berlin Hauptbahnhof to Alexanderplatz as a GPX file."
Parameters to extract
When using this skill, identify:
- origin: Free-text description of the starting location.
- destination: Free-text description of the end location.
- profile : One of the supported brouter profiles below.
Parse all location data to coordinates before using index.js. Never use free-text descriptions of locations directly as input for index.js. Use coordinates as origin and destination input for index.js.
Heuristics for choosing a profile
- Prefer
trekkingwhen the user does not specify a preference. - Prefer
trekking-fastwhen the user asks for a fast or time-efficient route. - Prefer
trekking-safeorshortbikewhen the user asks for a quiet, safe, or kid-friendly route. - Prefer
fastbikewhen the user mentions road bike, speed, or being an experienced cyclist. - Prefer
mopedonly if the user explicitly indicates using a moped or similar vehicle.
Agent implementation: coordinates
When this skill is triggered, the agent should first derive coordinates from the user's origin and destination, then use index.js to make structured request to brouter.de
1. Derive coordinates from user input
- Extract plain-text locations:
origin— starting pointdestination— end point
- If the user already supplies coordinates (e.g.
13.4244,52.5388), use them directly. - Otherwise, geocode the locations into
lon,latpairs - Ensure the final values are strings in the form:
"\x3Clon>,\x3Clat>"(longitude first, then latitude)
2. Use index.js
Once you have start and end as lon,lat strings and a chosen profile, use the index.js as follows:
cd workspace/skills/brouter && node -e "(async () => { const run = require('./index'); const result = await run({ start: '\x3Clon>,\x3Clat>', end: '\x3Clon>,\x3Clat>', profile: '\x3Cprofile>' }); console.log(result); })().catch(err => console.error(err));"
Reply to the user with the response file found in routes/ folder.
See the earlier "Derive coordinates from user input" section for recommended heuristics when turning user prompts into coordinates.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install brouter - 安装完成后,直接呼叫该 Skill 的名称或使用
/brouter触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Brouter 是什么?
Generate GPX bike routes via brouter.de. Use when the user wants a bike route as a GPX file between two places, optionally specifying a routing profile. http... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 314 次。
如何安装 Brouter?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install brouter」即可一键安装,无需额外配置。
Brouter 是免费的吗?
是的,Brouter 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Brouter 支持哪些平台?
Brouter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Brouter?
由 si-gr(@si-gr)开发并维护,当前版本 v1.0.2。