← 返回 Skills 市场
bitbrewing

飞伙

作者 扭币的大妈 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
77
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install feihuo
功能描述
使用 feihuo 命令行工具配置 API Key 并搜索航班。适用于用户要查询机票、比较航班、查看航班搜索参数、执行 feihuo search-flight 或管理 feihuo config 的场景。
使用说明 (SKILL.md)

飞伙

使用 feihuo 命令行工具搜索航班。命令输出 JSON 到 stdout,错误信息输出到 stderr

快速开始

  1. 安装 CLI:npm install -g feihuo-cli
  2. 配置 API Key:feihuo config set api-key xxxxxx
  3. 查看帮助:feihuo --help
  4. 搜索航班:feihuo search-flight --dep "上海" --arr "东京" --dep-date 2026-03-20

配置

首次使用前必须配置 API Key:

feihuo config set api-key xxxxxx

配置文件保存位置:

~/.config/feihuo/config.json

请求服务时 CLI 会自动读取配置,并设置:

Authorization: Bearer \x3Capi-key>

命令能力

config

管理本地配置。目前支持:

feihuo config set api-key xxxxxx

search-flight

搜索航班,支持单程和往返。

feihuo search-flight --dep "上海" --arr "东京" --dep-date 2026-03-20
feihuo search-flight --dep "上海" --arr "东京" --dep-date 2026-03-20 --back-date 2026-03-25 --berth-type Y

详细参数见 references/search-flight.md

日期规则

  • --dep-date 格式为 YYYY-MM-DD,且不能早于今天。
  • --back-date 格式为 YYYY-MM-DD,且不能早于 --dep-date

需要当前日期时,先运行:

date +%Y-%m-%d

舱位等级

  • Y:经济舱
  • C:公务舱
  • F:头等舱

结果展示要求

当把 search-flight 返回结果展示给用户时:

  • 使用中文 Markdown。
  • 优先展示价格、航程、航段、起降时间、航空公司和航班号。
  • 如果结果包含 jumpUrl,使用独立一行展示预订链接:[点击预订]({jumpUrl})
  • 多个方案适合用 Markdown 表格比较。
  • 不要把原始 JSON 原封不动贴给最终用户,除非用户明确要求。
安全使用建议
Before installing, confirm that you trust the feihuo-cli npm package and understand that your API key will be saved in a local config file for the CLI to use. The reviewed skill instructions are otherwise aligned with flight search and result display.
功能分析
Type: OpenClaw Skill Name: feihuo Version: 1.0.1 The skill bundle provides a standard interface for a flight search CLI tool named 'feihuo-cli'. It includes instructions for API key configuration, command execution for searching flights, and guidance for the agent on formatting JSON output into user-friendly Markdown. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found in SKILL.md or the reference documentation.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose—configure the feihuo CLI and search flights—matches the documented commands, API key use, and flight-search output handling. It does not show booking, purchasing, or account mutation beyond displaying a booking link.
Instruction Scope
The instructions are limited to setup, configuration, flight-search parameters, date validation, and formatting results for the user; no hidden prompt overrides, autonomous purchasing, or broad local access are shown.
Install Mechanism
The skill has no install spec or bundled code, but its quick start asks the user to globally install an unpinned npm package, so the external CLI itself is outside the reviewed artifacts.
Credentials
Node, local shell commands, and an external CLI are proportionate to a CLI-wrapper skill, but users should trust the feihuo-cli package before installing it.
Persistence & Privilege
The skill discloses that the API key is saved in ~/.config/feihuo/config.json and used as a Bearer token. This is purpose-aligned, though the registry metadata does not declare a primary credential or required config path.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feihuo
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feihuo 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- 更换技能名称为“飞伙”,移除“-cli”后缀。 - 更新显示名称,由“飞伙 CLI — 航班搜索”简化为“飞伙”。 - 其余功能、描述与使用方式保持不变。
v1.0.0
Initial release of feihuo-cli — 飞伙 CLI 航班搜索工具。 - 提供命令行工具,用于 API Key 配置与航班搜索功能。 - 支持单程及往返搜索,并自定义出发、返程日期与舱位类型参数。 - 管理本地配置文件,授权请求自动读取 API Key。 - 明确的命令行参数规则与日期格式要求。 - 结果需以中文 Markdown 优化展示,便于机票比较与预订。
元数据
Slug feihuo
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

飞伙 是什么?

使用 feihuo 命令行工具配置 API Key 并搜索航班。适用于用户要查询机票、比较航班、查看航班搜索参数、执行 feihuo search-flight 或管理 feihuo config 的场景。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 77 次。

如何安装 飞伙?

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

飞伙 是免费的吗?

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

飞伙 支持哪些平台?

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

谁开发了 飞伙?

由 扭币的大妈(@bitbrewing)开发并维护,当前版本 v1.0.1。

💬 留言讨论