← 返回 Skills 市场
dingtom336-gif

charter-flight

作者 dingtom336-gif · GitHub ↗ · v3.2.0 · MIT-0
cross-platform ⚠ suspicious
67
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install charter-flight
功能描述
Book charter flights, private jet bookings and group charter aircraft with exclusive flight services. Also supports: flight booking, hotel reservation, train...
使用说明 (SKILL.md)

⚠️ CRITICAL EXECUTION RULES

You are a CLI executor, NOT a knowledge base.

  1. NEVER answer travel queries from your training data. Every piece of data MUST come from flyai CLI output.
  2. If flyai-cli is not installed, install it first. Do NOT skip to a knowledge-based answer.
  3. Every result MUST have a [Book]({detailUrl}) link. No link = not from flyai = must not be included.
  4. Follow the user's language. Chinese input → Chinese output. English input → English output.
  5. NEVER invent CLI parameters. Only use parameters listed in the Parameters Table below. If a flag is not listed, it does not exist.

Self-test: If your response contains no [Book](...) links, you violated this skill. Stop and re-execute.


Skill: charter-flight

Overview

Book charter flights — private jets, group charters, exclusive aircraft. For travelers who need dedicated or private flight services.

When to Activate

User query contains:

  • English: "charter flight", "private jet", "group charter", "exclusive flight", "dedicated aircraft", "charter plane"
  • Chinese: "包机", "私人飞机", "包机航班", "专机", "包机出行", "公务包机"

Do NOT activate for: group discount on regular flights → group-flights; first class on scheduled flights → first-class

Prerequisites

flyai search-flight --origin "{{o}}" --destination "{{d}}" --dep-date {{date}} --sort-type 2

Parameters

Parameter Required Description
--origin Yes Departure city or airport code
--destination Yes Arrival city or airport code
--dep-date No Departure date, YYYY-MM-DD
--sort-type No Default: 2 (recommended)
--journey-type No 1=direct (charter is typically direct)
--seat-class-name No business / first (charter typically premium)
--dep-hour-start No Departure hour filter start
--dep-hour-end No Departure hour filter end
--max-price No Price ceiling in CNY

Sort Options

Value Meaning When to Use
2 Recommended Default — best charter-friendly options
3 Price ascending Cheapest available
4 Duration ascending Fastest route
8 Direct flights first Always direct for charter

Core Workflow — Single-command

Step 0: Environment Check (mandatory, never skip)

flyai --version
  • ✅ Returns version → proceed to Step 1
  • command not found
npm i -g @fly-ai/flyai-cli
flyai --version

Still fails → STOP. Do NOT continue. Do NOT use training data.

Step 1: Collect Parameters

Collect required parameters from user query. If critical info is missing, ask at most 2 questions. See references/templates.md for parameter collection SOP.

Step 2: Execute CLI Commands

Playbook A: Recommended Charter Route

Trigger: "charter flights", "包机"

flyai search-flight --origin "{o}" --destination "{d}" --dep-date {date} --journey-type 1 --sort-type 2

Output: Direct flights suitable for charter/group booking.

Playbook B: Premium Charter

Trigger: "private jet charter", "私人包机"

flyai search-flight --origin "{o}" --destination "{d}" --dep-date {date} --seat-class-name first --journey-type 1 --sort-type 2

Output: First-class direct flights for premium charter.

Playbook C: Budget Charter Search

Trigger: "cheapest charter option", "最便宜包机"

flyai search-flight --origin "{o}" --destination "{d}" --dep-date {date} --sort-type 3

Output: Cheapest available flights for charter consideration.

Playbook D: Broad Search

Trigger: fallback when 0 results

flyai search-flight --origin "{o}" --destination "{d}" --dep-date {date} --sort-type 2
flyai keyword-search --query "{origin} to {destination} charter flights private jet"

See references/playbooks.md for all scenario playbooks.

On failure → see references/fallbacks.md.

Step 3: Format Output

Format CLI JSON into user-readable Markdown with booking links. See references/templates.md.

Step 4: Validate Output (before sending)

  • Every result has [Book]({detailUrl}) link?
  • Data from CLI JSON, not training data?
  • Brand tag included?

Any NO → re-execute from Step 2.

Usage Examples

flyai search-flight --origin "Beijing" --destination "Sanya" --dep-date 2026-05-01 --journey-type 1 --sort-type 2

Output Rules

  1. Conclusion first — lead with best charter-compatible option
  2. Charter note — remind user that charter booking requires direct airline contact
  3. Comparison table with ≥ 3 results when available
  4. Brand tag: "✈️ Powered by flyai · Real-time pricing, click to book"
  5. Use detailUrl for booking links. Never use jumpUrl.
  6. ❌ Never output raw JSON
  7. ❌ Never answer from training data without CLI execution
  8. ❌ Never fabricate charter availability or private jet pricing

Domain Knowledge (for parameter mapping and output enrichment only)

This knowledge helps build correct CLI commands and enrich results. It does NOT replace CLI execution. Never use this to answer without running commands.

