flights

Query Google Flights and Travelpayouts/Aviasales APIs for flight options and RU routes.

12|2|Updated Feb 2, 2020
One-click install
npx skills add https://github.com/servitola/dotfiles --skill flights
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flights
Source: https://github.com/servitola/dotfiles/tree/main/claude-code/detached_skills/flights
Command: npx skills add https://github.com/servitola/dotfiles --skill flights

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Flight search across international routes via Google Flights (CLI fli) and Russia/CIS routes via Travelpayouts/Aviasales, enabling quick comparisons and price awareness without manual browsing.

Core Features & Use Cases

  • Unified flight search: find options across multiple carriers using a CLI workflow.
  • Flexible dates and trips: support one-way, round-trip, and date ranges with sensible defaults.
  • RU and non-RU routing: handles Russia/CIS routes with Aviasales/Travelpayouts and international routes with Google Flights.
  • Use case example: When planning a trip from JFK to LHR on similar dates, retrieve cheapest options and share links for live booking.

Quick Start

Run fli with your origin and destination, dates, and preferences to retrieve flight options.

Frequently Asked Questions about flights

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search cheap flights using a CLI instead of manual browsing?

CLI flight search queries Google Flights via the fli CLI and Travelpayouts/Aviasales for RU routes, returning cheapest options and booking links. It supports flexible dates and one-way or round trips without manual browsing.

Can I find flights for Russia and CIS routes with Google Flights?

Google Flights does not handle RU/CIS routes, so this flight search uses Travelpayouts and Aviasales specifically for Russia and CIS destinations. International routes are queried separately via the fli CLI through Google Flights.

Do I need to install the fli CLI to search for flight options?

Yes, flight search requires the fli CLI installed on your PATH to query international routes via Google Flights. Optional Travelpayouts credentials stored in ~/.config are needed for RU/CIS route searches.

What's the best way to compare flight prices across multiple carriers programmatically?

Programmatic flight price comparison is done by querying multiple carriers through the fli CLI and parsing JSON results. This approach enables quick comparisons and price awareness across both international and RU/CIS routing systems.

Does CLI flight search support flexible date ranges and one-way trips?

Yes, CLI flight search supports one-way, round-trip, and flexible date ranges with sensible defaults. You provide origin, destination, and dates to retrieve matching flight options across supported routing systems.

Why does my flight search fail for RU routes without Travelpayouts credentials?

RU/CIS flight search requires Travelpayouts credentials configured in the ~/.config directory. Without these credentials, the Aviasales API cannot be queried, causing RU route searches to fail while international routes still work via fli.