← 返回 Skills 市场
melvynx

Aviationstack Cli

作者 Melvyn · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
257
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install aviationstack-cli
功能描述
Manage AviationStack via CLI - flights, airports, airlines, routes. Use when user mentions 'aviationstack', 'flight search', 'airport lookup', 'airline searc...
使用说明 (SKILL.md)

aviationstack-cli

Setup

If aviationstack-cli is not installed, install it from GitHub:

npx api2cli install Melvynx/aviationstack-cli

If aviationstack-cli is not found, install and build it:

bun --version || curl -fsSL https://bun.sh/install | bash
npx api2cli bundle aviationstack
npx api2cli link aviationstack

api2cli link adds ~/.local/bin to PATH automatically. The CLI is available in the next command.

Always use --json flag when calling commands programmatically.

Authentication

aviationstack-cli auth set "your-token"
aviationstack-cli auth test

Resources

flights

Command Description
aviationstack-cli flights search --iata YP111 --json Search flights by IATA code
aviationstack-cli flights search --airline-iata KE --json Search flights by airline IATA
aviationstack-cli flights search --flight-number 111 --json Search flights by number
aviationstack-cli flights search --dep-iata ICN --arr-iata SFO --json Search by departure and arrival
aviationstack-cli flights search --limit 50 --offset 25 --json Search with pagination
aviationstack-cli flights search --fields flight_iata,airline_iata,status --json Search with specific fields

airports

Command Description
aviationstack-cli airports search --iata-code ICN --json Search airport by IATA code
aviationstack-cli airports search --search "San Francisco" --json Search airport by name or city
aviationstack-cli airports search --limit 10 --json Search with result limit
aviationstack-cli airports search --fields iata_code,airport_name,city_iata --json Search with specific fields

airlines

Command Description
aviationstack-cli airlines search --iata-code KE --json Search airline by IATA code
aviationstack-cli airlines search --search "Korean Air" --json Search airline by name
aviationstack-cli airlines search --limit 5 --json Search with result limit
aviationstack-cli airlines search --fields iata_code,airline_name --json Search with specific fields

routes

Command Description
aviationstack-cli routes search --dep-iata ICN --arr-iata SFO --json Search routes by airports
aviationstack-cli routes search --flight-number 111 --json Search routes by flight number
aviationstack-cli routes search --fields dep_iata,arr_iata,airline_iata --json Search with specific fields

Global Flags

All commands support: --json, --format \x3Ctext|json|csv|yaml>, --verbose, --no-color, --no-header

安全使用建议
This skill appears to be a CLI helper for AviationStack but has some gaps and risky install steps. Before installing: 1) Verify the source repositories (Melvynx/aviationstack-cli and api2cli) on GitHub and inspect the code/release artifacts. 2) Do not run curl | bash (bun.sh) without reviewing the installer — prefer manual installation or an audited package. 3) Be aware you will need to supply an AviationStack API token; create a least-privilege key and confirm the skill only uses that token for the API. 4) Prefer installing/testing in an isolated environment (container or VM) if you must run the automated install steps. 5) Ask the skill author to update metadata to declare required binaries and the required API credential so the requirements match the instructions. These steps will reduce risk and make the skill's intent and requirements clear.
功能分析
Type: OpenClaw Skill Name: aviationstack-cli Version: 0.1.0 The skill bundle contains instructions in SKILL.md to execute a 'curl | bash' command to install Bun and uses 'npx api2cli' to install a CLI tool directly from a GitHub repository (Melvynx/aviationstack-cli). While these actions are aligned with the stated purpose of setting up the environment, they represent high-risk behaviors (potential RCE and unverified third-party code execution) that could be exploited if the external sources are compromised.
能力评估
Purpose & Capability
The name/description (AviationStack CLI) aligns with the commands shown. However the manifest declares no required binaries or credentials, while the SKILL.md expects npx, api2cli, and possibly bun, and it shows an auth step requiring a token. The skill should declare the API token and the runtime tools it actually needs.
Instruction Scope
The runtime instructions are focused on installing and using the CLI, but they instruct the agent/user to run network installers and a shell install script (curl -fsSL https://bun.sh/install | bash). The doc does not declare or explain where the API token should come from, and it gives broad install instructions that download and execute code.
Install Mechanism
There is no formal install spec in the metadata, but SKILL.md tells users to run npx api2cli install Melvynx/aviationstack-cli, npx api2cli bundle/link, and a curl|bash install for bun. Running curl|bash to install software and using npx to fetch code from registries are higher-risk actions and should be declared and justified in metadata.
Credentials
The manifest states no required env vars or primary credential, but the instructions require running 'aviationstack-cli auth set "your-token"' (i.e., an API key). This is an omission — the skill implicitly needs an AviationStack API token but does not declare it in requires.env.
Persistence & Privilege
The skill does not request always:true and is user-invocable (normal). The install/link steps will add binaries to the user's ~/.local/bin and may modify PATH for the user environment; that is a fairly standard local install behavior but should be noted.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install aviationstack-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /aviationstack-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of aviationstack-cli: - Command-line interface to interact with AviationStack API for flights, airports, airlines, and routes. - Supports search, filter, and pagination across all resources. - Allows specific field selection and custom output formats (json, csv, yaml, text). - Easy authentication setup and testing. - Global flags for output formatting and verbosity.
元数据
Slug aviationstack-cli
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Aviationstack Cli 是什么?

Manage AviationStack via CLI - flights, airports, airlines, routes. Use when user mentions 'aviationstack', 'flight search', 'airport lookup', 'airline searc... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 257 次。

如何安装 Aviationstack Cli?

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

Aviationstack Cli 是免费的吗?

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

Aviationstack Cli 支持哪些平台?

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

谁开发了 Aviationstack Cli?

由 Melvyn(@melvynx)开发并维护,当前版本 v0.1.0。

💬 留言讨论