ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified utilities Safety 4/5

variflight

Query flight information, train tickets, and travel data using Variflight (飞常准) HTTP API. Use when the user needs to (1) search flights by route or flight number, (2) check flight status and punctuality, (3) find train tickets, (4) get airport weather forecasts, (5) check flight prices, (6) plan multi-modal trips (flight+train), or (7) get flight comfort metrics (happiness index).

Why use this skill?

Integrate Variflight into your OpenClaw agent to access real-time flight statuses, train tickets, and airport weather. Streamline your travel planning today.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/lyz1990/variflight
Or

What This Skill Does

The variflight skill is a comprehensive travel intelligence tool designed for the OpenClaw agent. It integrates the Variflight (飞常准) HTTP API, allowing users to query real-time flight status, train schedules, airport weather, and ticket pricing directly through an AI assistant. Whether you are a frequent traveler or managing complex logistics, this skill serves as your single source of truth for multi-modal travel planning.

Installation

  1. Use the ClawHub interface to install automatically: openclaw skill install variflight.
  2. Manual installation involves cloning the repository and placing the scripts in your workspace: cp -r variflight-skill ~/.openclaw/workspace/skills/variflight.
  3. Configure your API key by setting the VARIFLIGHT_API_KEY environment variable or creating a ~/.variflight.json file. Retrieve your key from https://ai.variflight.com.

Use Cases

  • Flight Tracking: Instantly retrieve status, delays, and punctuality stats for any flight number (e.g., MU2157).
  • Itinerary Planning: Search for available flight routes between cities on specific dates.
  • Multi-modal Coordination: Simultaneously check both flight itineraries and train tickets for seamless city-to-city transfers.
  • Environmental Awareness: Get future airport weather forecasts to predict potential delays.
  • Travel Analytics: Compare flight comfort metrics (happiness index) to select the best carriers.

Example Prompts

  1. "Check the status and punctuality of flight MU2157 for February 15th, 2025."
  2. "Find me flight options from Beijing (PEK) to Shanghai (SHA) on March 1st and compare them with train tickets from Shanghai to Hefei."
  3. "What is the current weather forecast for the Beijing Capital International Airport (PEK)?"

Tips & Limitations

  • Efficiency: Always use the official airport codes (e.g., PEK, SHA, PVG) to ensure the highest accuracy for your search queries.
  • Config: Using environment variables is the most secure method for CI/CD pipelines, whereas the configuration file is better for local development environments.
  • Limitation: The skill requires an active internet connection and a valid API key; please monitor your quota usage on the Variflight dashboard to avoid 401 errors during peak travel periods.

Metadata

Author@lyz1990
Stars1601
Views1
Updated2026-02-27
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-lyz1990-variflight": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#travel#flights#transportation#api#logistics
Safety Score: 4/5

Flags: network-access, external-api