← 返回 Skills 市场
jimpang8

HK Nearby Facilities

作者 jimpang8 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
148
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hk-nearby-facilities
功能描述
Find nearby Hong Kong public facilities by place keyword or shared live location, starting with public toilets (公廁 / washroom / restroom / toilet) using offi...
使用说明 (SKILL.md)

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

python3 /home/jim/.openclaw/workspace/skills/hk-nearby-facilities/scripts/hk_nearby_facilities.py toilet \x3Cplace-keywords>

Examples:

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.
安全使用建议
This skill appears to do what it claims: it fetches public-toilet data from FEHD and ranks matches. Before installing, consider: (1) it will make outbound HTTP requests to https://www.fehd.gov.hk and read the responses — if you need offline/privacy-only operation, do not enable it; (2) review the bundled script if you want to confirm no additional telemetry is added; (3) the SKILL.md examples use an absolute path (/home/jim/...), but the script can be run from wherever the skill is installed; (4) the skill does not request secrets or write system-wide config. If you accept network access to FEHD endpoints, installing is reasonable.
功能分析
Type: OpenClaw Skill Name: hk-nearby-facilities Version: 0.1.0 The skill bundle is a legitimate tool for searching Hong Kong public facility data (specifically public toilets) using official government endpoints from the Food and Environmental Hygiene Department (fehd.gov.hk). The Python script (hk_nearby_facilities.py) uses standard libraries to fetch, filter, and rank location data based on keywords or coordinates, and the instructions in SKILL.md are strictly aligned with this functionality without any signs of prompt injection or malicious intent.
能力评估
Purpose & Capability
Name/description match the code and instructions: the script fetches FEHD map JSON endpoints and searches/filters public-toilet records. There are no unrelated credentials, binaries, or config paths requested.
Instruction Scope
SKILL.md instructs running the bundled Python script and describes expected inputs/outputs. The runtime instructions and the script operate on FEHD endpoints and local query data only. The quick-start examples use an absolute workspace path (e.g. /home/jim/...) which is just an example and not required for functionality.
Install Mechanism
No install spec is provided (instruction-only skill with a bundled script). The script is plain Python and uses stdlib urllib/json; there are no downloads from unknown hosts or archive extraction steps.
Credentials
The skill requires no environment variables, credentials, or config paths. All external network calls are to FEHD official endpoints; generated Google Maps links are constructed locally and not sent to Google by the skill.
Persistence & Privilege
always is false and the skill has no install-time persistence or cross-skill configuration. It does not modify other skills or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hk-nearby-facilities
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hk-nearby-facilities 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial publish: Hong Kong nearby facilities skill with public toilet lookup and live location support.
元数据
Slug hk-nearby-facilities
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

HK Nearby Facilities 是什么?

Find nearby Hong Kong public facilities by place keyword or shared live location, starting with public toilets (公廁 / washroom / restroom / toilet) using offi... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 148 次。

如何安装 HK Nearby Facilities?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hk-nearby-facilities」即可一键安装,无需额外配置。

HK Nearby Facilities 是免费的吗?

是的,HK Nearby Facilities 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

HK Nearby Facilities 支持哪些平台?

HK Nearby Facilities 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 HK Nearby Facilities?

由 jimpang8(@jimpang8)开发并维护,当前版本 v0.1.0。

💬 留言讨论