← Back to Skills Marketplace
melvynx

Aviationstack Cli

by Melvyn · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
257
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install aviationstack-cli
Description
Manage AviationStack via CLI - flights, airports, airlines, routes. Use when user mentions 'aviationstack', 'flight search', 'airport lookup', 'airline searc...
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install aviationstack-cli
  3. After installation, invoke the skill by name or use /aviationstack-cli
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug aviationstack-cli
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Aviationstack Cli?

Manage AviationStack via CLI - flights, airports, airlines, routes. Use when user mentions 'aviationstack', 'flight search', 'airport lookup', 'airline searc... It is an AI Agent Skill for Claude Code / OpenClaw, with 257 downloads so far.

How do I install Aviationstack Cli?

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

Is Aviationstack Cli free?

Yes, Aviationstack Cli is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Aviationstack Cli support?

Aviationstack Cli is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Aviationstack Cli?

It is built and maintained by Melvyn (@melvynx); the current version is v0.1.0.

💬 Comments