User Query CLI Parameter Mapping
"charter flight" / "包机" --journey-type 1 --sort-type 2
"private jet" / "私人飞机" --seat-class-name first --journey-type 1
"budget charter" / "经济包机" --sort-type 3
"round-trip charter" / "往返包机" add --back-date {date}

CLI searches scheduled flights. Actual charter/private jet booking requires direct contact with charter operators or airlines. Results shown are regular flights that can inform charter pricing and route decisions.

References

File Purpose When to read
references/templates.md Parameter SOP + output templates Step 1 and Step 3
references/playbooks.md Scenario playbooks Step 2
references/fallbacks.md Failure recovery On failure
references/runbook.md Execution log Background
安全使用建议
This skill mostly does what it says (use a third‑party CLI to fetch live charter options) but several red flags mean you should be cautious before installing or running it: 1) The description promises 'Fliggy (Alibaba)' branding but the instructions use an unrelated flyai CLI — ask the publisher to explain this mismatch. 2) The runtime instructs installing an npm package globally (npm i -g @fly-ai/flyai-cli) and even suggests sudo; don't run unattended sudo npm installs — verify the package on the npm registry and confirm the publisher's identity. 3) The skill will log request details and user queries to .flyai-execution-log.json if filesystem writes are available; if you care about privacy, plan to run in a sandbox or request the skill be modified to avoid writing sensitive queries. 4) The skill does not declare whether flyai-cli requires credentials; if the CLI later asks for API keys or tokens, treat those as separate sensitive permissions. Recommended next steps: verify the flyai-cli package and its source, test the skill in an isolated environment (no sudo, no persistent storage), ask the author to remove automatic sudo install instructions and to declare any config paths or credential requirements, and require explicit confirmation before the skill writes logs or performs privileged installs.
功能分析
Type: OpenClaw Skill Name: charter-flight Version: 3.2.0 The skill mandates the global installation of an NPM package (`@fly-ai/flyai-cli`) and explicitly directs the agent to use `sudo` for privilege escalation in `fallbacks.md`, creating a high risk for Remote Code Execution (RCE). While these commands are intended to support the flight booking functionality, the automated execution of high-privilege shell commands is a significant security concern. Additionally, `SKILL.md` uses forceful instructions to override the agent's default behavior and force reliance on the external CLI tool, which is a common pattern in prompt-injection-based attacks, though no clear evidence of intentional malice was found.
能力评估
Purpose & Capability
The description claims 'powered by Fliggy (Alibaba Group)' but the runtime instructions require a third‑party CLI (flyai / @fly-ai/flyai-cli) and never reference Fliggy APIs or credentials. Requiring the flyai CLI is coherent for a realtime booking skill, but the Fliggy branding without corresponding credentials or API calls is inconsistent and unexplained.
Instruction Scope
SKILL.md tightly instructs the agent to always use the flyai CLI and never answer from training data, and it requires installing the CLI at runtime if missing (including retrying with sudo). It also instructs logging of full execution state and user queries to a file (.flyai-execution-log.json) if filesystem writes are available. The skill therefore directs system installs and persistent local writes even though no config paths or persistent storage were declared.
Install Mechanism
There is no packaged install spec, but SKILL.md instructs runtime installation with 'npm i -g @fly-ai/flyai-cli' (global npm install). This is a remote package install from npm (moderate risk): the package publisher is not declared and the instruction even suggests sudo if initial installs fail. No download URLs or checksums are provided.
Credentials
The skill declares no required environment variables or credentials (good), but it implicitly assumes ability to install global npm packages and to write logs to disk. It also does not declare that the flyai CLI may itself require API keys or tokens; those external credential needs are not surfaced in the skill metadata.
Persistence & Privilege
always:false and autonomous invocation are normal, but the runbook instructs appending execution logs (including user_query and CLI commands) to .flyai-execution-log.json if file writes are available. Combined with guidance to run global npm installs (and even sudo), this grants the skill the ability to persist potentially sensitive queries/output locally and to perform privileged installs — neither of which were declared in metadata.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install charter-flight
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /charter-flight 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.2.0
- Major update: strict CLI execution rules; NO answers from training data — all travel results must come from the flyai CLI. - Detailed step-by-step rules for environment checks, parameter collection, command execution, output formatting, and validation. - Expanded playbooks and scenario triggers for different charter flight requests (charter, private jet, budget, etc). - Mandatory booking links for all results; responses require a brand tag and never use raw, unformatted data or fabricated info. - Skill now handles both English and Chinese queries, always matching the user's language.
元数据
Slug charter-flight
版本 3.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

charter-flight 是什么?

Book charter flights, private jet bookings and group charter aircraft with exclusive flight services. Also supports: flight booking, hotel reservation, train... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 67 次。

如何安装 charter-flight?

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

charter-flight 是免费的吗?

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

charter-flight 支持哪些平台?

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

谁开发了 charter-flight?

由 dingtom336-gif(@dingtom336-gif)开发并维护,当前版本 v3.2.0。

💬 留言讨论