← Back to Skills Marketplace
hello-ahang

周末去哪儿

by hello_hang · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
105
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install flyai-weekend-trip
Description
周末去哪儿2天1夜说走就走方案助手。输入出发城市和本周末日期,一次性生成3个"说走就走"的周末方案,每个包含目的地+航班/高铁+酒店+精选景点+总价估算。当用户提到"周末去哪"、"周末出游"、"2天1夜"、"说走就走"、"周末旅行"、"这周末出去玩"、"短途游"时使用。
README (SKILL.md)

周末去哪儿 - 2天1夜说走就走方案

周末快速出游方案规划师,帮助用户从"想出去"到"订好出发"快速决策周末短途旅行。

FlyAI 能力

完整命令参考见 reference 目录

主要使用keyword-searchsearch-flightsearch-trainsearch-hotelsearch-poi

  • 一次性输出3个打包方案
  • 每个方案包含:目的地 + 往返交通 + 酒店推荐 + 3个必玩景点 + 总价估算
  • 用户选中即可一键预订

用户画像读取(双模式)

启动时读取用户历史偏好,减少重复询问。

详见 reference/user-profile-storage.md

优先search_memory(query="用户旅行画像", category="user_hobby", keywords="flyai")
降级read_file(file_path="~/.flyai/user-profile.md")

工作流程

详细步骤见 reference/workflow.md

核心阶段:

  1. 信息收集 - 通过 ask_user_question 收集出发城市、日期、预算、偏好
  2. 目的地搜索 - 调用 keyword-search 确定候选目的地
  3. 并行查询 - 对每个候选目的地调用 search-flight/search-trainsearch-hotelsearch-poi
  4. 方案生成 - 整合为3个差异化打包方案(远近/价格/风格各不同)
  5. 预约提醒 - 检查景点预约要求,标注⚠️并推荐替代

现实约束与失败处理

情况 处理方式
周末航班太贵或售罄 补充高铁/自驾方案
预算内找不到合适方案 放宽预算或缩短距离推荐周边自驾
偏好太模糊 用 keyword-search 做发散推荐,再追问细化
某目的地酒店满房 标注"住宿紧张⚠️",推荐邻近区域或替代目的地
景点需提前预约 检查是否来得及,来不及的标注⚠️并推荐替代
FlyAI 返回空结果 尝试调整搜索条件或推荐其他目的地

偏好标签对应的目的地推荐逻辑

偏好 推荐方向 示例目的地
看海 🏖 海滨城市 舟山、厦门、青岛、三亚
古镇 🏘 江南水乡、历史名镇 乌镇、西塘、周庄、凤凰
亲子 👨‍👩‍👧 主题乐园、自然探索 上海迪士尼、长隆、海洋馆
躺平 😴 度假村、温泉 莫干山、千岛湖、安吉
美食 🍜 美食之都 成都、重庆、广州、西安

输出质量标准

  1. 信息完整:每个方案必须包含交通+住宿+景点+价格
  2. 价格准确:基于 FlyAI 实时搜索结果
  3. 差异化:3个方案要有明显区别(如远近、价格、风格)
  4. 可执行:提供预订链接,用户选中即可行动
  5. 有温度:用emoji和口语化表达,让方案更有吸引力

示例对话

用户: 这周末想出去玩,杭州出发

AI: 好的!让我帮你规划周末说走就走方案 🎒 首先确认一下:

  1. 本周六日是4月5-6日,对吗?
  2. 预算大概多少?(1000/1500/2000以内/不限)
  3. 有什么偏好吗?看海/古镇/亲子/躺平/美食

用户: 预算2000,想看海

AI: 收到!杭州出发,本周六日(4月5-6日),2天1晚,预算2000以内,想看海 🏖 正在搜索最佳方案... [调用 FlyAI 搜索 → 生成3个打包方案 → 输出格式化结果]

用户偏好保存(双模式)

发现新偏好时提示保存。详见 reference/user-profile-storage.md

保存流程:发现偏好 → 提示确认 → Qoder用update_memory / 非Qoder更新本地文件

