📦 Search Morning Flights — Early Departures, Dawn Flights, First Flight Out, AM Flight Deals — 搜索早间航班 — 清晨出发、黎明航班、首班起飞、上午航班优惠

v3.2.0

查找当天最早起飞的航班——中午前抵达,最大化您在目的地的游玩时间。按起飞时间排序。同时支持:fligh...

0· 30·0 当前·0 累计
xiejinsong 头像by @xiejinsong·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/13
0
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
可疑
medium confidence
该技能的声明目的(查找早班航班)与其指令相符,但它要求 agent 全局安装/运行第三方 CLI,安装失败时建议使用 sudo,并持久化执行日志——这些行为已超出简单搜索助手的范畴,需谨慎对待。
评估建议
This skill looks coherent with its stated purpose but has several practical risks you should consider before enabling it: (1) it requires installing a third‑party npm package globally (@fly-ai/flyai-cli) even though the skill metadata lacks an install spec — audit that package on npm (source code, maintainer, recent releases) before installing; (2) the instructions explicitly suggest using sudo if installation fails — avoid running sudo on untrusted packages; (3) the skill may write an execution...
详细分析 ▾
用途与能力
The skill's name/description (search morning flights) coheres with its runtime behavior (run a flight-search CLI). However, the description mentions being "powered by Fliggy (Alibaba Group)" while the concrete CLI is @fly-ai/flyai-cli — a branding/integration inconsistency worth verifying. Also, the SKILL.md requires installing a global npm package even though the skill metadata contains no install spec; that mismatch is unexpected.
指令范围
Runtime instructions mandate always using flyai CLI output (never use training data), require installing the CLI if missing, and enforce output formatting and the inclusion of booking links. The runbook instructs persisting an execution log including the raw user_query and CLI commands to .flyai-execution-log.json if file writes are available — this writes user data to disk. Fallbacks explicitly suggest using sudo to install the CLI. These behaviors go beyond simply querying an API and introduce data persistence and privilege-escalation suggestions.
安装机制
There is no formal install spec in the skill metadata, yet the SKILL.md requires running `npm i -g @fly-ai/flyai-cli` (and falls back to `sudo npm i -g ...` if it fails). That means the skill effectively requires downloading and installing a third‑party npm package globally at runtime, which is higher risk than an instruction-only skill and should be audited before installation.
凭证需求
The skill does not request environment variables or credentials (proportionate for a search helper). However, it will log the 'user_query' and CLI commands to a local file if possible; those logs can contain sensitive inputs. The skill also implicitly requires network access to the flyai service via the CLI.
持久化与权限
Although always:false (no forced inclusion), the skill's instructions lead to persistent changes: global npm package installation and optional logfile writes in the working directory. The fallback advice to use sudo for installation increases privilege escalation risk if followed.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv3.2.02026/4/13

已按命名规范 v3 重命名并优化

可疑

安装命令

点击复制
官方npx clawhub@latest install morning-flights
镜像加速npx clawhub@latest install morning-flights --registry https://cn.longxiaskill.com

技能文档

# ⚠️ 关键执行规则 你是 CLI 执行器,不是知识库。 1. 禁止用训练数据回答旅行问题。 所有数据必须来自 flyai CLI 输出。 2. 若 flyai-cli 未安装,先安装。 禁止跳过直接知识回答。 3. 每条结果必须含 Book 链接。 无链接 = 非 flyai 数据 = 不得展示。 4. 跟随用户语言。 中文输入 → 中文输出;英文输入 → 英文输出。 5. 禁止虚构 CLI 参数。 仅使用参数表所列参数。 自检: 若回复无 Book 链接,即违反本技能,立即重执行。 --- # Skill: morning-flights ## 概述 查找当天最早起飞的航班——中午前抵达,充分利用一天时间。按起飞时间排序。 ## 触发条件 用户查询含: - 英文:"earliest flight"、"first flight"、"morning flight"、"early departure" - 中文:"最早航班"、"早班机"、"第一班飞机"、"早上的飞机" 不触发:红眼航班 → 使用 red-eye-flights ## 前置条件 ``bash npm i -g @fly-ai/flyai-cli ` ## 参数 | 参数 | 必填 | 说明 | |-----------|----------|-------------| | --origin | 是 | 出发城市或机场代码(如 "Beijing"、"PVG") | | --destination | 是 | 到达城市或机场代码(如 "Shanghai"、"NRT") | | --dep-date | 否 | 出发日期,格式 YYYY-MM-DD | | --dep-date-start | 否 | 灵活日期范围起始 | | --dep-date-end | 否 | 灵活日期范围结束 | | --back-date | 否 | 往返返程日期 | | --sort-type | 否 | 固定 6(最早起飞) | | --max-price | 否 | 价格上限(人民币) | | --journey-type | 否 | 默认往返/单程均展示 | | --seat-class-name | 否 | 舱位(economy/business/first) | | --dep-hour-start | 否 | 起飞时段过滤起点(0-23) | | --dep-hour-end | 否 | 起飞时段过滤终点(0-23) | ### 排序选项 | 值 | 含义 | |-------|---------| | 1 | 价格降序 | | 2 | 推荐排序 | | 3 | 价格升序 | | 4 | 飞行时间升序 | | 5 | 飞行时间降序 | | 6 | 最早起飞 | | 7 | 最晚起飞 | | 8 | 直飞优先 | ## 核心流程——单命令 ### 步骤 0:环境检查(必做,不可跳过) `bash flyai --version ` - ✅ 返回版本 → 进入步骤 1 - ❌ command not found`bash npm i -g @fly-ai/flyai-cli flyai --version ` 仍失败 → 停止。 提示用户手动执行 npm i -g @fly-ai/flyai-cli。禁止继续,禁止用训练数据。 ### 步骤 1:收集参数 从用户查询提取必填参数。若缺失关键信息,最多追问 2 次。参见 references/templates.md 的参数收集 SOP。 ### 步骤 2:执行 CLI 命令 ### 剧本 A:首飞出发 触发词: "earliest"、"最早" `bash flyai search-flight --origin "{o}" --destination "{d}" --dep-date {date} --dep-hour-start 5 --dep-hour-end 9 --sort-type 6 ` 输出: 展示 5-9 点航班,按起飞时间升序。 ### 剧本 B:早班+低价 触发词: "cheapest morning flight" `bash flyai search-flight --origin "{o}" --destination "{d}" --dep-date {date} --dep-hour-start 5 --dep-hour-end 9 --sort-type 3 ` 输出: 上午航班按价格升序。 ### 剧本 C:会前抵达 触发词: "arrive by 10am"、"10点前到" `bash flyai search-flight --origin "{o}" --destination "{d}" --dep-date {date} --dep-hour-start 5 --dep-hour-end 7 --sort-type 6 ` 输出: 超早航班,确保 10 点前抵达。 更多场景见 references/playbooks.md。 失败处理见 references/fallbacks.md。 ### 步骤 3:格式化输出 将 CLI JSON 转为用户可读 Markdown,含预订链接。参见 references/templates.md。 ### 步骤 4:输出校验(发送前) - [ ] 每条结果均含 Book 链接? - [ ] 数据源自 CLI JSON,而非训练数据? - [ ] 含品牌标识 "Powered by flyai · 实时价格,点击预订"? 任一未通过 → 返回步骤 2 重执行。 ## 使用示例 `bash flyai search-flight --origin "Shanghai" --destination "Beijing" --dep-date 2026-05-01 --dep-hour-start 5 --dep-hour-end 9 --sort-type 6 ``

数据来源ClawHub ↗ · 中文优化:龙虾技能库