Introduction¶
When booking hotels for business trips or vacations, the common practice is to open OTA apps one by one on your phone and compare prices for the same hotel across different platforms. Room types, breakfast inclusion, and cancellation policies are often scattered across various places, making manual comparison time-consuming and prone to missing cheaper channels.
In environments like Cursor or Claude Code that support Agent Skills, you can delegate “browsing hotels by city → selecting one → comparing prices → retrieving booking links” to a Skill. Below is an introduction to the SkillHub community skill “Hotel Price Compare” (@user_b95ee7e5/china-hotel-price-compare), covering its capabilities, installation methods, and typical conversation usage.
What Is This¶
“Hotel Price Compare” is a community skill on SkillHub categorized as life-service (Source: community, Publisher: user_b95ee7e5). The store page currently shows version v1.0.6 with the tag requires_api_key=false, indicating no need to configure an API key manually.
The official description summarizes it as: Zero configuration, ready to use out of the box; browse first, then compare after selection; real-time price comparison across multiple travel platforms with booking links; detailed information including ratings, distance, breakfast, and window availability.
The skill uses the hotel_compare tool to connect to a cloud proxy and concurrently query platforms such as Fliggy, Tuniu, Tongcheng, Meituan, and RollingGo; it does not complete the booking within the skill but only returns price comparison results and redirect links.
Core Features¶
The following capabilities are derived from the skill’s SKILL.md and store description, and can be trimmed as needed.
Two-Step Interaction¶
- Browse Mode: When a specific hotel name is not specified, list hotels based on city, date, area, or keywords, displaying ratings, distance to landmarks, breakfast, windows, cancellation policies, review summaries, etc.
- Compare Mode: After specifying
hotel_name(or selecting a hotel in conversation), concurrently compare prices for the same hotel across multiple platforms, marking prices on each platform and providing the lowest price and booking link.
Multi-Source Concurrent Comparison¶
After selecting a hotel, simultaneously query Fliggy, Tuniu, Tongcheng, Meituan, and RollingGo; if the price difference between platforms is too large, the skill will alert you to avoid mistakenly treating different room types or rules as the same quote.
Filtering and Search¶
Tool parameters support (excerpt):
| Parameter | Function |
|---|---|
city |
Target city (required) |
check_in / check_out |
Check-in and check-out dates, YYYY-MM-DD |
keyword |
Area, landmark, or brand keywords |
poi_name |
Tourist attraction or point of interest, used to search nearby hotels |
max_price |
Price ceiling (RMB) |
min_score |
Minimum rating, e.g., 4.5 means only view 4.5 and above; unlimited if not filled |
hotel_name |
If filled, enters compare mode; if not filled, browse mode |
Proxy-related environment variables HOTEL_COMPARE_PROXY_URL and PROXY_TOKEN are marked as automatically configured in the skill description and generally do not require manual setup.
What It Clearly Cannot Do¶
- It cannot complete bookings directly within the conversation; it only provides links to the lowest-priced platform.
- It cannot query the status of already booked orders.
- It cannot filter solely by star rating (star indicators may appear in information returned by Tuniu).
Installation and Activation¶
Method 1: SkillHub CLI (Recommended)¶
First, ensure skillhub is installed locally (see the SkillHub installation instructions for the installation process). When installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it may install to the default ./skills/ and not be recognized.
In Cursor, the commonly used skills directory is ~/.cursor/skills/. Example:
skillhub install @user_b95ee7e5/china-hotel-price-compare --dir ~/.cursor/skills/
The common path for Claude Code is ~/.claude/skills/; for Codex, it can be ~/.codex/skills/ or .agents/skills/ under the project. For other clients, refer to Section 4 of the SkillHub installation documentation and replace --dir with the corresponding directory.
Method 2: Let AI Install According to Official Prompts¶
The installation prompt provided on the SkillHub skill page is:
Please install `@user_b95ee7e5/china-hotel-price-compare` according to https://skillhub.cn/install/skillhub.md.
Send the above content to an Agent connected to Skill capabilities, and it will complete the CLI check and installation according to the documentation.
After installation, enable the Skill in the corresponding client (the specific entry point varies by product), and then make hotel query requests in the conversation.
Typical Usage¶
The opening examples in the skill documentation can be directly reproduced:
- “Help me find hotels near the Shanghai Bund on June 15”——Browse mode, first look at the list and details.
- “What hotels are available in Beijing under 1000 RMB?”——Combined with filters like
max_price. - “Which platform is the cheapest for the Waldorf Astoria Shanghai on the Bund?”——Specify hotel name, enter compare mode.
Two-step conversation example:
- Ask first: “Help me find hotels near the Shanghai Bund on June 15.”
- After selection, say: “Compare prices for the 3rd hotel.”
Example with rating filter: “Hotels in Beijing under 1000 RMB with ratings above 4.5.”
Usage tips (from official description): If the user does not provide dates, it defaults to querying for one night tomorrow; the Tuniu price displayed during the browsing stage has not yet completed a full platform comparison, and the five-source comparison is only initiated after selecting a hotel.
Use Cases and Considerations¶
Who It’s For
- Developers or business travelers who frequently plan itineraries in conversations and want to minimize switching between apps.
- Scenarios where you need to quickly compare quotes for the same hotel on Fliggy, Tuniu, Tongcheng, Meituan, and RollingGo.
- Users who want to see ratings, distances, breakfast, cancellation policies, and other information simultaneously before making a decision.
Limitations and Considerations
- Prices change in real-time; final prices are subject to the booking pages of each platform.
- If some platforms occasionally time out, the price comparison results may contain fewer than five sources.
- Queries are forwarded to various OTAs via a Tencent Cloud SCF proxy; the skill description states that the proxy does not store user data; however, it is still recommended to evaluate privacy and compliance requirements in public network environments.
- Store statistics (as of data retrieval): Rating 100000, Downloads 1684 times; this may not match the version number in the skill package documentation, so refer to the SkillHub page v1.0.6.
It can be combined with skills such as “Flight Price Compare” and “Attraction Ticket Price Compare” from the same publisher for combined flight-hotel-ticket queries during itineraries (see the “Combined Usage” section in the skill documentation for combination relationships).
Conclusion¶
“Hotel Price Compare” integrates list browsing and five-platform concurrent price comparison into one Skill: zero API Key configuration, two-step interaction, support for price limits and minimum rating filters, suitable for information gathering and channel comparison before completing domestic accommodation price comparisons in Agent conversations.
- SkillHub Page: https://www.skillhub.cn/skills/user_b95ee7e5/china-hotel-price-compare
- API Coordinate Page: https://api.skillhub.cn/user_b95ee7e5/china-hotel-price-compare