flights
БесплатноЗапускает вложенные скриптыНе проверенQuery flight offers (price, schedule, availability) via Amadeus API. Use when user asks about flight/机票/航班 prices, schedules, or availability.
от modbender★ 21 звезда на GitHubОб этом скилле
Flight Query (Amadeus)
Query real-time flight offers including price, schedule, stops, and seat availability.
Setup
Set environment variables (or hardcoded defaults are used):
export AMADEUS_API_KEY=your_key
export AMADEUS_API_SECRET=your_secret
# For production (real data):
export AMADEUS_BASE_URL=https://api.amadeus.com
Query Flights
node {baseDir}/scripts/query.mjs <FROM_IATA> <TO_IATA> [-d YYYY-MM-DD] [options]
Examples
# Hong Kong to Shanghai
node {baseDir}/scripts/query.mjs HKG PVG -d 2026-02-25
# Direct flights only
node {baseDir}/scripts/query.mjs SWA HGH -d 2026-02-24 --direct
# Business class
node {baseDir}/scripts/query.mjs HKG PVG -d 2026-02-25 -c BUSINESS
# JSON output
node {baseDir}/scripts/query.mjs HKG PVG -d 2026-02-25 --json
Options
-d, --date <YYYY-MM-DD>: Departure date (default: today)-a, --adults <n>: Number of adults (default: 1)-c, --class <class>: ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST--direct: Non-stop flights only-n, --max <n>: Max results (default: 20)--currency <code>: Currency code (default: CNY)--json: Raw JSON output
Airport Lookup
node {baseDir}/scripts/airports.mjs 揭阳 # → SWA
node {baseDir}/scripts/airports.mjs 杭州 # → HGH
node {baseDir}/scripts/airports.mjs tokyo # API lookup
Built-in mappings for 40+ Chinese cities. Falls back to Amadeus API for others.
Notes
- Test environment returns simulated data; production returns real prices
- Switch to production: set
AMADEUS_BASE_URL=https://api.amadeus.com - Free tier: 2000 calls/month (production)
Установить flights в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл flights?
Query flight offers (price, schedule, availability) via Amadeus API. Use when user asks about flight/机票/航班 prices, schedules, or availability.
Как установить скилл flights?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл flights запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic