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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lyz1990/variflightWhat 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
- Use the ClawHub interface to install automatically:
openclaw skill install variflight. - Manual installation involves cloning the repository and placing the scripts in your workspace:
cp -r variflight-skill ~/.openclaw/workspace/skills/variflight. - Configure your API key by setting the
VARIFLIGHT_API_KEYenvironment variable or creating a~/.variflight.jsonfile. 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
- "Check the status and punctuality of flight MU2157 for February 15th, 2025."
- "Find me flight options from Beijing (PEK) to Shanghai (SHA) on March 1st and compare them with train tickets from Shanghai to Hefei."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-lyz1990-variflight": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api