google-flights · imoonkey — скилл для Claude Code: что делает и как установить
Ищет авиабилеты через Google Flights, отслеживает динамику цен и выдаёт детали бронирования прямо в терминале агента.
npx skills add imoonkey/openweb --skill google-flights -a claude-codeЧто делает google-flights
Скилл извлекает данные со страниц Google Flights с помощью адаптеров к DOM. Он умеет находить конкретные рейсы по маршруту, проверять самые дешёвые варианты перелёта и подбирать доступные направления вылета из выбранного города через вызов exploreDestinations.
Для большинства запросов здесь нужен параметр tfs — закодированная строка маршрута и дат из ссылки Google Flights. Без этого параметра агент не сможет запустить поиск конкретных рейсов или выгрузить аналитику цен по месяцам, потому что операции searchFlights, getPriceInsights и getFlightOverview завязаны именно на него.
Помимо расписания и цен инструмент возвращает правила провоза багажа и прямые ссылки на оформление билетов через getFlightBookingDetails. Управление запросами идёт через утилиту openweb.
Какие задачи решает
- найти рейсы по маршруту с ценами, пересадками и временем в пути
- проверить самые дешёвые и дорогие месяцы для перелёта
- подобрать направления для поездки по заданному бюджету
- получить правила провоза багажа и ссылки для бронирования
Примеры запросов агенту
- Найди рейсы из RDU в LGA по параметру tfs
CBwQAhopEgoyMDI2LTA0LTMwagwIAhIIL20vMGZ2eWdy... - Покажи популярные направления для вылета через exploreDestinations
- Узнай правила провоза багажа и ссылки на бронирование для выбранного рейса
Как установить google-flights
1Через Skills CLI (Vercel)
npx skills add imoonkey/openweb --skill google-flights -a claude-code2Вручную: положить файлы
~/.claude/skills/google-flights/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/google-flights/
1Через Skills CLI (Vercel)
npx skills add imoonkey/openweb --skill google-flights -a codex2Вручную: положить файлы
.agents/skills/google-flights/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add imoonkey/openweb --skill google-flights -a cursor2Вручную: положить файлы
.cursor/skills/google-flights/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install imoonkey/openweb google-flights2Вручную: положить файлы
.github/skills/google-flights/SKILL.md1Через Skills CLI (Vercel)
npx skills add imoonkey/openweb --skill google-flights -a gemini-cli2Командой платформы
gemini skills install https://github.com/imoonkey/openweb --path src/sites/google-flightsВручную: положить файлы
.devin/skills/google-flights/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add imoonkey/openweb --skill google-flights -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о google-flights
Как установить google-flights в Claude Code?
Выполните команду npx skills add imoonkey/openweb --skill google-flights -a claude-code. Конфигурация появится в файле ~/.claude/skills/google-flights/SKILL.md.
Что делает скилл google-flights?
Он обращается к отрендеренным страницам Google Flights, считывает варианты перелётов, собирает график цен по месяцам, условия багажа и ссылки на покупку.
Что такое параметр tfs и где его взять?
Это закодированная строка маршрута и дат, которую Google Flights подставляет в URL. Скилл принимает её в операциях searchFlights и getPriceInsights для точной идентификации направления.
Исходный текст
SKILL.md · MIT
# Google Flights
## Overview
Flight search and pricing — adapter-based DOM extraction from rendered Google Flights pages.
## Workflows
### Search flights on a route
1. `searchFlights(tfs)` → `flights[]` with airline, times, price, stops, duration
### Explore destinations from an origin
1. `exploreDestinations()` → `destinations[]` with flightPrice, dates, stops
2. Build `tfs` for a chosen destination → `searchFlights(tfs)` for specific flights
### Compare search results with price insights
1. `searchFlights(tfs)` → current flight options and prices
2. `getPriceInsights(tfs)` → cheapest/most expensive months, price trend, popular airlines
3. `getFlightOverview(tfs)` → cheapest fares and fastest nonstop for the route
All `tfs`-based operations share the same encoded route parameter (from the Google Flights URL).
### Get booking details for a specific itinerary
1. `searchFlights(tfs)` → pick a flight
2. `getFlightBookingDetails(tfs)` → leg details, baggage policies, booking links
## Operations
| Operation | Intent | Key Input | Key Output | Notes |
|-----------|--------|-----------|------------|-------|
| searchFlights | search flights by route and dates | tfs (encoded route+dates) | origin, destination, flights[].airline, price, stops, duration | entry point; verified |
| getFlightOverview | cheapest fares and fastest flight for a route | tfs (encoded route) | cheapestOptions[].price, airline, fastestFlight, nonstopFrequency | entry point; same tfs |
| getFlightBookingDetails | itinerary details with baggage | tfs (encoded itinerary) | totalPrice, legs[].airline, duration, bagPolicies, bookWith | entry point; same tfs |
| exploreDestinations | browse destinations by budget from origin | — (optional tfs) | destinations[].destination, flightPrice, hotelPricePerNight, dates | entry point |
| getPriceInsights | monthly price trends and predictions | tfs (encoded route) | priceTrend, cheapestMonth, mostExpensiveMonth, popularAirlines | entry point; same tfs |
## Quick Start
```bash
# Search flights RDU → LGA (tfs from Google Flights URL)
openweb google-flights exec searchFlights '{"tfs":"CBwQAhopEgoyMDI2LTA0LTMwagwIAhIIL20vMGZ2eWdyDQgDEgkvbS8wMl8yODYaKRIKMjAyNi0wNS0wNGoNCAMSCS9tLzAyXzI4NnIMCAISCC9tLzBmdnlnQAFIAXABggELCP___________wGYAQE"}'
# Explore destinations (default origin)
openweb google-flights exec exploreDestinations '{}'
# Price insights for a route
openweb google-flights exec getPriceInsights '{"tfs":"CBwQAhopEgoyMDI2LTA0LTMwagwIAhIIL20vMGZ2eWdyDQgDEgkvbS8wMl8yODYaKRIKMjAyNi0wNS0wNGoNCAMSCS9tLzAyXzI4NnIMCAISCC9tLzBmdnlnQAFIAXABggELCP___________wGYAQE"}'
```
© imoonkey · MIT · imoonkey/openweb
Похожие скиллы
Все скиллы по теме «Браузер и парсинг» →Сначала — google-flights от других авторов.