返回顶部
h

hk-nearby-facilities

Find nearby Hong Kong public facilities by place keyword or shared live location, starting with public toilets (公廁 / washroom / restroom / toilet) using official government data. Use when the user asks in Cantonese, Chinese, or English things like「大埔墟附近有冇公廁」「沙田站最近廁所喺邊」「旺角 public toilet near me」「附近有冇洗手間」or shares coordinates / live location and wants the nearest facility. This skill currently supports public toilets first and can be extended later with other facilities such as petrol stations.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
98
下载量
0
收藏
概述
安装方式
版本历史

hk-nearby-facilities

# HK Nearby Facilities Use the bundled script to search Hong Kong public-facility data by place keyword. ## Current scope - Public toilets (`toilet`) via FEHD official JSON endpoints. - Future-friendly structure for other facility types later. ## Quick start ```bash python3 /home/jim/.openclaw/workspace/skills/hk-nearby-facilities/scripts/hk_nearby_facilities.py toilet <place-keywords> ``` Examples: ```bash python3 /home/jim/.openclaw/workspace/skills/hk-nearby-facilities/scripts/hk_nearby_facilities.py toilet 大埔墟 python3 /home/jim/.openclaw/workspace/skills/hk-nearby-facilities/scripts/hk_nearby_facilities.py toilet 火炭站 python3 /home/jim/.openclaw/workspace/skills/hk-nearby-facilities/scripts/hk_nearby_facilities.py toilet Central --limit 5 python3 /home/jim/.openclaw/workspace/skills/hk-nearby-facilities/scripts/hk_nearby_facilities.py toilet 旺角 --accessible-only python3 /home/jim/.openclaw/workspace/skills/hk-nearby-facilities/scripts/hk_nearby_facilities.py toilet --lat 22.448628 --lng 114.164727 --limit 3 ``` ## Workflow 1. Identify the facility type from the request. - For now, only `toilet` is implemented. 2. Extract the place keywords. - Accept district names, station names, estates, landmarks, street names, or short area phrases. 3. If the user shared live location or latitude+longitude, prefer using the coordinates to rank facilities by physical distance. 4. Run the script. 5. Prefer the closest or best-matching few entries rather than a huge list. 6. Include Google Maps links when they help the user navigate. 7. If the user asks for accessible / universal toilets, use the relevant flags. 8. If there is no exact place match, say it is a nearby match instead of pretending it is exact. ## Reporting guidance - Keep it practical: name, address, district, and map link. - Say when the result is approximate or nearby rather than exact. - If the query is broad, return the top few likely matches. - Mention accessible / universal toilet status when available and relevant. ## Data source Public toilets currently use FEHD official endpoints, including: - `getMapData.php?type=toilet` - `getAccessibleToilets.php?type=toilet` - `getUniversalToilets.php?type=toilet` ## Limitations - This version is keyword-based, not GPS turn-by-turn routing. - It currently supports public toilets only. - Oil stations / petrol stations are not included yet because a comparable official government location dataset has not been confirmed. ## scripts/ - `scripts/hk_nearby_facilities.py` — search nearby Hong Kong facilities by place keyword.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 hk-nearby-facilities-1776074102 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 hk-nearby-facilities-1776074102 技能

通过命令行安装

skillhub install hk-nearby-facilities-1776074102

下载 Zip 包

⬇ 下载 hk-nearby-facilities v0.1.0

文件大小: 5.06 KB | 发布时间: 2026-4-14 14:19

v0.1.0 最新 2026-4-14 14:19
Initial publish: Hong Kong nearby facilities skill with public toilet lookup and live location support.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部