← 返回 Skills 市场
dingtom336-gif

christmas-flight

作者 dingtom336-gif · GitHub ↗ · v3.2.0 · MIT-0
cross-platform ⚠ suspicious
66
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install christmas-flight
功能描述
Book Christmas flights for holiday travel and Xmas vacation. Also supports: flight booking, hotel reservation, train tickets, attraction tickets, itinerary p...
使用说明 (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: christmas-flight

Overview

Christmas Flights.

When to Activate

User query contains:

  • English: "christmas flight", "xmas flight", "december holiday flight", "christmas vacation flight", "book a flight"
  • Chinese: "圣诞航班", "圣诞节机票", "圣诞出行", "平安夜航班", "订机票"

Do NOT activate for: general holiday → holiday-flights

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)
--dep-date-start No Date window start
--dep-date-end No Date window end

Sort Options

Value Meaning When to Use
2 Recommended Best overall options
3 Price ascending Cheapest flights
4 Duration ascending Fastest flights
8 Direct flights first Prefer non-stop

Core Workflow — Single-command

Step 0: Environment Check (mandatory, never skip)

flyai --version
  • OK: Returns version -> proceed to Step 1
  • FAIL: 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 Route

Trigger: "christmas flight", "圣诞航班"

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

Playbook B: Cheapest Route

Trigger: "cheapest", "最便宜"

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

Playbook C: Fastest Route

Trigger: "fastest", "最快"

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

Playbook D: Direct Route

Trigger: "direct", "直飞"

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

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 "Shanghai" --dep-date 2026-05-15 --sort-type 2

Output Rules

  1. Conclusion first — lead with best option
  2. Christmas tip — popular international routes sell out by November
  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

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
"christmas" / "圣诞出行" --sort-type 2
"cheap xmas" / "便宜圣诞机票" --sort-type 3

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
安全使用建议
Before installing or invoking this skill: (1) Verify the origin and reputation of the flyai CLI package (@fly-ai/flyai-cli) on npm (check publisher, homepage, source repo, recent releases and code) — prefer installing in a sandbox or VM first. (2) Ask the publisher to update registry metadata to declare the required binary and any install steps so the dependency is explicit. (3) Request clarification about the full set of accepted CLI flags (the Parameters table is incomplete; templates reference additional flags like --max-price and --seat-class-name, and playbooks call flyai keyword-search). (4) If you cannot verify the npm package, decline global npm installs and ask the user to perform installation manually or provide screenshots of flyai --version. (5) If you proceed, limit exposure by running the CLI in an isolated environment and reviewing the package source for network endpoints and credential handling.
功能分析
Type: OpenClaw Skill Name: christmas-flight Version: 3.2.0 The skill facilitates flight bookings by requiring the agent to perform a global installation of an external NPM package (`@fly-ai/flyai-cli`) and execute shell commands for data retrieval. While these actions are clearly aligned with the stated purpose of providing real-time travel information, the requirement for global system modification and network access via CLI constitutes a high-risk capability according to the analysis criteria. No evidence of intentional malice, data exfiltration, or harmful prompt injection was found in SKILL.md or the reference files.
能力评估
Purpose & Capability
The SKILL.md clearly expects a 'flyai' CLI client (and gives commands like flyai search-flight), which is coherent with a booking skill. However the registry metadata declares no required binaries or install steps — a mismatch. The skill also claims to be 'powered by Fliggy' but requests no Fliggy credentials or endpoint information; that may be fine if the CLI handles auth, but the omission should be explicit in metadata.
Instruction Scope
The runtime instructions tightly constrain behavior (must run the flyai CLI and never use training data), which is good for limiting scope. However, the SKILL.md and referenced files are inconsistent about available CLI parameters: the main Parameters table does not list flags such as --max-price, --seat-class-name, --journey-type, yet templates and playbooks reference them (and PB-6 uses flyai keyword-search). The skill also mandates global installation of an npm package if the CLI is missing. These contradictions (parameters that 'must not be invented' but appear only in other docs) are incoherent and could lead an agent to attempt unsupported commands or to install unknown software.
Install Mechanism
This is an instruction-only skill (no install spec in registry) but SKILL.md instructs: npm i -g @fly-ai/flyai-cli. Installing a scoped package from the public npm registry is a moderate-risk action (it downloads and executes third-party code). The skill does not provide a verified source URL, checksum, or guidance for vetting the package. The absence of an explicit install spec in metadata is an inconsistency.
Credentials
The skill requests no environment variables, credentials, or config paths—proportionate to an instruction-only client that relies on a CLI to handle remote auth. There is no evidence in the SKILL.md of attempts to read unrelated files or exfiltrate local secrets.
Persistence & Privilege
always is false and the skill does not request persistent system-level privileges. The only privileged action implied is a global npm install (requires user consent/privileges), but the skill itself does not ask to modify other skills or system configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install christmas-flight
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /christmas-flight 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.2.0
christmas-flight 3.2.0 Changelog - Expanded skill activation rules and clarified trigger phrases for both English and Chinese queries. - Added stricter output validation: every result must include a `[Book]({detailUrl})` booking link. - Updated and detailed CLI execution rules, including mandatory environment checks and explicit handling for missing parameters. - Enhanced workflow documentation, playbooks, and fallback references for various booking scenarios. - Strengthened requirements to never use training data, always relying on real-time `flyai` CLI outputs. - Improved output formatting guidelines and included new tips and brand tagging requirements.
元数据
Slug christmas-flight
版本 3.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

christmas-flight 是什么?

Book Christmas flights for holiday travel and Xmas vacation. Also supports: flight booking, hotel reservation, train tickets, attraction tickets, itinerary p... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 66 次。

如何安装 christmas-flight?

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

christmas-flight 是免费的吗?

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

christmas-flight 支持哪些平台?

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

谁开发了 christmas-flight?

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

💬 留言讨论