agentleFS
jackculpanjackculpan/flightclaw/skills/book-flight/SKILL.md

book-flight

Skill90 starsChanged 57 days agoMITView on GitHub

Books real flights with AI through the FlightClaw MCP server. Searches about 300 airlines for cheap flights, ranks options against saved preferences, opens a hosted checkout and returns the airline booking reference. Use when the user wants to find and book a flight, compare fares, buy a plane ticket or pay for a chosen offer from Claude, ChatGPT, Cursor or any MCP client. FlightClaw is an AI flight booking agent; the price shown already includes the booking fee.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. flightclaw/agents★ 90100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 4 are distinctive, and 11 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 11

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the FlightClaw tools are not available, ask the user to connect the server first.

    line 26
  2. Very specific:

    Search: Call search_flights with origin, destination (IATA codes), date (YYYY-MM-DD) and optional return_date, cabin, adults, children, …

    line 30
  3. Very specific:

    Check the offer: Call get_offer with the chosen offer_id.

    line 33
  4. Very specific:

    Seat map (optional): Call get_seat_map with offer_id.

    line 34
  5. Very specific:

    Passengers: Call list_travelers to find saved traveler names.

    line 35
  6. Very specific:

    Create checkout: Call create_checkout with offer_id and passengers (an array of saved traveler names or passenger objects).

    line 37
  7. Distinctive:

    Pay: Use one of two ways:

    line 38
  8. Very specific:

    Link virtual card: create a Link spend request for exactly total_amount in total_currency.

    line 40
  9. Very specific:

    Wait for completion: Call get_checkout_status with checkout_id until the status is completed.

    line 41
  10. Very specific:

    Confirm the booking: Call get_order with the order id to get the booking reference.

    line 42
  11. Distinctive:

    Always show the total including the fee.

    line 47
  12. Distinctive:

    Never ask for or accept card numbers in chat.

    line 52
  13. Very specific:

    Always get explicit user confirmation before create_checkout.

    line 53
  14. Very specific:

    Do not say a flight is booked until get_checkout_status is completed and get_order returns a booking reference.

    line 56
  15. Distinctive:

    Search is limited to 100 searches per user per UTC day.

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Book Flights with AI (FlightClaw)

Book flights with AI from your assistant. FlightClaw is an AI flight booking agent and MCP server: it searches about 300 airlines for cheap flights, opens a secure checkout and returns the airline booking reference. The traveler pays on a hosted page or with a Link virtual card. The agent never handles card numbers.

When to use

  • The user asks to find, compare or book a flight.
  • The user picked an offer and wants to pay for it.
  • The user wants a seat map before buying.

Prerequisites

Connect the FlightClaw hosted MCP server: https://mcp.flightclaw.com/mcp (streamable HTTP, OAuth sign-in). Nothing to install.

  • Claude Code: claude mcp add --transport http flightclaw https://mcp.flightclaw.com/mcp
  • Cursor: One-click install, or add {"mcpServers":{"flightclaw":{"url":"https://mcp.flightclaw.com/mcp"}}} to ~/.cursor/mcp.json
  • VS Code: One-click install, or code --add-mcp '{"name":"flightclaw","type":"http","url":"https://mcp.flightclaw.com/mcp"}'
  • Claude (web / desktop): Settings > Connectors > Add custom connector > paste https://mcp.flightclaw.com/mcp
  • ChatGPT: Settings > Apps & Connectors > Create (developer mode) > paste https://mcp.flightclaw.com/mcp

If the FlightClaw tools are not available, ask the user to connect the server first.

Tool flow

  1. Search. Call search_flights with origin, destination (IATA codes), date (YYYY-MM-DD) and optional return_date, cabin, adults, children, infants, passenger_ages, max_connections, limit.
    • For a ranked shortlist that uses the user's saved preferences, call recommend_flights instead (same route fields). It returns the top 3 offers with reasons.
    • For more than one leg, call search_multi_city with slices (see the plan-group-trip skill).
  2. Check the offer. Call get_offer with the chosen offer_id. Confirm price, bags and fare rules. Offers expire in about 30 minutes; search again if one has expired.
  3. Seat map (optional). Call get_seat_map with offer_id. This is information only. Checkout does not sell seats.
  4. Passengers. Call list_travelers to find saved traveler names. Save new travelers with save_traveler (see the traveler-profile skill).
  5. Confirm with the user. Show the route, times, airline, fare rules and the total price including the fee. Get an explicit yes.
  6. Create checkout. Call create_checkout with offer_id and passengers (an array of saved traveler names or passenger objects). It returns checkout_id, checkout_url, total_amount and total_currency. Nothing is charged yet.
  7. Pay. Use one of two ways:
    • Checkout link: send checkout_url to the traveler. The traveler pays there by card.
    • Link virtual card: create a Link spend request for exactly total_amount in total_currency. The user approves it in Link. Pay on checkout_url with the Link virtual card. Never pay more than the approved amount.
  8. Wait for completion. Call get_checkout_status with checkout_id until the status is completed.
  9. Confirm the booking. Call get_order with the order id to get the booking reference. Optionally call log_trip to save the trip in history.

Price and fee

  • total_amount from search, get_offer and create_checkout already includes the FlightClaw booking fee: 5% + $3, minimum $12.
  • Always show the total including the fee. Do not add the fee again.
  • The price comes from the airline at checkout time, not from the caller.

Rules

  • Never ask for or accept card numbers in chat.
  • Always get explicit user confirmation before create_checkout.
  • Show the exact total_amount and total_currency before payment.
  • With a Link virtual card, the spend request must equal total_amount. Never more.
  • Do not say a flight is booked until get_checkout_status is completed and get_order returns a booking reference.
  • Search is limited to 100 searches per user per UTC day. Avoid repeated searches.

Example prompts

  • "Book me the cheapest nonstop flight from London to New York on 12 March."
  • "Find business class flights LHR to SFO next Friday and book the best one for me."
  • "Show me the seat map for that BA flight before I pay."
  • "Book a return flight to Lisbon for two adults, 4 to 9 June."
  • "Pay for this flight with my Link card."

Learn more at flightclaw.com.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.