flight-search
Search one-way flight lists from the Variflight ticket API by departure IATA city code, arrival IATA city code, and departure date.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/arisefx/variflight-flight-searchWhat This Skill Does
The flight-search skill enables OpenClaw AI agents to query the Variflight ticket API for real-time one-way flight information. By leveraging a dedicated internal script, the agent can retrieve comprehensive flight data based on IATA city codes and specific calendar dates. This skill handles the complexity of API interaction, automatically parsing JSON responses to present a human-readable summary that includes departure/arrival airports, scheduled flight times, total duration, pricing, and transfer status. It acts as an automated flight clerk, allowing users to obtain travel options without navigating manual booking interfaces.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/arisefx/variflight-flight-search
Once installed, the agent will have access to the scripts/query_flights.py utility, which manages the authenticated communication with the Variflight backend.
Use Cases
This skill is ideal for travel planning and itinerary management. Common use cases include:
- Comparing multiple flight options between major cities for business travel.
- Quickly checking if direct flights are available for a specific date.
- Identifying budget-friendly travel alternatives by summarizing pricing and transfer details.
- Rapidly retrieving travel data for large-scale itinerary organization.
Example Prompts
- "Find me one-way flights from Beijing to Shanghai for April 21, 2026."
- "Search for the 5 cheapest flights from LAX to JFK on December 15th, 2026."
- "Are there any direct flights from NRT to HND on June 10, 2026? Give me the details in raw JSON format."
Tips & Limitations
- IATA Codes: Always use three-letter IATA codes (e.g., BJS, SHA, JFK) for the best results. The agent can infer some common names, but explicit codes prevent errors.
- Date Format: Ensure all dates are formatted strictly as
YYYY-MM-DDto match API requirements. - Error Handling: If the API returns a status code other than 0, the agent will relay the specific error message provided by the service to help you troubleshoot.
- Limitations: This skill is restricted to one-way searches and supports up to 10 flight entries per query, though you can use the
--limitflag to further filter results for better readability. It does not handle multi-city or round-trip bookings in a single request.
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-arisefx-variflight-flight-search": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, code-execution
Related Skills
flight-requirement-review
机票产品需求评审 Agent。对前端、后端、运营类机票需求文档进行结构化评审打分,含独立的流程图治理评审(去If化、卫语句、决策表、FSM、泳道图、分层建模)。输入需求文档(markdown/图片/HTML),输出分项评分、评语和改进建议。使用场景:用户说"评审需求"、"审需求文档"、"给需求打分"、"需求评审"、"评审流程图"、"检查流程图"、"流程图打分"时触发。
admin-ui-prototype
Query project-specific Arco Design usage patterns and generate Vue 3 admin page prototypes with mock data, scaffold files, and route snippets. Use when Codex needs to answer how a component is used in this admin UI, draft a list/form/detail/dashboard/empty-state page, or bootstrap/update a minimal `webui/admin-ui` preview project.
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.