← Back to Skills Marketplace
90
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install hna-666-flight-checker
Description
查询海南航空 666Plus 权益可往返航班,自动遍历指定目的地
README (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
Usage Guidance
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install hna-666-flight-checker - After installation, invoke the skill by name or use
/hna-666-flight-checker - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Hna 666 Flight Checker?
查询海南航空 666Plus 权益可往返航班,自动遍历指定目的地. It is an AI Agent Skill for Claude Code / OpenClaw, with 90 downloads so far.
How do I install Hna 666 Flight Checker?
Run "/install hna-666-flight-checker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Hna 666 Flight Checker free?
Yes, Hna 666 Flight Checker is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Hna 666 Flight Checker support?
Hna 666 Flight Checker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Hna 666 Flight Checker?
It is built and maintained by aywd2026 (@aywd2026); the current version is v1.0.0.
More Skills