跳到正文
TakoAPI
返回技能列表

hk-bus-eta

由 tomfong 提供

Transportation
102下载量由 clawskills.sh 提供
1星标
3浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Real-time Hong Kong bus arrival predictions for KMB, LWB, and Citybus. 香港九巴、城巴及龍運實時到站時間查詢。

描述

该技能的功能

Looks up real-time bus arrival times for Hong Kong routes operated by KMB, Citybus (CTB), and Long Win Bus (LWB). Supports fuzzy stop name matching, bilingual output in Traditional Chinese and English, and parallel queries across multiple routes simultaneously.

Queries government ETA APIs directly with fuzzy stop matching and parallel multi-route fetching, returning real-time results without opening a transit app or reading a timetable.

何时使用

  • Checking next KMB bus arrival before leaving home
  • Getting airport bus ETA at HKIA terminal stops
  • Querying two routes at once at a busy interchange
  • Finding a stop using a partial or alternate name
  • Checking last-bus status late at night

示例工作流

输入

User asks: When does the next A29 arrive at the airport?

智能体
  1. 1

    Identifies route A29 and stop keyword 'Airport'

  2. 2

    Runs: python3 scripts/eta.py A29 Airport en

  3. 3

    Applies fast-path exact match on stop name before falling back to fuzzy

  4. 4

    Filters output to boarding-direction ETAs only, suppressing terminus arrivals

  5. 5

    Returns formatted result with arrival times, minutes remaining, and Google Maps link

输出

A29 → Tseung Kwan O | Stop: HKIA T1 | 14:05 (3 min) [KMB] | 14:12 (10 min) [KMB] | 14:21 (19 min) [KMB]

安装

clawhub install tomfong/hk-bus-eta

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

链接