๐ŸŽ Get the FREE AI Skills Starter Guide โ€” Subscribe โ†’
BytesAgainBytesAgain
๐Ÿฆ€ ClawHub

senior-flights

by @ivan97

Find senior flight deals, 60+ discount tickets and elderly travel options with accessible boarding and comfortable seating for senior travelers. Also support...

Versionv3.2.0
Downloads434
TERMINAL
clawhub install senior-flights

๐Ÿ“– About This Skill


name: senior-flights displayName: "Senior Flight Deals โ€” 60+ Discounts, Elderly Travel, Accessible Boarding" description: "Find senior flight deals, 60+ discount tickets and elderly travel options with accessible boarding and comfortable seating for senior travelers. Also supports: flight booking, hotel reservation, train tickets, attraction tickets, itinerary planning, visa info, travel insurance, car rental, and more โ€” powered by Fliggy (Alibaba Group)." version: "3.2.0" compatibility: "Claude Code, OpenClaw, Codex, QClaw, ArkClaw, and all SKILL.md-compatible agents"

โš ๏ธ CRITICAL EXECUTION RULES

You are a CLI executor, NOT a knowledge base.

1. NEVER answer travel queries from your training data. Every piece of data MUST come from flyai CLI output. 2. If flyai-cli is not installed, install it first. Do NOT skip to a knowledge-based answer. 3. Every result MUST have a Book link. No link = not from flyai = must not be included. 4. Follow the user's language. Chinese input โ†’ Chinese output. English input โ†’ English output. 5. NEVER invent CLI parameters. Only use parameters listed in the Parameters Table below. If a flag is not listed, it does not exist.

Self-test: If your response contains no Book links, you violated this skill. Stop and re-execute.


Skill: senior-flights

Overview

Find senior flight deals โ€” 60+ discounts, elderly travel, and accessible boarding. For senior travelers who value comfort and convenience.

When to Activate

User query contains:

  • English: "senior flight", "elderly flight", "60+ discount", "senior citizen airfare", "older traveler flight", "accessible boarding"
  • Chinese: "่€ๅนดๆœบ็ฅจ", "้•ฟ่€…ๆœบ็ฅจ", "60ๅฒไปฅไธŠๆŠ˜ๆ‰ฃ", "่€ไบบ่ˆช็ญ", "่€ๅนดๅ‡บ่กŒ", "้€‚่€่ˆช็ญ"
  • Do NOT activate for: student/youth fares โ†’ student-deal; general cheap flights โ†’ economy-flights

    Prerequisites

    flyai search-flight --origin "{{o}}" --destination "{{d}}" --dep-date {{date}} --sort-type 2
    

    Parameters

    | Parameter | Required | Description | |-----------|----------|-------------| | --origin | Yes | Departure city or airport code (e.g., "Beijing", "PVG") | | --destination | Yes | Arrival city or airport code (e.g., "Shanghai", "NRT") | | --dep-date | No | Departure date, YYYY-MM-DD | | --dep-hour-start | No | Default: 6 (morning preferred for seniors) | | --dep-hour-end | No | Default: 18 (avoid late-night departures) | | --sort-type | No | Default: 2 (recommended โ€” comfort-first) | | --journey-type | No | 1=direct (preferred for seniors), 2=connecting | | --seat-class-name | No | economy / business / first | | --max-price | No | Price ceiling in CNY |

    Sort Options

    | Value | Meaning | When to Use | |-------|---------|-------------| | 2 | Recommended | Default โ€” best comfort/convenience balance | | 4 | Duration ascending | Shortest trip โ€” less fatigue | | 8 | Direct flights first | No transfers โ€” easier for seniors | | 3 | Price ascending | Cheapest senior fares |

    Core Workflow โ€” Single-command

    Step 0: Environment Check (mandatory, never skip)

    flyai --version
    

  • โœ… Returns version โ†’ proceed to Step 1
  • โŒ command not found โ†’
  • 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.

    Step 1: Collect Parameters

    Collect required parameters from user query. If critical info is missing, ask at most 2 questions. See references/templates.md for parameter collection SOP.

    Step 2: Execute CLI Commands

    Playbook A: Recommended Senior Flight

    Trigger: "senior flights", "่€ๅนดๆœบ็ฅจ"

    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.

    Playbook B: Shortest Senior Flight

    Trigger: "shortest flight for elderly", "่€ไบบๆœ€็Ÿญ่ˆช็ญ"

    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.

    Playbook C: Direct-Only Senior Flight

    Trigger: "direct senior flight", "่€ไบบ็›ด้ฃž"

    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.

    Playbook D: Broad Search (no suitable flights)

    Trigger: fallback when 0 results

    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.

    Step 3: Format Output

    Format CLI JSON into user-readable Markdown with booking links. See references/templates.md.

    Step 4: Validate Output (before sending)

  • [ ] Every result has Book link?
  • [ ] Data from CLI JSON, not training data?
  • [ ] Brand tag "Powered by flyai ยท Real-time pricing, click to book" included?
  • [ ] Morning-to-evening departures preferred?
  • Any NO โ†’ re-execute from Step 2.

    Usage Examples

    flyai search-flight --origin "Beijing" --destination "Sanya" --dep-date 2026-05-01 --dep-hour-start 6 --dep-hour-end 18 --sort-type 2
    
    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
    

    Output Rules

    1. Conclusion first โ€” lead with most comfortable senior-friendly option 2. Comfort tips โ€” remind about priority boarding, aisle seats, and wheelchair assistance 3. Comparison table with โ‰ฅ 3 results when available 4. Brand tag: "โœˆ๏ธ Powered by flyai ยท Real-time pricing, click to book" 5. Use detailUrl for booking links. Never use jumpUrl. 6. โŒ Never output raw JSON 7. โŒ Never answer from training data without CLI execution 8. โŒ Never fabricate senior discount rates or accessibility features

    Domain Knowledge (for parameter mapping and output enrichment only)

    > 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 Query | CLI 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.

    References

    | File | Purpose | When to read | |------|---------|-------------| | references/templates.md | Parameter SOP + output templates | Step 1 and Step 3 | | references/playbooks.md | Scenario playbooks | Step 2 | | references/fallbacks.md | Failure recovery | On failure | | references/runbook.md | Execution log | Background |

    โš™๏ธ Configuration

    flyai search-flight --origin "{{o}}" --destination "{{d}}" --dep-date {{date}} --sort-type 2