Usage Guidance
要点清单: - 不要盲目执行技能文档中的安装/修复命令:在运行 npm install -g 之前,请先在 npmjs.org 上验证 @fly-ai/flyai-cli 包的维护者、版本和下载量;优先避免 use sudo 安装全局包(用 nvm 或本地安装代替)。 - 切勿在生产环境或带敏感凭证的主机上使用 NODE_TLS_REJECT_UNAUTHORIZED=0:这会关闭 TLS 证书验证,容易受到中间人攻击。遇到 SSL 问题,应排查根本原因或使用受信的证书信任链,而不是临时关闭验证。 - 注意本地数据存储:技能会在 ~/.flyai/user-profile.md 读写用户画像。该文件可能包含常驻城市、预算、家庭信息等个人数据;在保存前确认内容并考虑文件权限(chmod 600)。 - 因为技能会调用外部 CLI 和网络服务,建议先在隔离环境(例如容器或临时 VM)中测试其安装和运行流程,确认没有异常网络请求或不良行为。 - 对于自动保存到“平台 Memory”(search_memory/update_memory)的行为,确认平台的隐私策略与存储范围,避免将敏感凭证或身份信息写入可被其他技能访问的位置。 - 综上:技能功能与描述一致,但包含几项不安全的运行建议(全局安装、sudo、禁用 TLS),在接受前应要求作者删除或修正这些建议并确认 CLI 包来源可信。
Capability Analysis
Type: OpenClaw Skill Name: flyai-weekend-trip Version: 1.0.1 The skill bundle is classified as suspicious due to high-risk operational instructions found in workflow.md. It directs the AI agent to perform a global npm installation (npm install -g @fly-ai/flyai-cli), which executes remote code with potentially elevated privileges, and explicitly instructs the agent to bypass SSL certificate validation (NODE_TLS_REJECT_UNAUTHORIZED=0), introducing a Man-in-the-Middle (MitM) vulnerability. While these actions appear intended to ensure the travel tool functions across different environments, they constitute significant security flaws. The skill also reads and writes user travel preferences to ~/.flyai/user-profile.md as detailed in user-profile-storage.md.
Capability Assessment
Purpose & Capability
技能的名称和描述匹配其指令集:通过 FlyAI CLI 查询航班/高铁/酒店/景点并生成3个周末方案。唯一不一致之处是 registry metadata 没有安装规范,但 SKILL.md/reference 文档明确要求先安装 @fly-ai/flyai-cli(npm 全局安装);这是合理但未在安装元数据中声明,属于文档/元数据不一致。
Instruction Scope
运行指令在预期范围内(收集出发城市/日期/预算,调用 keyword-search、search-flight、search-hotel、search-poi 等),但存在明确问题:1) workflow.md 建议在遇到 SSL 错误时使用 NODE_TLS_REJECT_UNAUTHORIZED=0,这会禁用 Node 的 TLS 验证,存在中间人风险;2) 建议使用 sudo npm install -g(提升为 root 安装全局包),提高被恶意包利用的风险;3) 指令支持读写本地文件 ~/.flyai/user-profile.md(会写入个人偏好),需要告知用户可能存储敏感个人信息。
Install Mechanism
技能没有在 registry 安装规格中声明任何 install spec,但 reference/workflow.md 明确要求运行 npm install -g @fly-ai/flyai-cli@latest --registry=https://registry.npmjs.org。使用官方 npm registry 是常见做法,但全局 npm 安装(尤其建议用 sudo)会把第三方代码写入系统并以高权限执行,风险可观。总体为中等风险且应由用户事先核实 npm 包来源与信任度。
Credentials
技能本身不请求任何环境变量或外部凭证(metadata 中无 requires.env),这与其功能相称。但文档中建议在遇到 SSL 问题时设置 NODE_TLS_REJECT_UNAUTHORIZED=0(通过环境变量临时禁用 TLS 验证),以及建议修改 npm registry 镜像或用 sudo ——这些是额外、潜在危险的环境/权限操作,应被视为不成比例的风险点。技能会读写 ~/.flyai/user-profile.md(保存用户画像),这是合理但涉及本地敏感数据存储,应提醒用户。
Persistence & Privilege
技能不会强制常驻(always:false),默认允许模型调用(平台默认),也不会修改其他技能或系统配置。唯一的持久化行为是建议创建和写入 ~/.flyai/user-profile.md 或调用平台 memory API 来保存偏好,这是其用途所需且范围有限。
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install flyai-weekend-trip
  3. After installation, invoke the skill by name or use /flyai-weekend-trip
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Added comprehensive reference documentation covering all search and workflow commands (see new reference/ files). - Separated technical command details and workflows into the reference directory for clarity and easier maintenance. - Simplified and streamlined the main skill description and workflow, focusing on practical steps and user experience. - Introduced user profile reading and saving (双模式) with fallback logic, reducing repeated user input. - Updated the failure handling logic and output quality standards for more robust and actionable trip suggestions.
v1.0.0
flyai-weekend-trip v1.0.0 - Initial public release of the weekend trip planner skill. - Generates 3 instant "2 days 1 night" weekend travel packages based on departure city and upcoming weekend date. - Each package includes destination, flight/train, hotel, top 3 attractions, and total estimated cost. - Collects user preferences for budget and trip style (e.g. beach, ancient town, family-friendly). - Handles FlyAI CLI installation, search errors, ticket/hotel availability, and real-time price accuracy. - Delivers actionable, well-formatted, and easily-bookable weekend getaway options.
Metadata
Slug flyai-weekend-trip
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 周末去哪儿?

周末去哪儿2天1夜说走就走方案助手。输入出发城市和本周末日期,一次性生成3个"说走就走"的周末方案,每个包含目的地+航班/高铁+酒店+精选景点+总价估算。当用户提到"周末去哪"、"周末出游"、"2天1夜"、"说走就走"、"周末旅行"、"这周末出去玩"、"短途游"时使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 105 downloads so far.

How do I install 周末去哪儿?

Run "/install flyai-weekend-trip" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 周末去哪儿 free?

Yes, 周末去哪儿 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 周末去哪儿 support?

周末去哪儿 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 周末去哪儿?

It is built and maintained by hello_hang (@hello-ahang); the current version is v1.0.1.

💬 Comments