← 返回 Skills 市场
military-leave
作者
xiejinsong
· GitHub ↗
· v3.2.0
· MIT-0
69
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install military-leave
功能描述
Search for military leave flights with armed forces travel options. Also supports: flight booking, hotel reservation, train tickets, attraction tickets, itin...
安全使用建议
Plain-language checklist before you install/use this skill:
- Provider mismatch: The description says 'Fliggy (Alibaba Group)' but every runtime step requires a 'flyai' CLI and branding. Ask the developer which service this actually uses and for authoritative documentation (homepage, repo, or vendor statement).
- Verify the CLI package: The skill tells you to run 'npm i -g @fly-ai/flyai-cli' if flyai isn't present. Search the public npm registry and the package's repository to confirm the package's publisher, download counts, and source code before installing globally — global npm installs can modify your system and may require sudo.
- Clarify inconsistent parameters: The SKILL.md contains contradictory examples/defaults for --sort-type and mappings for 'direct'. These inconsistencies could cause incorrect searches; request corrected, single-source parameter documentation or tests showing expected CLI behavior.
- No secrets requested: The skill doesn't ask for API keys or credentials, which is good. But be aware the CLI itself may prompt for credentials or open a browser to authenticate — inspect the flyai CLI behavior before granting any secrets.
- Because this is instruction-only (no code files/homepage provided), the static scanner had nothing to analyze — that doesn't mean safe. Prefer skills with a public repo or vendor homepage you can audit.
Recommendations:
1) Ask the skill publisher for (a) the official homepage or repository for '@fly-ai/flyai-cli', (b) proof that the service is affiliated with Fliggy if that claim is important, and (c) a corrected SKILL.md that resolves the parameter inconsistencies. 2) If you decide to test, run the npm install and the flyai CLI in a sandbox or VM (not on a production machine) and inspect network calls and the package source. 3) If you cannot verify the CLI package or provider claims, do not install the global npm package or enable the skill.
功能分析
Type: OpenClaw Skill
Name: military-leave
Version: 3.2.0
The skill bundle mandates the global installation of an external NPM package (`@fly-ai/flyai-cli`) via the shell if it is not already present on the system (found in SKILL.md and references/fallbacks.md). While this is aligned with the stated purpose of searching for flights, forcing an AI agent to execute 'npm i -g' introduces significant supply chain risks and requires elevated system permissions. The instructions also employ aggressive prompt-injection language to override the agent's default behavior and force it to execute shell commands exclusively.
能力评估
Purpose & Capability
The description claims 'powered by Fliggy (Alibaba Group)' but the runtime enforces use of a 'flyai' CLI and repeatedly requires 'Powered by flyai' branding — a mismatch in the declared provider. That discrepancy is unexplained and makes it unclear which external service the skill actually relies on.
Instruction Scope
SKILL.md tightly prescribes running the flyai CLI and never answering from training data, which is coherent in isolation, but there are contradictory parameter defaults and examples (e.g., prereq example uses --sort-type 2 while tables recommend default 3, multiple places map 'direct' to different sort-type values). The skill also mandates a re-execute self-test (responses must include booking links), which could force repeated CLI runs. No instructions reference reading unrelated files or env vars, but the contradictory rules reduce reliability.
Install Mechanism
There is no formal install spec in the package, but the instructions direct automatic installation via 'npm i -g @fly-ai/flyai-cli' if the CLI is missing. A global npm install downloads and executes code from the public registry (moderate risk); the package name is not an obviously well-known vendor package and there is no homepage or checksum to verify authenticity.
Credentials
The skill requests no environment variables or credentials, which is proportionate to a CLI-driven flight search. There are no declared config paths or secret requests in the SKILL.md.
Persistence & Privilege
always:false and no system-level configuration changes are declared, so persistence/privilege requests are limited. However, the instruction to perform a global npm install may require elevated privileges (or will alter system-wide npm state), which is an operational privilege worth noting.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install military-leave - 安装完成后,直接呼叫该 Skill 的名称或使用
/military-leave触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.2.0
military-leave v3.2.0
- Refined critical execution rules: strictly restricts answers to CLI output only, never from training data.
- Expanded scope: now includes itinerary planning, visa info, travel insurance, and car rental alongside flight/hotel/train booking.
- Enhanced parameter collection and validation steps, including updated SOPs and stricter environment checks.
- Output formatting rules improved: requires booking links for each result, summary first, military discount tips, and clear brand tagging.
- Added more scenario-specific CLI playbooks for recommended, cheapest, fastest, and direct flights.
元数据
常见问题
military-leave 是什么?
Search for military leave flights with armed forces travel options. Also supports: flight booking, hotel reservation, train tickets, attraction tickets, itin... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 69 次。
如何安装 military-leave?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install military-leave」即可一键安装,无需额外配置。
military-leave 是免费的吗?
是的,military-leave 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
military-leave 支持哪些平台?
military-leave 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 military-leave?
由 xiejinsong(@xiejinsong)开发并维护,当前版本 v3.2.0。
推荐 Skills