← Back to Skills Marketplace
bitbrewing

飞伙

by 扭币的大妈 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
77
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install feihuo
Description
使用 feihuo 命令行工具配置 API Key 并搜索航班。适用于用户要查询机票、比较航班、查看航班搜索参数、执行 feihuo search-flight 或管理 feihuo config 的场景。
README (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 原封不动贴给最终用户,除非用户明确要求。
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
requires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feihuo
  3. After installation, invoke the skill by name or use /feihuo
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- 更换技能名称为“飞伙”,移除“-cli”后缀。 - 更新显示名称,由“飞伙 CLI — 航班搜索”简化为“飞伙”。 - 其余功能、描述与使用方式保持不变。
v1.0.0
Initial release of feihuo-cli — 飞伙 CLI 航班搜索工具。 - 提供命令行工具,用于 API Key 配置与航班搜索功能。 - 支持单程及往返搜索,并自定义出发、返程日期与舱位类型参数。 - 管理本地配置文件,授权请求自动读取 API Key。 - 明确的命令行参数规则与日期格式要求。 - 结果需以中文 Markdown 优化展示,便于机票比较与预订。
Metadata
Slug feihuo
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 飞伙?

使用 feihuo 命令行工具配置 API Key 并搜索航班。适用于用户要查询机票、比较航班、查看航班搜索参数、执行 feihuo search-flight 或管理 feihuo config 的场景。 It is an AI Agent Skill for Claude Code / OpenClaw, with 77 downloads so far.

How do I install 飞伙?

Run "/install feihuo" 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 扭币的大妈 (@bitbrewing); the current version is v1.0.1.

💬 Comments