← 返回 Skills 市场
90
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hna-666-flight-checker
功能描述
查询海南航空 666Plus 权益可往返航班,自动遍历指定目的地
使用说明 (SKILL.md)
海航 666Plus 权益往返航班查询助手
技能描述
自动查询从北京出发,使用 666Plus 权益卡,在指定日期范围内可往返的航班目的地。
触发条件
当用户提到以下内容时激活:
- 查询海航 666 权益航班
- 海航 plus 会员可出行目的地
- 北京出发 666 权益往返
- 海航权益卡航班查询
输入参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| out_date | string | 是 | 去程日期,格式 YYYY-MM-DD | 2026-04-01 |
| ret_date | string | 是 | 返程日期,格式 YYYY-MM-DD | 2026-04-06 |
执行流程
1. 参数解析
从用户输入中提取日期,自动转换为 YYYYMMDD 格式
2. 执行查询
调用 Python 脚本:
cd /home/wd/.openclaw/skills/hna-666-flight-checker/scripts
~/.local/pipx/venvs/playwright/bin/python main.py --out {out_date_compact} --ret {ret_date_compact} --headless --debug
安全使用建议
What to consider before installing:
- This skill automates a browser (Playwright) to visit https://m.hnair.com and run DOM interactions; that behavior matches the stated purpose but requires Playwright and browser binaries which the skill does not install or declare. Expect to need Python, the 'playwright' package, and installed browser engines.
- The SKILL.md hard-codes a user-specific pipx/python path and a home path (/home/wd/.openclaw/skills/…), which is brittle and may not exist. Ask the author for clear dependency and install instructions or adjust the command to use a generic python on PATH.
- The code executes JavaScript in pages (page.evaluate). That is normal for web automation but means the skill can read and interact with page content. There are no external exfiltration endpoints in the code; network activity appears limited to the HNA query URL.
- The repository contains duplicate/unfinished files (a very large file with '仅存在缩进问题', truncations and indentation errors). This looks like messy or partially edited source — not necessarily malicious, but it increases the chance of runtime errors or unexpected behavior.
- Recommended actions: run this in an isolated environment (container or VM); verify and install Playwright and browsers yourself; replace the hard-coded pipx path with a known interpreter; review/clean duplicate files; and ask the publisher for an install/dependency manifest and an explanation of why multiple near-duplicate scripts exist. If you lack the ability to validate dependencies, avoid giving this skill access to sensitive environments.
能力评估
Purpose & Capability
Name/description match the code: scripts use Playwright to visit HNA's mobile query page and check for 666Plus round-trip availability. The included modules (city/date selectors, utils, etc.) are coherent with this purpose.
Instruction Scope
SKILL.md tells the agent to cd into a skill scripts folder and run a very specific Python binary: '~/.local/pipx/venvs/playwright/bin/python main.py --out ... --ret ... --headless --debug'. That absolute user-specific path (/home/wd and pipx venv path) is brittle and unexpected given the skill declared no required binaries or install steps. The runtime instructions do not document installing Playwright, Python, or browser binaries, yet the scripts launch a browser and run page.evaluate() calls — appropriate for the task but the instructions grant broad discretion to run arbitrary JS within the visited page (expected for automation but worth noting).
Install Mechanism
There is no install spec. The code requires Playwright and browser drivers but SKILL.md does not declare dependencies or provide an installation mechanism. The instruction's reliance on a specific pipx venv path is inconsistent and may fail or mask where the runtime python comes from.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The scripts do not read secrets or system config. This is proportionate to its purpose.
Persistence & Privilege
Skill is not always-enabled and does not request elevated persistent privileges. It does run autonomously when invoked, which is the platform default, but there are no signs it alters other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install hna-666-flight-checker - 安装完成后,直接呼叫该 Skill 的名称或使用
/hna-666-flight-checker触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
hna-666-flight-checker v1.0.0
- Initial release of the skill.
- Supports automatic search for available Hainan Airlines 666Plus round-trip flights departing from Beijing within a specified date range.
- Activates on triggers related to Hainan Airlines 666Plus benefits and flight queries.
- Users provide outbound and return dates; results show eligible destinations.
- Includes automation using a Python script to perform the flight search.
元数据
常见问题
Hna 666 Flight Checker 是什么?
查询海南航空 666Plus 权益可往返航班,自动遍历指定目的地. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 90 次。
如何安装 Hna 666 Flight Checker?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install hna-666-flight-checker」即可一键安装,无需额外配置。
Hna 666 Flight Checker 是免费的吗?
是的,Hna 666 Flight Checker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Hna 666 Flight Checker 支持哪些平台?
Hna 666 Flight Checker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Hna 666 Flight Checker?
由 aywd2026(@aywd2026)开发并维护,当前版本 v1.0.0。
推荐 Skills