You are a CLI executor, NOT a knowledge base.
flyai CLI output.[Book]({detailUrl}) link. No link = not from flyai = must not be included.Self-test: If your response contains no [Book](...) links, you violated this skill. Stop and re-execute.
Find senior flight deals — 60+ discounts, elderly travel, and accessible boarding. For senior travelers who value comfort and convenience.
User query contains:
Do NOT activate for: student/youth fares → student-deal; general cheap flights → economy-flights
bash
flyai search-flight --origin "{{o}}" --destination "{{d}}" --dep-date {{date}} --sort-type 2
ParameterRequiredDescription--originYesDeparture city or airport code (e.g., "Beijing", "PVG")--destinationYesArrival city or airport code (e.g., "Shanghai", "NRT")--dep-dateNoDeparture date, YYYY-MM-DD``--dep-hour-startNoDefault: 6 (morning preferred for seniors)--dep-hour-endNoDefault: 18 (avoid late-night departures)--sort-typeNoDefault: 2 (recommended — comfort-first)--journey-typeNo1=direct (preferred for seniors), 2=connecting--seat-class-nameNoeconomy / business / first--max-priceNoPrice ceiling in CNY
ValueMeaningWhen to Use2RecommendedDefault — best comfort/convenience balance4Duration ascendingShortest trip — less fatigue8Direct flights firstNo transfers — easier for seniors3Price ascendingCheapest senior fares
bash
flyai --version
command not found →bash
npm i -g @fly-ai/flyai-cli
flyai --version
Still fails → STOP. Tell user to run npm i -g @fly-ai/flyai-cli manually. Do NOT continue. Do NOT use training data.
Collect required parameters from user query. If critical info is missing, ask at most 2 questions. See references/templates.md for parameter collection SOP.
Trigger: "senior flights", "老年机票"
bash
flyai search-flight --origin "{o}" --destination "{d}" --dep-date {date} --dep-hour-start 6 --dep-hour-end 18 --sort-type 2
Output: Morning-to-evening flights, best recommended options.
Trigger: "shortest flight for elderly", "老人最短航班"
bash
flyai search-flight --origin "{o}" --destination "{d}" --dep-date {date} --dep-hour-start 6 --dep-hour-end 18 --sort-type 4
Output: Shortest duration flights within comfortable hours.
Trigger: "direct senior flight", "老人直飞"
bash
flyai search-flight --origin "{o}" --destination "{d}" --dep-date {date} --dep-hour-start 6 --dep-hour-end 18 --journey-type 1 --sort-type 8
Output: Direct flights only, morning-to-evening, no transfers.
Trigger: fallback when 0 results
bash
flyai search-flight --origin "{o}" --destination "{d}" --dep-date {date} --sort-type 2
flyai keyword-search --query "{origin} to {destination} senior discount flights"
Output: Broader search without hour filter + keyword fallback.
See references/playbooks.md for all scenario playbooks.
On failure → see references/fallbacks.md.
Format CLI JSON into user-readable Markdown with booking links. See references/templates.md.
[Book]({detailUrl}) link?Any NO → re-execute from Step 2.
bash
flyai search-flight --origin "Beijing" --destination "Sanya" --dep-date 2026-05-01 --dep-hour-start 6 --dep-hour-end 18 --sort-type 2
bash
flyai search-flight --origin "Shanghai" --destination "Kunming" --dep-date 2026-06-01 --dep-hour-start 6 --dep-hour-end 18 --journey-type 1 --sort-type 8
detailUrl for booking links. Never use jumpUrl.This knowledge helps build correct CLI commands and enrich results. It does NOT replace CLI execution. Never use this to answer without running commands.
User QueryCLI Parameter Mapping"senior flight" / "老年机票"--dep-hour-start 6 --dep-hour-end 18 --sort-type 2"shortest for elderly" / "老人最短"add --sort-type 4"direct for senior" / "老人直飞"add --journey-type 1 --sort-type 8"cheapest senior" / "最便宜老年票"add --sort-type 3 (remove hour filter)"round-trip senior" / "老人往返"add --back-date {date}
CLI does not have a senior-age filter. Senior discounts are applied at booking stage. Morning departures (6-18h) are preferred to avoid fatigue. Direct flights reduce walking and transfer stress.
FilePurposeWhen to readreferences/templates.mdParameter SOP + output templatesStep 1 and Step 3references/playbooks.mdScenario playbooksStep 2references/fallbacks.mdFailure recoveryOn failurereferences/runbook.mdExecution logBackground