Preface¶
In travel planning within an Agent, a common approach is to repeatedly ask for the departure location, number of days, and budget, and then have the model output a piece of Markdown. If you want to hand it to colleagues or print it out, you often need to manually organize it into tables or Word format. If you want the Agent to directly produce structured Excel, Word, and Markdown files after recognizing natural language travel itinerary requirements, with optional integration with map and model APIs to enrich content, you can install travel planner v2.2.0 into the Skills directory of your current environment and call the local Python entry point according to the instructions in the package.
What is this¶
travel planner v2.2.0 (coordinate @user_6e3628ef/travel-planner-v) is a life-service Skill on the SkillHub community source (community), currently at version 2.2.0, maintained by publisher user_6e3628ef. The config.json inside the package describes it as an intelligent travel planning tool that supports multi-format output; SKILL.md explains that it generates planning documents containing sections such as itinerary, budget, attraction and food recommendations, and practical information based on inputs like departure location, destination, number of days, and budget.
The SkillHub page indicates requires_api_key=false (installing the Skill itself does not require a platform API Key); during runtime, you can optionally configure the keys for Amap and GLM in config.json; when not configured, it still generates files using built-in mock data.
Core Features¶
The following capabilities are all derived from the SKILL.md, readme.md, and config.json inside the package:
- Input Parsing: Supports multiple Chinese expressions, such as
从沈阳到大连3天3000元,沈阳-大连3天3000元,沈阳 大连 3天 3000元, etc. - Multi-format Export: Generates Excel (
openpyxl), Word (python-docx), and Markdown by default; you can specify a subset via--formats. - Document Structure: Basic information (departure/destination, number of days, budget, number of people, season, etc.), daily itinerary (theme, morning/afternoon arrangements, attractions and food, accommodation suggestions), budget breakdown (transportation, accommodation, dining, tickets, shopping, and total), practical information (weather, transportation, items, precautions).
- Optional External Data:
utils/api_client.pytargets Amap and GLM; when keys are not configured, it falls back to mock data (SKILL.mdnotes that without keys, attractions/food may use Dalian-related default values). - Notes on v2.2 Compared to Early Versions (
readme.md): Fixed issues such as destinations like “Shenyang to Dalian” being misparsed, and improved API configuration, error handling, and file generation logic.
Trigger scenario (Agent side): When a user mentions requirements such as “Help me plan a trip,” “Generate a travel guide,” “Create a travel itinerary,” or “Make a travel plan from XX to XX,” this Skill can be enabled.
Installation and Activation¶
Installing to the Agent via SkillHub¶
The installation prompt given on the official page is: refer to the SkillHub installation instructions to install @user_6e3628ef/travel-planner-v.
If the skillhub CLI is already installed on your machine, execute the following in the skills directory of the current Agent (the directory must match the client you are using, otherwise the skill will not be loaded):
skillhub install travel-planner-v --namespace user_6e3628ef --dir ~/.cursor/skills/
Common paths (excerpted from the SkillHub installation documentation; replace --dir according to your actual client):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
After installation is complete, restart or refresh the Agent according to each client’s requirements so that it reads the new Skill.
Python Dependencies and Configuration¶
Enter the root directory of the skill package (the installed @user_6e3628ef/travel-planner-v) and install the dependencies:
pip install -r requirements.txt
Dependency version requirements (SKILL.md / requirements.txt): openpyxl>=3.0.0, python-docx>=0.8.11, requests>=2.25.0; requires Python 3.x.
Optionally edit config.json:
{
"amap_api_key": "Your Amap API Key",
"glm_api_key": "Your GLM API Key",
"output_format": ["excel", "word", "markdown"],
"output_dir": "./output"
}
config.json also declares a day range of 1–30 and a budget cap field max_budget: 10000 (when this coexists with the “budget 100–100,000 yuan” description in SKILL.md, the runtime validation logic takes precedence; you can self-test with small sample inputs before use).
Typical Usage¶
In the skill package directory, invoke the main program with a single natural language sentence:
python main.py "从沈阳到大连3天3000元"
Generate only Excel:
python main.py "沈阳到大连3天3000元" --formats excel
Generate Word and Markdown:
python main.py "沈阳到大连3天3000元" --formats word markdown
Specify a configuration file:
python main.py "从沈阳到大连3天3000元" --config config.json
View CLI help:
python main.py --help
Output files are written to output/ (or output_dir in config.json), named in the form: 出发地到目的地旅行规划_YYYYMMDD_HHMMSS.xlsx / .docx / .md.
In Agents like Cursor, after installing the Skill, users can simply describe their itinerary in natural language; the Agent follows the trigger scenarios in SKILL.md to invoke the above scripts or equivalent steps to generate files.
Use Cases and Notes¶
Suitable for: Those who need to quickly organize “departure + destination + number of days + budget” into shareable Office or Markdown documents; teams or individuals who want to uniformly use the same planning template and output directory within Agent conversations.
Limitations and Notes:
SKILL.mdrequires that the departure and destination cannot be the same; the number of days and budget must be within the ranges declared in the documentation.- Files can still be generated without configuring
amap_api_key/glm_api_key, but the content may lean towards templates or default city data; it should be manually verified before official travel. - SkillHub statistics (at the time of retrieval): rating 100000, downloads 914, installs 0; the data will change as the platform updates, please refer to the SkillHub skill page for the latest information.
- The
SKILL.mdinside the package contains examples of the author’s local Windows paths; when using it in practice, you should change them to your local installation directory and do not copy the absolute paths verbatim.
Conclusion¶
travel planner v2.2.0 converges travel planning from “long conversations” into “parseable one-sentence input + multi-format file output,” while retaining optional Amap / GLM enhancement paths. If you are looking for deployable itinerary generation capabilities among life-service Skills, you can check the version and installation instructions from the official entry points:
- SkillHub page: https://www.skillhub.cn/skills/user_6e3628ef/travel-planner-v
- API coordinate page: https://api.skillhub.cn/user_6e3628ef/travel-planner-v