Introduction¶
When integrating location capabilities into a backend or script, the common path involves checking the Tencent Location Service documentation, piecing together URLs based on parameter tables, and then handling JSON responses and coordinate system differences. The responsibilities of the Map SDK and WebService also differ: the former handles display, while the latter handles only data. If you only need HTTP JSON interfaces for geocoding, POI search, route planning, etc., and wish to minimize missing parameters or mixing up interfaces during conversational development, you can encapsulate official capabilities into an Agent Skill. This allows the model to organize calls according to established guidelines.
The following is an introduction to the Tencent Map WebService API Development Skill on SkillHub (ID @tencent-adm/tencentmap-webservice-skill, current version 1.0.5). It is published by the Tencent Map Location Service Team, marked with the source enterprise, and categorized under dev-programming.
What is this¶
In short: It is a development skill designed for the Tencent Location Service WebService API. It integrates capabilities such as geocoding, place search, route planning, weather, and IP positioning via HTTP. It does not include map rendering or frontend visualization, covering only the JSON data interfaces of the WebService.
On SkillHub, this skill carries the requires_api_key=true tag, indicating that a valid Location Service Key is required for actual calls to Tencent interfaces. The application for the key and console configuration should follow the official Tencent Location Service process; the skill is responsible for guiding the correct API selection and parameter usage within the conversation.
Core Functions¶
The following capabilities align with the SkillHub page description and correspond to WebService-side functions, rather than map components:
- Address and Coordinate Conversion: Geocoding, reverse geocoding, smart address parsing.
- Places and POIs: Place search, surrounding POI search.
- Input Experience: Keyword input suggestions, autocomplete.
- Route Planning: Driving, walking, cycling, electric bike, public transit, etc.
- Distance Calculation: Distance matrix, batch distance.
- Positioning and Weather: IP positioning, weather query.
- Basic Data: Coordinate system conversion, administrative division query.
The skill triggers when the user mentions terms like geocoding, address to coordinate, reverse geocoding, POI search, route planning, distance matrix, batch distance, weather query, IP positioning, coordinate conversion, administrative division, input suggestions, autocomplete, WebService API, etc., guiding the conversation toward the corresponding interface descriptions and calling steps.
Installation and Activation¶
Method 1: SkillHub CLI¶
First, confirm whether skillhub is installed on your local machine (see the SkillHub Installation Documentation for installation methods). When installing the skill, you must use --dir to point to the skills directory recognized by your current Agent; otherwise, it will default to ./skills/ which may not be loaded.
skillhub install @tencent-adm/tencentmap-webservice-skill --dir <Your Agent skills directory>
Common directory examples (subject to installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
After installation, refresh or restart the Agent according to your client’s requirements so that the skill is indexed.
Method 2: Let AI Install via Official Guidance¶
The prompt provided on the SkillHub page is: Install @tencent-adm/tencentmap-webservice-skill according to https://skillhub.cn/install/skillhub.md. This is suitable for environments where the CLI is not configured but Skill installation capabilities are enabled in the conversation.
Typical Usage¶
The skill itself follows the universal SKILL.md format. It does not replace the Tencent Console but supplements the context of “which interface to choose, how to fill in parameters, and how to understand return fields” during development conversations. Reproducible activation methods are as follows.
After installation, describe WebService requirements in natural language, consistent with the trigger words listed officially, for example:
- “Geocode ‘No. 1 Zhongguancun Street, Haidian District, Beijing’ using Tencent WebService.”
- “Plan a driving route between two points, output the JSON field descriptions.”
- “Calculate a distance matrix from multiple origins to the same destination in batch; how should the interface and parameters be passed?”
Once the Agent loads @tencent-adm/tencentmap-webservice-skill, it should organize HTTP request descriptions (path, required parameters, coordinate system notes, etc.) based on the documentation within the skill, rather than generating map pages or mini-program map component code. If the same project requires mini-program map display, a frontend-oriented map skill must be selected separately; this WebService skill only covers the backend HTTP data layer.
Applicable Scenarios and Caveats¶
Who it is for
- Developers using Agents with Skills support (such as Cursor, Claude Code, Codex) to write backends, scripts, or integrated services.
- Those who have decided to use Tencent Location Service WebService and do not need to solve issues regarding tiles, markers, or visualization within this skill.
Boundaries and Notes
- HTTP JSON Only: It does not involve map rendering; frontend display requires a map SDK or other skills.
- API Key Required: The tag is
requires_api_key=true; without a configured key, the skill cannot replace real integration testing and can only assist at the parameter and documentation level. - Division of Labor with Mini-program Maps: For scenarios involving
mapcomponents or point selection in mini-programs, there are separate map mini-program skills in the SkillHub ecosystem; this skill corresponds to “Backend HTTP: Routes, POIs, Geocoding, Distance Matrices, IP Positioning” requirements.
According to SkillHub statistics (based on page scraping), the skill has a rating of 100000, 3250 downloads, and 47 installations; specific numbers will vary with platform updates, subject to the SkillHub detail page.
Conclusion¶
If your workflow is “Agent writes code + Tencent Location Service WebService”, this skill converges the official capability list and trigger scenarios into the SKILL, reducing the cost of checking documentation repeatedly across various route/search/coding interfaces. For installation and details, see:
- API Entry: https://api.skillhub.cn/tencent-adm/tencentmap-webservice-skill
- SkillHub Page: https://www.skillhub.cn/skills/tencent-adm/tencentmap-webservice-skill