跳到正文
TakoAPI
返回技能列表

trail-nav-telegram

由 jack4world 提供

Coding Agents & IDEs
—暂无评分
你的评分

简介

Offline-capable hiking route guidance via Telegram location messages (OpenClaw)

描述

该技能的功能

Hiking route guidance agent that operates through Telegram. Users send location messages to get real-time off-route detection and directional guidance from imported GPX/KML routes. Also handles route discovery on 2bulu, weather alerts via Open-Meteo, and overnight trip safety and gear checklists.

All route geometry is calculated deterministically, so LLM calls are minimal, making frequent location checks during a hike cheap to run.

何时使用

  • Checking if you've drifted off a trail mid-hike
  • Getting direction guidance by sending your GPS location in Telegram
  • Finding public hiking tracks on 2bulu without logging in
  • Generating a gear list before an overnight hike
  • Receiving weather change alerts during a summit or trail run

示例工作流

输入

User sends a GPX file via Telegram, then sends their current location

智能体
  1. 1

    Parse GPX file and build a simplified RoutePack with bbox and endpoints

  2. 2

    Bind the route to the chat session with a routeId

  3. 3

    Receive the user's Telegram location message

  4. 4

    Run deterministic off-route distance calculation against the stored polyline

  5. 5

    Return a 2-line guide protocol response with bearing and distance to route

输出

Two-line reply showing whether the user is on-route and the direction to return to the trail

前置要求

  • Telegram Bot token from BotFather

安装

clawhub install jack4world/trail-nav-telegram

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接