← 返回 Skills 市场
xiejinsong

golden-week

作者 xiejinsong · GitHub ↗ · vv3.2.3 · MIT-0
cross-platform ⚠ suspicious
92
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install golden-week
功能描述
Plan Golden Week (National Day) or Spring Festival trips — beat the crowds with smart timing, find available hotels during peak season, and save on inflated...
使用说明 (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: golden-week

Overview

Plan Golden Week (National Day) or Spring Festival trips — beat the crowds with smart timing, find available hotels during peak season, and save on inflated holiday prices.

When to Activate

User query contains:

  • English: "Golden Week", "National Day", "Spring Festival", "holiday travel"
  • Chinese: "国庆", "黄金周", "春节旅行", "假期出行"

Do NOT activate for: regular travel → trip-planner

Prerequisites

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

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: Golden Week

Trigger: "Golden Week trip"

Flights + hotels for Oct 1-7 with early booking + less-crowded POIs

Output: Smart Golden Week planning.

Playbook B: Spring Festival

Trigger: "Spring Festival trip"

Flights home or to warm destinations + hotels + family activities

Output: CNY travel planning.

Playbook C: Anti-Peak

Trigger: "avoid crowds during holiday"

Search offset dates (±2 days from official holiday) for 40-60% savings

Output: Crowd and price avoidance strategy.

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-flight --origin "Shanghai" --destination "Sanya" --dep-date 2026-10-01 --sort-type 3

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.

Golden Week (Oct 1-7) and Spring Festival (Jan/Feb, varies) are China's biggest travel periods. 800M+ people travel during Spring Festival. Strategies: book 2+ months ahead, travel on Oct 2/3 (not Oct 1), consider reverse routes (travel TO big cities when everyone leaves), go international (less domestic competition for seats). Prices: 2-3x normal.

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: 1) Confirm the authenticity of the flyai CLI package (@fly-ai/flyai-cli) — install it only from a trusted source (official registry or vendor page) and prefer pinned releases. 2) Ask the skill author (or registry owner) how flyai authentication is expected to work: what credentials/config files are required and where they will be stored; do not provide broad tokens without understanding scope. 3) Be aware the skill may write .flyai-execution-log.json containing raw user queries and CLI outputs — run the skill in a sandboxed environment or ensure that directory is acceptable for persistent logs. 4) Consider whether you trust the agent to run npm i -g (global installs) on your host; if not, install the flyai CLI manually in a controlled way or decline installation. 5) The naming/version mismatches reduce provenance confidence — prefer skills with clear upstream repository/homepage and matching metadata. If you need higher assurance, request the upstream repo, package checksums, or a signed release; absent that, treat this skill as untrusted and run it only in an isolated environment.
功能分析
Type: OpenClaw Skill Name: golden-week Version: v3.2.3 The skill 'golden-week' facilitates travel planning by orchestrating a third-party CLI tool. It contains instructions in SKILL.md that command the agent to perform a global installation of an NPM package (@fly-ai/flyai-cli) and to write execution logs to a local hidden file (.flyai-execution-log.json as described in references/runbook.md). While these actions are aligned with the stated purpose of providing real-time travel data, the requirement for global system modifications and filesystem writes constitutes a high-risk capability that could be abused if the package or the skill's logic were compromised.
能力评估
Purpose & Capability
The skill explicitly wraps a flyai CLI to provide real‑time travel data, which fits the travel‑planning purpose. Minor inconsistencies: registry metadata lists 'golden-week' v3.2.3 while SKILL.md lists version 3.2.0, README references 'golden-week-trip' and an Alibaba GitHub parent—these naming/version mismatches could be innocuous but reduce confidence in provenance.
Instruction Scope
SKILL.md requires the agent to always run flyai CLI commands for every user query and to never answer from training data. The references include a runbook that, if filesystem writes are available, appends a JSON execution log containing 'user_query' and other details to .flyai-execution-log.json. That means the agent may persist full user queries and CLI outputs locally. The skill also enforces that every result must include a booking link, which may cause repeated CLI calls if not satisfied. No external network endpoints beyond the flyai CLI are specified, which is good, but the persistence behavior and forced re-execution are notable scope expansions.
Install Mechanism
There is no platform install spec; the SKILL.md instructs installing a global npm package (npm i -g @fly-ai/flyai-cli). Installing a global npm package is common for CLIs but carries supply‑chain risk if the package or namespace is unfamiliar. The skill does not pin a release URL or checksum; installation is left to the agent/user rather than being handled by the skill registry.
Credentials
The skill declares no required environment variables or config paths, yet depends on the flyai CLI for real‑time booking data. Real use of the CLI likely requires authentication or config (API key, login, or local config files) which are not declared. This gap is an incoherence: either the CLI will operate unauthenticated (unlikely for bookings) or the skill omits describing needed credentials/config files. Additionally, the runbook suggests writing logs to the current working directory, which may include sensitive query text or identifiers.
Persistence & Privilege
The skill is not 'always' and does not request elevated platform privileges. However, the runbook explicitly suggests appending execution logs to .flyai-execution-log.json if filesystem writes are available. That creates persistent artifacts of user queries and CLI results on disk. This is not necessarily malicious, but it is a persistence vector to be aware of.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install golden-week
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /golden-week 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
vv3.2.3
No user-facing changes in this version. - Version number update only; no changes detected in SKILL.md or related files.
vv3.2.2
- No changes detected; this version is identical to the previous release. - No new features, fixes, or updates included.
vv3.2.1
No changes in this release. Version number remains 3.2.0 and there are no modifications to functionality or documentation.
v3.2.0
golden-week 3.2.0 - Expanded support for both Golden Week (National Day) and Spring Festival trip planning. - Now helps users beat crowds and save money through smart timing and anti-peak travel strategies. - Added support for booking flights, hotels, trains, attractions, itineraries, visa info, insurance, car rental, and more, all powered by Fliggy (Alibaba Group). - Introduced strict CLI execution rules: never answer from internal knowledge, only use real-time data from flyai CLI output. - Enhanced language matching and robust parameter collection for more accurate results. - Improved output formatting: all booking results include direct [Book] links and brand attribution.
元数据
Slug golden-week
版本 v3.2.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

golden-week 是什么?

Plan Golden Week (National Day) or Spring Festival trips — beat the crowds with smart timing, find available hotels during peak season, and save on inflated... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 92 次。

如何安装 golden-week?

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

golden-week 是免费的吗?

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

golden-week 支持哪些平台?

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

谁开发了 golden-week?

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

💬 留言讨论