search-cities

Find cities mapped to a given state from a bundled dataset.

4|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill search-cities-generalreasoning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-cities
Source: https://github.com/GeneralReasoning/env-skillsbench/tree/main/travel-planning/environment/skills/search-cities
Command: npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill search-cities-generalreasoning

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Mapping a state to its cities to validate inputs and expand travel destination options.

Core Features & Use Cases

  • State-to-city lookup from a bundled dataset for quick destination suggestions.
  • Case-insensitive state matching to tolerate user input variations.
  • Use Case: Validate a user-entered state and retrieve a list of possible cities for itinerary planning.

Quick Start

List cities for a given state using the Cities helper.

Frequently Asked Questions about search-cities

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

FAQPage Schema
How do I map a state to its cities for travel planning?

To map a state to its cities for travel planning, you can use a dataset lookup tool that reads a tab-delimited city-state file and returns a normalized list of cities for exact or case-insensitive state queries.

How do I validate user state entries and suggest travel destinations?

Validating user state entries and suggesting travel destinations involves querying a bundled city-state dataset to confirm the state exists and retrieving mapped cities to expand itinerary options.

How do I retrieve a list of cities for itinerary planning from a dataset?

Retrieving cities for itinerary planning requires querying a bundled dataset with a state input to return matching cities, which can then be used to filter flights, hotels, and activities.

Can I perform a case-insensitive state lookup to tolerate input variations?

Yes, performing a case-insensitive state lookup tolerates user input variations by normalizing the state query against the dataset mapping to successfully return the mapped cities.

What is the best way to filter travel options by state for flights and hotels?

Filtering travel options by state for flights and hotels is best handled by using a dataset helper to look up and retrieve valid destination cities, ensuring the user-entered state matches available locations.