Preface¶
When creating travel plans manually, attraction information is scattered across Xiaohongshu (Little Red Book) and Douyin, transportation requires checking 12306 and flight platforms, accommodation requires price comparison across multiple OTAs, and finally, everything must be organized into shareable spreadsheets or documents. While Agents can generate text, without a unified workflow for data scraping, price comparison, and export, the output often remains a “suggested list” that is difficult to align with real quotes or structured deliverables.
Below is an introduction to the SkillHub community skill travel planner v2.0.0 (Coordinate: @user_28299b48/travel-planner-v1-04). On the Agent side, it uses a standard SKILL.md to describe the workflow and comes with an independently runnable Python entry point, chaining together intent parsing, multi-source data, price comparison, and Excel/Word output.
What is this¶
travel planner v2.0.0 is an Agent Skill designed for “life and travel” scenarios. Version: 2.0.0. Source: community. Publisher: user_28299b48. SkillHub Category: life-service. The package describes itself as an AI intelligent travel planning system (v2.0 rewrite), emphasizing real data scraping from multiple platforms, GLM intelligent analysis, transportation and accommodation price comparison, and Excel/Word document output.
The SkillHub page tags it with requires_api_key=true: if no key is configured, some capabilities will fall back to built-in data, and complete real-time information on attractions, hotels, and transportation cannot be retrieved.
Core Features¶
The following capabilities are derived from the module descriptions in the package’s SKILL.md and README.md; you can verify them after installation.
Intent & Itinerary Engine¶
- Intent Understanding: Parses destination, number of days, number of people, budget, and travel modes A/B/C/D.
- Planning Engine: Optimizes itineraries based on mode, performs budget allocation, and detects overspending.
Travel modes and daily budgets (per person) are defined in the documentation as: A Premium Recommendation (800 RMB), B Budget-Friendly (400 RMB), C Luxury Experience (2000 RMB), D Backpacker (200 RMB); these correspond to different hotel tiers and transportation preferences.
Data Collection & Transport/Accommodation¶
- Data Scraping: Prioritizes browser automation to scrape real search content from platforms like Xiaohongshu and Douyin, and uses GLM to extract attractions; falls back to degradation if it fails.
- Transportation: Queries the official 12306 website (the document specifies query only, no booking), as well as flight information from Ctrip, Qunar, etc., supporting train vs. plane price comparison.
- Accommodation: Hotel price comparison across multiple platforms including Ctrip, Meituan, Qunar, Xiaozhu, and Muniao.
- Mapping: Amap (Gaode) Web API for geocoding, route planning, and nearby searches (optional).
Deliverables¶
- Excel Output: 7 Sheets—Overview, Daily Itinerary, Attractions, Accommodation Comparison, Transportation Comparison, Cost Details, etc.
- Word Document: Travel handbook structure, including chapters for cover, table of contents, daily itinerary, attractions, food, accommodation, transportation, costs, and notes.
Three-Layer Data Degradation Strategy¶
Automatically degrades when the upper layer fails:
- Browser Automation (Depends on
autoglm-browser-agentand AutoClaw Edge CDP, default port 18800) - API (GLM, Amap)
- Local Fallback (Documentation examples mention Lanzhou local data to ensure output exists)
Installation & Enablement¶
Installing into Agent via SkillHub¶
The installation instructions provided on the official page are: Follow the SkillHub Installation Guide to install the coordinate @user_28299b48/travel-planner-v1-04.
First, confirm that SkillHub CLI is available on your machine:
command -v skillhub && skillhub --version
If not installed, run the full installation script (the document recommends installing both the CLI and the default Skill):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
When installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized. Common paths for Cursor are ~/.cursor/skills/:
skillhub install @user_28299b48/travel-planner-v1-04 --dir ~/.cursor/skills/
For Claude Code, use ~/.claude/skills/; for Codex, it is often ~/.codex/skills/ or .agents/skills/ under the project. For other clients, refer to Section 4 of skillhub.md.
Restart or refresh the Agent after installation to load the new Skill; specific behavior depends on your client’s documentation.
Python Dependencies & API Configuration¶
If running the script inside the package directly, install dependencies in the skill directory:
pip install -r requirements.txt
requirements.txt currently lists: requests, beautifulsoup4, openpyxl, python-docx, pyyaml.
Create config.yaml in the skill directory (same directory as main.py). SKILL.md suggests copying config.yaml.example; if the package does not include the example file, you can write it manually according to the documented fields:
glm_api_key: "sk-your-key-here"
amap_api_key: "your-amap-key-here"
- glm_api_key (Recommended): Created on the Zhipu Open Platform open.bigmodel.cn, used for intelligent extraction of attractions and food.
- amap_api_key (Optional): Created on the Amap Open Platform lbs.amap.com as a Web Service Key, used for map-related capabilities.
Browser scraping does not require a separate Key, but the autoglm-browser-agent skill must be installed, and AutoClaw Edge must be started with CDP enabled.
Typical Usage¶
One-off Plan Generation via Command Line¶
Run in the skill installation directory (the quoted text is the natural language requirement):
python main.py "Traveling to Lanzhou for 7 days, 2 people, budget 8000 RMB"
Optional parameters (from SKILL.md):
--from FROM Departure station (default Beijing BPM/Beijing Station)
--checkin DATE Check-in date YYYY-MM-DD
--no-word Do not output Word document
--output DIR Output directory
--no-api-check Skip API configuration check (not recommended)
The first run will perform an API configuration check; if not configured, it will print instructions on how to obtain the keys.
Using in Agents like Cursor¶
Pass the user intent (destination, days, people, budget, mode) to the Agent that has loaded this Skill. The Agent will call main.py according to SKILL.md or follow the module division and degradation strategies described therein. To get real social media and OTA data, prerequisites for browser automation and API configuration must be met beforehand.
Applicable Scenarios & Notes¶
Suitable for: Individuals or small teams who need to combine “searching guides + checking transport/accommodation + price comparison + exporting to Excel/Word” into a single delivery for travel planning; those willing to apply for GLM and Amap keys themselves and configure the AutoClaw browser environment if necessary.
Limitations & Notes:
- 12306 is for query only; ticket purchasing is not supported.
- Real data from Xiaohongshu and Douyin depends on
autoglm-browser-agentand CDP; if absent, it falls back to API or local data, and results may deviate from online reality. - SkillHub metadata marks requires_api_key=true; core scraping and analysis capabilities will be limited without GLM configuration.
- README notes that some external APIs require keys and may be subject to platform policy restrictions; please assess compliance and rate limits yourself before using in production environments.
SkillHub Statistics (based on page scrape): Rating 100000, Downloads 868, Installs 1.
Conclusion¶
travel planner v2.0.0 consolidates the scattered data scraping, price comparison, and document export aspects of travel planning into a reusable Skill and script entry point, making it suitable as a life-service capability extension for Agents. Official SkillHub Page: https://www.skillhub.cn/skills/user_28299b48/travel-planner-v1-04; API Entry: https://api.skillhub.cn/user_28299b48/travel-planner-v1-04.