Introduction¶
When handling travel-related requests within an Agent, the common approach is to separately query documentation, assemble REST parameters, and then organize the results manually: locations require calling POI search, routes require switching to a route planning interface, and addresses and coordinates require toggling between geocoding and reverse geocoding. In conversations, users often simply say “What’s good to eat nearby?”, “How do I take the bus from A to B?”, or “Mark this itinerary on a map.” If you have to hand-code the integration for every capability, the cost is high and fields are easily missed.
Below, we introduce the Tencent Map Assistant (@tencent-adm/tencentmap-map-assistant) available on SkillHub. It encapsulates Tencent Map Location Services’ capabilities into a Skill, allowing you to trigger workflows such as search, route planning, weather queries, and map rendering using natural language. It is suitable for out-of-the-box use in environments that support Skills, such as Cursor and Claude Code.
What is this¶
The Tencent Map Assistant is an Enterprise Skill published by the Tencent Map Location Services team (Category: life-service, Current Version: v1.6.3). Its positioning can be summarized as: using a single natural language sentence to call Tencent Map’s full suite of capabilities, targeting travel scenarios such as finding locations, planning routes, travel itineraries, checking weather, and converting coordinates and addresses.
The Skill’s identifier on SkillHub is @tencent-adm/tencentmap-map-assistant. The page indicates requires_api_key=true; you need to prepare a Tencent Map API Key before use and complete the configuration according to the instructions within the Skill (specific environment variables or configuration file fields are subject to the SKILL.md provided after installation).
Core Features¶
The following capabilities are sourced from the official SkillHub description. After installation, the Agent will call the corresponding interfaces based on the Skill’s guidelines:
- AI Travel Guide: Generates itinerary-based suggestions according to destination and preferences.
- Location Search: Queries POIs; the description explicitly includes fields such as ratings, average cost per person, and business hours.
- Keyword Suggestions: Search suggestions during input.
- Route Planning: Supports driving, walking, transit, and cycling modes.
- Geocoding & Reverse Geocoding: Conversion between text addresses and coordinates.
- Administrative Divisions: Hierarchical information queries for provinces, cities, and districts.
- IP Location: IP-based location capabilities.
- Distance Calculation: Distance between multiple points or start/end points.
- Weather Query: Weather information relevant to itineraries and travel.
- Custom Map Output: Can render itineraries or multiple POIs into a web map, or generate Tencent Map Mini Program guides.
Compared to “connecting only one or two open interfaces,” this Skill converges the above capabilities into a single conversational entry point, reducing the work of repeatedly maintaining map SDK documentation and parameter tables on your Agent side.
Installation and Activation¶
Method 1: Let the AI install according to official guidelines¶
The installation prompt provided on the SkillHub page is as follows (quoting the official wording in full):
Please install `@tencent-adm/tencentmap-map-assistant` based on https://skillhub.cn/install/skillhub.md.
Send the above content to the AI in your current environment, allowing it to read SkillHub Installation and Priority Source Configuration and complete the installation and API Key configuration.
Method 2: Use the skillhub CLI¶
If skillhub is already installed on your local machine, you can install the Skill to the skills directory recognized by the current Agent (installing to the wrong directory will prevent the Agent from loading it; you must explicitly specify it using --dir):
command -v skillhub && skillhub --version
If the CLI is not installed, you can perform a full installation according to the SkillHub documentation (excerpt):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
Example for installing this Skill (replace <skills directory> with the actual path):
skillhub install @tencent-adm/tencentmap-map-assistant --dir <skills directory>
Skills directories for common clients (from SkillHub installation documentation):
| Environment | Default skills directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
After installation, enable Skills in the corresponding client and configure the Tencent Map API Key (the Skill tag requires requires_api_key=true). Differences between Codex CLI, Claude Code, and Cursor are mainly reflected in the skills directory and configuration entry points; the installation command itself is consistent. If a client does not support the SkillHub CLI, prioritize using “Method 1” to let the Agent operate according to skillhub.md.
Typical Use Cases¶
The official positioning is to trigger capabilities via “a single natural language sentence,” rather than fixed CLI subcommands. Combining this with the capability list in the description, you can directly describe your intent in conversations, for example:
- Find a store and view details: “Find Sichuan restaurants with a rating above 4.5 in Nanshan District, Shenzhen, and list the average cost per person and business hours.”
- Multi-modal routes: “Compare the time it takes to travel from Tencent Binhai Building to Shenzhen North Station by bus versus driving.”
- Itinerary and Map: “Help me plan a two-day trip to Hangzhou this weekend and mark the main attractions on a web map.”
- Address and Coordinates: “Convert ‘No. 1 Zhongguancun Street, Haidian District, Beijing’ to latitude and longitude.”
- Travel Assistance: “What is the weather like in Tianhe District, Guangzhou tomorrow?”
The Agent will select the toolchain (location search, route planning, weather, etc.) based on SKILL.md; you do not need to manually write interface paths or parameter names in the conversation. If you need Mini Program guides or web maps, simply specify the output format in your request (the description supports web/Mini Program guides).
Use Cases and Notes¶
Who is it for
- Developers or individual users who frequently handle maps, travel, and local life searches within Agents.
- Scenarios where you want to reduce the maintenance cost of self-built “map tool functions” while requiring official Tencent Map data and capabilities.
Usage Notes
- API Key: You must configure the key according to the Skill instructions; relevant calls cannot be completed without configuration.
- Quota and Compliance: Capabilities rely on Tencent Map Location Services; you must comply with the usage terms and quota limits of its Open Platform.
- Data is subject to the interface: Fields such as ratings, business hours, and route duration are returned by the map service. Statements in the conversation should be consistent with the Skill’s execution results. Please double-check for important decisions.
- Version: The version currently displayed on SkillHub is v1.6.3; upgrades can be done via
skillhubor by asking the AI to update according to the official installation documentation.
SkillHub page statistics (based on SkillHub data at the time of retrieval): Category life-service, Rating 100000, Downloads 24324. If you see different numbers on external channels, please refer to the real-time display on the SkillHub Skill Page.
Conclusion¶
After following the steps above, the value of the Tencent Map Assistant can be summarized as: converging scattered map open capabilities into the Agent conversation, completing search, planning, weather, and map presentation via natural language, with the Skill and capability boundaries maintained by the Tencent Map Location Services team.
- SkillHub Skill Page: https://www.skillhub.cn/skills/tencent-adm/tencentmap-map-assistant
- API Entry Page: https://api.skillhub.cn/tencent-adm/tencentmap-map-assistant
- Installation Instructions: https://skillhub.cn/install/skillhub.md