search-flights

Filter a bundled flights CSV by origin, destination, and departure date.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/KaiserWhoLearns/skillsbench --skill search-flights
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-flights
Source: https://github.com/KaiserWhoLearns/skillsbench/tree/main/tasks/travel-planning/environment/skills/search-flights
Command: npx skills add https://github.com/KaiserWhoLearns/skillsbench --skill search-flights

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, and includes scripts (resource) components.

What problem does it solve?

This skill helps travel planners quickly locate available flights from a specified origin to a destination on a given departure date by filtering a bundled flights dataset.

Core Features & Use Cases

  • Filter the cleaned flights CSV by origin, destination, and date to return matching results.
  • Return a structured table of flight details (Flight Number, Price, DepTime, ArrTime, etc.) for easy comparison.
  • Use Case: Plan trips by verifying route/date availability and comparing options across multiple flights.

Quick Start

To find flights from New York to Los Angeles on 2022-01-15, ask the skill to perform a search with the origin, destination, and date.

Frequently Asked Questions about search-flights

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I filter a flights dataset by origin, destination, and date in pandas?

To filter a flights dataset by origin, destination, and date in pandas, use the bundled Flights class API to load and query the cleaned CSV. It returns a structured DataFrame of matching flight details or a clear no-result message.

What is the best way to search for available flights by route and departure date?

The best way to search for available flights by route and departure date is to query the bundled flights dataset using the provided Python API. It filters records by origin, destination, and departure date to return matching flight options.

Can I use pandas to find specific flight numbers and prices for a given travel date?

Yes, you can use pandas to find specific flight numbers and prices for a given travel date. The skill filters the cleaned flights CSV and returns a structured table containing Flight Number, Price, DepTime, and ArrTime.

Do I need pandas installed to query the bundled flights CSV dataset?

Yes, you need pandas installed to query the bundled flights CSV dataset. The skill relies on pandas to load and filter data from the clean_Flights_2022.csv file and expose the Python API for programmatic queries.

What happens if there are no matching flights for my specified origin and destination?

If there are no matching flights for your specified origin and destination, the filtering query returns a clear no-result message instead of an empty DataFrame. This ensures you know exactly when route and date availability is zero.

Does the flight search tool return data for travel planning and price comparison across common routes?

Yes, the flight search tool returns data for travel planning and price comparison across common routes. It filters the 2022 flights dataset by origin, destination, and departure date to output a DataFrame of comparable flight details.