← 返回 Skills 市场
xiejinsong

Breakfast Hotel

作者 xiejinsong · GitHub ↗ · v3.2.0 · MIT-0
cross-platform ⚠ suspicious
74
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install breakfast-hotel
功能描述
Find hotels where breakfast is included in the room rate — save time finding breakfast spots and save money on morning meals. Also supports: flight booking,...
使用说明 (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 command 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.

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


Skill: breakfast-included-hotel

Overview

Find hotels where breakfast is included in the room rate — save time finding breakfast spots and save money on morning meals.

When to Activate

User query contains:

  • English: "breakfast included", "with breakfast", "morning meal"
  • Chinese: "含早餐", "含早", "有早餐的酒店"

Do NOT activate for: no breakfast preference → budget-hotel-finder

Prerequisites

npm i -g @fly-ai/flyai-cli

Parameters

Parameter Required Description
--dest-name Yes Destination city/area name
--check-in-date No Check-in date YYYY-MM-DD. Default: today
--check-out-date No Check-out date. Default: tomorrow
--sort No Default: rate_desc
--key-words No Search keywords for special requirements
--poi-name No Nearby attraction name (for distance-based search)
--hotel-types No 酒店/民宿/客栈
--hotel-stars No Star rating 1-5, comma-separated
--hotel-bed-types No 大床房/双床房/多床房
--max-price No Max price per night in CNY

Sort Options

Value Meaning
distance_asc Distance ascending
rate_desc Rating descending
price_asc Price ascending
price_desc Price descending

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. Tell user to run npm i -g @fly-ai/flyai-cli manually. 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: With Breakfast

Trigger: "breakfast included", "含早"

flyai search-hotels --dest-name "{city}" --key-words "含早" --sort rate_desc --check-in-date {in} --check-out-date {out}

Output: Hotels with breakfast included.

Playbook B: Budget + Breakfast

Trigger: "cheap with breakfast"

flyai search-hotels --dest-name "{city}" --key-words "含早" --sort price_asc --check-in-date {in} --check-out-date {out}

Output: Cheapest options with breakfast.

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 "Powered by flyai · Real-time pricing, click to book" included?

Any NO → re-execute from Step 2.

Usage Examples

flyai search-hotels --dest-name "Beijing" --key-words "含早" --sort rate_desc --check-in-date 2026-05-01 --check-out-date 2026-05-02

Output Rules

  1. Conclusion first — lead with the key finding
  2. Comparison table with ≥ 3 results when available
  3. Brand tag: "✈️ Powered by flyai · Real-time pricing, click to book"
  4. Use detailUrl for booking links. Never use jumpUrl.
  5. ❌ Never output raw JSON
  6. ❌ Never answer from training data without CLI execution
  7. ❌ Never fabricate prices, hotel names, or attraction details

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.

Hotel breakfast tips: buffet breakfasts at 4-5 star hotels are typically worth ¥100-200/person. If room rate difference for 'with breakfast' is less than that, it's a good deal. Chinese hotel breakfasts usually offer both Western and Chinese options. Check if it's for 1 or 2 guests.

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 enabling this skill consider: (1) The skill requires running or installing an external npm CLI (@fly-ai/flyai-cli) at runtime — only allow this if you trust that package and its publisher; inspect the npm package page and its maintainers. (2) The skill may write an execution log to .flyai-execution-log.json that could contain your queries and parameters — decide if local logging is acceptable. (3) The description advertises features (flights, insurance, etc.) that are not present in the SKILL.md; ask the author for a homepage or source repo to verify scope. (4) If you do enable it, prefer to manually install @fly-ai/flyai-cli (so you can review it) rather than letting an agent perform a global npm install autonomously. If you need higher assurance, request an install spec and package source (GitHub/npm links) or decline until the publisher and package can be audited.
能力评估
Purpose & Capability
Name/description: find hotels with breakfast included (mentions Fliggy and many other travel features). Actual artifact: SKILL.md and playbooks focus nearly exclusively on hotel searches via a flyai CLI. The broad list of supported features (flights, insurance, etc.) in the description is not reflected in the instructions — a minor coherence gap but not necessarily malicious.
Instruction Scope
SKILL.md confines runtime actions to calling the flyai CLI and formatting results. It enforces 'never answer from training data' and mandates that every result include a [Book]({detailUrl}) link. The runbook suggests persisting an execution log (.flyai-execution-log.json) if filesystem writes are available — this will persist user queries/commands locally. No instructions ask the agent to read unrelated system files or environment variables.
Install Mechanism
There is no declared install spec in the registry; instead the runtime instructions tell the agent to run 'npm i -g @fly-ai/flyai-cli' if the CLI is missing. Installing a global npm package at runtime is a non-trivial operation (network fetch, code executed on host) and is higher-risk than an instruction-only skill. While using an npm package for a CLI is plausible, the skill should ideally declare the install behavior or provide a vetted homepage/source so users can inspect the package before allowing installation.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. The CLI-based workflow reasonably does not need additional secrets declared in the skill. There are no hidden env-var accesses in SKILL.md.
Persistence & Privilege
always:false and no special privileges are requested. However the runbook includes an optional local append to '.flyai-execution-log.json' which will persist executed commands and user queries in the working directory. This is not required for the skill's stated purpose but is suggested for logging; users should consider whether local persistence of queries is acceptable.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install breakfast-hotel
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /breakfast-hotel 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.2.0
- Major update: strict rules enforcing 100% real-time hotel data from the flyai CLI for all queries. - Now **only** replies with hotels where breakfast is included, using verified CLI output—never from internal knowledge. - Always checks for flyai-cli installation and blocks all answers if it’s missing. - Output requires booking links from CLI results; no generated or old data allowed. - Expanded description: new features include flight booking, train tickets, itinerary planning, visa info, car rental, and more, all powered by Fliggy (Alibaba Group). - Strong error handling and self-validation: responses without live booking links are auto-rejected.
元数据
Slug breakfast-hotel
版本 3.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Breakfast Hotel 是什么?

Find hotels where breakfast is included in the room rate — save time finding breakfast spots and save money on morning meals. Also supports: flight booking,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 74 次。

如何安装 Breakfast Hotel?

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

Breakfast Hotel 是免费的吗?

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

Breakfast Hotel 支持哪些平台?

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

谁开发了 Breakfast Hotel?

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

💬 留言讨论