一键导入
calculate-travel-time
How long from A to B? Returns driving/cycling/walking time + distance via the maps connector.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How long from A to B? Returns driving/cycling/walking time + distance via the maps connector.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a new contact (person or business) with ALL its channels and address in one call.
Fetch the full body and metadata of a single email by message_id.
Record a new bill / recurring expense
Create a new calendar event in Yorik's local calendar
Attach a postal address (home, work, billing, shipping) to an existing contact.
Attach a channel (email, phone, whatsapp, signal, sms, website, social) to a contact.
| name | calculate_travel_time |
| description | How long from A to B? Returns driving/cycling/walking time + distance via the maps connector. |
| when_to_use | Whenever the user asks "wie lange brauche ich nach X", "how long to get to Y", "wie weit ist Z", "kann ich in 30 Minuten in Hannover sein". Also called internally by add_calendar_event when a location is set — you don't need to call it manually for that case (it happens server-side). Defaults: - `from` defaults to the user's home address (read from their profile) when omitted. Useful for "wie lange nach Hamburg" without the user having to specify their start point. - `mode` defaults to `driving`. Pass `cycling` / `walking` for those modes when the user mentioned bike or foot. If maps connector isn't reachable or returns no route, the skill returns a clear "couldn't compute" hint — surface that to the user honestly ("ich konnte die Fahrzeit gerade nicht berechnen") instead of making up a duration. |
| inputs | {"to":{"type":"string","required":true,"description":"Destination — address, city, or POI name. The skill geocodes it via Nominatim."},"from":{"type":"string","required":false,"description":"Start point. Same format as `to`. Omit to use the user's home address from their profile."},"mode":{"type":"string","required":false,"default":"driving","description":"'driving' (default) | 'cycling' | 'walking'."}} |
| outputs | {"duration_min":{"type":"integer","description":"Travel time in minutes."},"duration_human":{"type":"string","description":"Pretty form, e.g. \"1h 25 min\" or \"23 min\"."},"distance_km":{"type":"number","description":"Distance in kilometres (rounded to 1 decimal)."},"provider":{"type":"string","description":"Which backend answered — \"osrm\" or \"ors\"."}} |
| permissions | ["admin","member","restricted"] |
| side_effects | none — read only. Hits the maps connector (Nominatim + OSRM/ORS). |
| tags | ["maps","routing","travel"] |
Thin wrapper around maps.directions that defaults the from address
to the user's home (so "wie lange nach Hamburg" works without the user
specifying a starting point) and returns a flat shape the chat can
quote naturally.