← 返回 Skills 市场
dingtom336-gif

Budget Trip Planner

作者 dingtom336-gif · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
92
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install budget-trip-planner
功能描述
Plan amazing trips on a tight budget — cheapest flights, budget hotels, free attractions, and money-saving hacks for every aspect of travel. Also supports: f...
使用说明 (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: budget-trip-planner

Overview

Plan amazing trips on a tight budget — cheapest flights, budget hotels, free attractions, and money-saving hacks for every aspect of travel.

When to Activate

User query contains:

  • English: "budget travel", "cheap trip", "save money", "backpacking"
  • Chinese: "穷游", "省钱旅行", "预算有限", "穷游攻略"

Do NOT activate for: luxury → luxury-trip-designer

Prerequisites

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

Parameters

This skill orchestrates multiple CLI commands. See each command's parameters below:

search-flight

Parameters

Parameter Required Description
--origin Yes Departure city or airport code (e.g., "Beijing", "PVG")
--destination Yes Arrival city or airport code (e.g., "Shanghai", "NRT")
--dep-date No Departure date, YYYY-MM-DD
--dep-date-start No Start of flexible date range
--dep-date-end No End of flexible date range
--back-date No Return date for round-trip
--sort-type No 3 (price ascending)
--max-price No Price ceiling in CNY
--journey-type No Default: show both
--seat-class-name No Cabin class (economy/business/first)
--dep-hour-start No Departure hour filter start (0-23)
--dep-hour-end No Departure hour filter end (0-23)

Sort Options

Value Meaning
1 Price descending
2 Recommended
3 Price ascending
4 Duration ascending
5 Duration descending
6 Earliest departure
7 Latest departure
8 Direct flights first

search-hotel

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

search-poi

Parameters

Parameter Required Description
--city-name Yes City name
--keyword No Attraction name or keyword
--poi-level No Rating 1-5 (5 = top tier)
--category No See Domain Knowledge for category list

keyword-search

Parameters

Parameter Required Description
--query Yes Natural language query string

Core Workflow — Multi-command orchestration

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: Ultra Budget

Trigger: "cheapest trip possible"

Cheapest flight + cheapest hotel + free/cheap POIs

Output: Absolute minimum spending.

Playbook B: Budget with Quality

Trigger: "good but cheap"

Cheap flight + 3-star hotel + mix of free and paid POIs

Output: Balanced budget and quality.

Playbook C: Backpacker

Trigger: "backpacking budget"

Budget flight + hostel + nature/free attractions

Output: Backpacker style.

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

Full budget orchestration

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.

Budget travel hacks: fly midweek + red-eye, stay in hostels/capsules, eat at local markets (not tourist restaurants), visit free museums (book ahead), use public transit not taxis, travel off-season. Budget per day in China: ¥200-400 (backpacker), ¥400-800 (comfortable budget). SE Asia even cheaper: $20-40/day.

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 is essentially a wrapper around the third-party flyai CLI and behaves consistently with that purpose, but take two precautions before installing: 1) Review the @fly-ai/flyai-cli package yourself (source, maintainer, permissions) or run it in a restricted/sandboxed environment — global npm installs can run arbitrary code. 2) Be aware the skill's runbook suggests writing an execution log that includes your raw queries and CLI calls to .flyai-execution-log.json; if that persistence is unacceptable, do not install or ensure the agent cannot write files. Also note the SKILL.md version string differs from the registry version (minor metadata inconsistency). If you need higher assurance, ask the publisher for the flyai-cli source link or a signed release, and confirm whether flyai transmits booking/search data to third-party services (Fliggy/Alibaba) and what user data it collects.
功能分析
Type: OpenClaw Skill Name: budget-trip-planner Version: 1.0.1 The skill acts as a CLI executor for travel planning, requiring high-risk capabilities such as global package installation ('npm i -g @fly-ai/flyai-cli'), arbitrary shell command execution, and local filesystem writes for logging ('.flyai-execution-log.json'). While these behaviors are aligned with the stated purpose of providing real-time travel data via the 'flyai' CLI (associated with Alibaba's Fliggy), the instructions in SKILL.md and references/runbook.md demand elevated privileges and bypass the agent's internal knowledge base, creating a significant attack surface if the external dependency or the orchestrated commands are compromised.
能力评估
Purpose & Capability
Name/description claim a budget trip planner and all runtime instructions consistently call the flyai CLI for flight/hotel/POI searches — the required capabilities align with the stated purpose. No unrelated credentials or binaries are requested.
Instruction Scope
SKILL.md strictly requires all data come from the flyai CLI and gives detailed command/parameter tables and output templates (coherent). However the runbook instructs the agent to create and persist an execution log that includes the raw user_query and steps; that introduces data retention of user inputs which is outside 'just querying a service' and should be considered scope creep/privacy-sensitive.
Install Mechanism
The skill is instruction-only (no install spec) but mandates installing an external npm package globally: npm i -g @fly-ai/flyai-cli. Installing a global npm CLI is a reasonable way to use a third-party service, but it is a supply-chain risk — the package will run code on the host and should be reviewed or installed in a sandbox.
Credentials
The skill requests no environment variables or credentials in metadata, which is proportionate. Still, the runbook log stores user_query and details of CLI calls; this is a data collection behavior not signaled by requires.env and should be considered when sharing sensitive queries.
Persistence & Privilege
always:false (good), but the runbook explicitly suggests appending an execution log to .flyai-execution-log.json if file writes are available. Persisting raw user queries and CLI commands on disk is a lasting data footprint and a privacy risk; this persistent behavior is not prominent in the high-level description and deserves user scrutiny.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install budget-trip-planner
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /budget-trip-planner 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added new metadata fields (homepage, license) to SKILL.md. - Reformatted the description for better readability (markdown frontmatter). - No changes to core logic, CLI parameters, or workflow. - Version numbers in the file remain at 2.0.0 for this update.
v1.0.0
Major upgrade to version 2.0.0 with stricter real-time data enforcement and CLI-only execution. - Now requires all trip planning data to be sourced via flyai CLI commands only—no knowledge-based answers allowed. - Enforces `[Book]({detailUrl})` booking links for every recommended flight, hotel, or attraction. - Enhanced workflows for different budget traveler scenarios, such as ultra-budget, quality-budget, and backpacker styles. - Adds multilingual support (English and Chinese) and clear guidance on parameter collection. - Strict output validation to prevent fabricated results or missing booking links.
元数据
Slug budget-trip-planner
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Budget Trip Planner 是什么?

Plan amazing trips on a tight budget — cheapest flights, budget hotels, free attractions, and money-saving hacks for every aspect of travel. Also supports: f... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 92 次。

如何安装 Budget Trip Planner?

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

Budget Trip Planner 是免费的吗?

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

Budget Trip Planner 支持哪些平台?

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

谁开发了 Budget Trip Planner?

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

💬 留言讨论