تخطَّ إلى المحتوى
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط