← 返回 Skills 市场
hello-ahang

历史价格参谋

作者 hello_hang · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
109
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install flyai-price-advisor
功能描述
历史价格参谋——现在订划算吗?帮助用户解决"买还是等"的预订焦虑。输入具体航班/酒店信息,AI 结合实时价格和旅行定价规律,给出价格水位评估、趋势预判和明确的"买/等"建议。当用户提到"现在买划算吗"、"会不会降价"、"该买还是等"、"价格评估"、"价格参谋"、"机票贵不贵"、"酒店现在订合适吗"、"价格趋势"时使用。
使用说明 (SKILL.md)

历史价格参谋 — 现在订划算吗?

你是一个智能价格决策顾问,专门帮助用户解决旅行预订中最大的焦虑:"会不会更便宜?"

核心能力

FlyAI 能力

完整命令参考见 reference 目录

本技能主要使用search-flightsearch-hotel

  • 价格水位评估:将当前价格定位到历史区间(高/中/低)
  • 邻近日期对比:扫描前后几天价格,发现更低价机会
  • 趋势预判:基于旅行定价规律(旺季/淡季/提前天数)预测涨跌概率
  • 明确建议:给出"买/等"建议 + 置信度,终结选择困难
  • 持续学习:记住用户的价格偏好和历史咨询,提供更精准建议

用户画像读取(双模式)

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

详见 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. 收集信息 - 获取用户关注的航班/酒店信息
  2. 实时查价 - 调用 FlyAI 搜索当前价格
  3. 价格定位 - 评估当前价格水位(高/中/低)
  4. 趋势预判 - 基于定价规律预测涨跌概率
  5. 输出建议 - 给出“买/等”建议+置信度

高级能力:持续学习与成长

记忆用户偏好

  • 记住用户的心理价位区间
  • 记住用户的风险偏好(激进型/保守型)
  • 记住用户历史咨询和决策结果

主动推送

如果用户曾咨询过某航线/酒店,在检测到显著价格变动时可主动提示。

能力扩展

本skill不仅限于机票和酒店,未来可扩展至:

  • 🚄 火车票价格评估
  • 🎫 演出/景点门票价格评估
  • 🚢 邮轮价格评估
  • 🚗 租车价格评估

调用对应的 FlyAI 命令即可扩展能力边界。

现实约束与失败处理

场景 处理方式
没有历史价格数据 基于 AI 通识知识(旺季/淡季/提前天数规律)做推断,标注"基于行业规律推断,非精确历史数据"
预测错了(买了之后降价) 在建议中始终标注置信度和概率,不做100%承诺;提示"如果航司/酒店支持退改可以止损"
特殊情况突然降价(航司大促) 无法预测黑天鹅事件,标注"如遇临时促销,以上预判可能失效"
用户心理价位不现实 "您设定的目标价 ¥XXX 在旺季基本不可能达到,建议调整到 ¥XXX-XXX"
FlyAI 搜索无结果 调整搜索条件重试,或基于通识知识给出大致建议
FlyAI 调用报错 检查网络、重试,必要时降级为纯知识推断

示例对话

详见 reference/examples.md

用户偏好保存(双模式)

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

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

安全使用建议
This skill appears to do what it claims (price searches + advising) and will store preferences either in Qoder memory or a local file (~/.flyai/user-profile.md). Before installing or following its workflow: 1) do not run global npm installs with sudo unless you trust the package and review it; prefer user-local installs (nvm) or inspect the package source on the registry. 2) Never set NODE_TLS_REJECT_UNAUTHORIZED=0 as a permanent fix — it disables TLS validation and risks man-in-the-middle attacks; only investigate why SSL fails and fix cert/trust issues instead. 3) Be aware the skill will read/write a file in your home directory to store preferences — confirm what will be stored and get user consent. 4) If you plan to allow proactive push notifications, ask the developer how pushes are implemented (who hosts them, what network endpoints are used) before enabling. If the author can remove the TLS-bypass guidance and avoid recommending sudo/global installs (or provide a vetted installer and signed releases), the remaining concerns would be resolved.
功能分析
Type: OpenClaw Skill Name: flyai-price-advisor Version: 1.0.1 The skill bundle contains high-risk operational instructions in reference/workflow.md, specifically mandating a global NPM package installation (npm install -g @fly-ai/flyai-cli) and explicitly instructing the AI agent to bypass SSL certificate validation (NODE_TLS_REJECT_UNAUTHORIZED=0) if errors occur. While these are framed as setup and troubleshooting steps for the travel advisor, they introduce significant security vulnerabilities, including potential supply chain risks and Man-in-the-Middle (MITM) susceptibility. The skill also performs persistent file I/O in the user's home directory (~/.flyai/user-profile.md) to manage user profiles, which is a broad permission for a travel-related tool.
能力评估
Purpose & Capability
Name/description align with the instructions: it calls FlyAI search commands (search-flight, search-hotel), analyzes results, and stores/uses user preference data. Asking to read/write ~/.flyai/user-profile.md and use search_memory/update_memory is coherent with the described 'remember user prefs' feature.
Instruction Scope
Most runtime steps stay within price-search and analysis. However the workflow explicitly instructs installing a CLI (npm install -g @fly-ai/flyai-cli@latest) and advises using NODE_TLS_REJECT_UNAUTHORIZED=0 to work around SSL errors — this is a dangerous instruction (it disables TLS validation for that process). It also describes proactive push notifications without describing secure push mechanics. The skill will read and write a local file (~/.flyai/user-profile.md) which is reasonable for preferences but should be explicit with user consent.
Install Mechanism
There is no packaged install spec, but SKILL.md instructs globally installing @fly-ai/flyai-cli from npm (latest tag). Global npm installs (and recommending sudo) increase risk and surprise surface area. The npm source referenced is the public registry (no private/obfuscated URLs), which is expected, but using the 'latest' tag and recommending sudo elevates risk.
Credentials
The skill itself does not declare required environment variables or credentials (good), and reading/writing ~/.flyai/user-profile.md is proportionate to remembering preferences. But the instructions explicitly recommend setting NODE_TLS_REJECT_UNAUTHORIZED=0 to bypass SSL verification on failures — this is disproportionate and dangerous. The skill also suggests using sudo for npm installs which demands elevated privileges unnecessarily.
Persistence & Privilege
The skill persists user preferences (Qoder memory or a local file) which is reasonable. always:false and no system-wide config changes are requested. '主动推送' (active push) is proposed but not implemented in a clearly safe way — scheduled or background push capabilities are not detailed and would merit user consent.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install flyai-price-advisor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /flyai-price-advisor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Version 1.0.1 - Major documentation expansion with 11 new reference files, including command guides and usage examples. - User profile workflow and storage now clearly documented, supporting both memory and local file modes. - Workflows, search command usage, and advanced extension scenarios are modularized and referenced from accompanying docs. - Changelog introduces a more concise SKILL.md, reducing in-place step-by-step instructions, instead referring to new detailed reference materials. - Enhanced support for advanced user learning and preference retention, with clearly documented dual-mode user profile retrieval and update processes.
v1.0.0
flyai-price-advisor 1.0.0 初始版本上线,提供 AI 驱动的机票与酒店历史价格评估。 - 根据用户输入,结合实时和历史价格,分析机票/酒店当前价格水位 - 预测未来价格趋势,给出明确的“买/等”建议及置信度 - 支持灵活日期价格对比,自动推荐更优购票/订房时机 - 输出结构化评估结果,并内含可操作的预订直达链接 - 内置错误与异常场景处理建议,保障顺畅使用体验
元数据
Slug flyai-price-advisor
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

历史价格参谋 是什么?

历史价格参谋——现在订划算吗?帮助用户解决"买还是等"的预订焦虑。输入具体航班/酒店信息,AI 结合实时价格和旅行定价规律,给出价格水位评估、趋势预判和明确的"买/等"建议。当用户提到"现在买划算吗"、"会不会降价"、"该买还是等"、"价格评估"、"价格参谋"、"机票贵不贵"、"酒店现在订合适吗"、"价格趋势"时使用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 109 次。

如何安装 历史价格参谋?

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

历史价格参谋 是免费的吗?

是的,历史价格参谋 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

历史价格参谋 支持哪些平台?

历史价格参谋 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 历史价格参谋?

由 hello_hang(@hello-ahang)开发并维护,当前版本 v1.0.1。

💬 留言讨论