variflight-global-flight-fares

Variflight Global Flight Fares searches one-way flight fares from the Variflight ticket API by departure IATA city code, arrival IATA city code, and departure date.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "variflight-global-flight-fares" with this command: npx skills add arisefx/variflight-global-flight-fares

Variflight Global Flight Fares

Overview

Use the bundled script to query the Variflight ticket API and return one-way flight options for a single route and date.

Workflow

  1. Collect dep, arr, and date.
  2. Validate dep and arr as three-letter IATA city codes and date as YYYY-MM-DD.
  3. If the user gives city names instead of codes, infer only when the mapping is unambiguous; otherwise ask for the IATA codes.
  4. Run python3 scripts/query_flights.py --dep BJS --arr SHA --date 2026-04-21.
  5. Summarize the result with departure airport, arrival airport, times, duration, price, transfer info, and the flight tag text.

Output Rules

  • Treat API code != 0 as a failure and surface the returned msg.
  • Treat an empty data.list as a valid "no flights found" result.
  • Use --limit N when the user only wants a subset of results.
  • Use --json only when the user asks for raw payload data.
  • Mention transfer flights separately from direct flights when summarizing.
  • Do not ask the user to provide an API key for this skill.

Script

  • scripts/query_flights.py accepts:
    • --dep
    • --arr
    • --date
    • --limit
    • --json
  • The script sends the fixed request parameter flightNum=10.

Example

Run python3 scripts/query_flights.py --dep BJS --arr SHA --date 2026-04-21 --limit 5 to fetch the first five displayed results for Beijing to Shanghai on April 21, 2026.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Vnsh Skill

Securely share files using encrypted, expiring vnsh.dev links with the vnsh CLI for uploading and decrypting shared content.

Registry SourceRecently Updated
Coding

Notion

Notion API for creating and managing pages, databases, blocks, relations, rollups, and multi-workspace profiles via the notioncli CLI tool.

Registry SourceRecently Updated
Coding

Lybic Sandbox

Lybic Sandbox is a cloud sandbox built for agents and automation workflows. Think of it as a disposable cloud computer you can spin up on demand. Agents can perform GUI actions like seeing the screen, clicking, typing, and handling pop ups, which makes it a great fit for legacy apps and complex flows where APIs are missing or incomplete. It is designed for control and observability. You can monitor execution in real time, stop it when needed, and use logs and replay to debug, reproduce runs, and evaluate reliability. For long running tasks, iterative experimentation, or sensitive environments, sandboxed execution helps reduce risk and operational overhead.

Registry SourceRecently Updated
1.2K0aenjoy
Coding

Homeassistant Skill

Control Home Assistant devices and automations via REST API. 25 entity domains including lights, climate, locks, presence, weather, calendars, notifications, scripts, and more. Use when the user asks about their smart home, devices, or automations.

Registry SourceRecently Updated
5.1K7anotb