EV Charging Station Map: Generating an Interactive HTML Charging Map with Agent Skill

Introduction

When working on data analysis or product prototyping related to new energy vehicles, you often need to view the distribution of charging stations in a specific city on a map and differentiate between fast-charging and slow-charging capacity. Manually pulling POI data from the AMap Open Platform and then writing a frontend display page involves fragmented steps, and the deliverable is often a multi-file project. This article introduces the community Skill “New Energy Charging Station Map” on SkillHub: an Agent invokes the AMap API following the skill description, aggregates charging station locations for a specified city, and outputs a single-file interactive HTML map.

What Is This

“New Energy Charging Station Map” is the Skill on SkillHub with the coordinate @user_af163eaa/z-ev-charging-map, currently at version 1.0.1, categorized as data-analysis, sourced as community, published by user_af163eaa (the SkillHub page shows the author as DaZhi JiYoo). The official capability description reads: Based on the AMap API, displays all charging stations in a specified city as map markers, annotates the number of chargers and fast/slow charging categories, and generates a single-file interactive HTML map.

The SkillHub page tag requires_api_key=true indicates that execution depends on API Keys from AMap or similar platforms. You must apply for and configure the key on the respective platform before use. Refer to SKILL.md inside the skill package for the exact field names.

Official entry points:

  • API URL: https://api.skillhub.cn/user_af163eaa/z-ev-charging-map
  • Store page: https://www.skillhub.cn/skills/user_af163eaa/z-ev-charging-map

Core Features

The verified capability scope is as follows, consistent with the official overview:

  1. City-level coverage: Queries and displays charging station-related POIs within the user-specified city.
  2. Map visualization: Presents stations as markers on the map, supporting zooming and browsing.
  3. Quantity and type annotation: Displays the number of chargers and distinguishes between fast-charging and slow-charging categories.
  4. Single-file HTML delivery: Outputs a locally openable, interactive HTML map, convenient for sharing or embedding in demos without deploying a separate frontend project.

The Skill is rated 100000 on SkillHub with 850 downloads (concurrent page statistics; install count shows 0, subject to real-time store data).

Installation & Activation

The store page states: Please install @user_af163eaa/z-ev-charging-map following SkillHub Installation & Priority Source Configuration.

1. Check or Install SkillHub CLI

First, verify whether the skillhub command is already available on your machine:

command -v skillhub && skillhub --version

If not installed, follow the official documentation to perform a full installation (CLI and default Skill):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install CLI only:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install This Skill to the Current Agent’s Skills Directory

The official requirement is to use --dir to point to the skills directory recognized by the current Agent when installing; otherwise, the default ./skills/ location may not be loaded. Common paths are as follows (excerpted from SkillHub installation docs):

Agent / Environment Skills directory example
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project
Windsurf ~/.codeium/windsurf/skills/ or .windsurf/skills/ under the project

For example, with Cursor, the installation command looks like:

skillhub install user_af163eaa/z-ev-charging-map --dir ~/.cursor/skills/

If the coordinate matches the store page, you may also use the package name with the @ prefix, subject to the format actually accepted by the CLI. After installation, refresh or restart your Agent as instructed to ensure the skill is loaded.

3. API Key

The tag requires_api_key=true indicates that an AMap-related API key must be configured. Please apply for a Web or Server key on the AMap Open Platform and fill it in at the location specified by the Agent environment or skill documentation. Without proper configuration, map data requests will typically fail.

Typical Usage

The public pages do not provide a step-by-step tutorial. The reproducible workflow is:

  1. Complete the CLI installation and --dir installation described above.
  2. Configure the AMap API Key (per the instructions inside the skill package).
  3. In an Agent conversation where this Skill is loaded, describe the target city in natural language (e.g., “Generate an interactive HTML map of charging stations in Shenzhen”), and the Agent executes the query and file generation per SKILL.md.
  4. Open the generated single-file HTML at the Agent’s output path and view the markers, quantities, and fast/slow charging category annotations in a browser.

Specific parameters, output filenames, and AMap API call details are subject to the documentation in the skill repository. This article does not fabricate configuration items not present in official materials.

Use Cases & Cautions

Who it suits

  • Data analysts, product managers, and operations staff who need an overview of a city’s charging infrastructure, report illustrations, or internal presentations.
  • Those who want an Agent to handle “POI lookup + map page creation” rather than building a frontend and backend from scratch.

Limitations & notes

  • Depends on the AMap API and a valid key; quotas, billing, and compliance are subject to AMap platform rules.
  • Data scope and accuracy are constrained by AMap POI and the skill implementation; it should not be used directly as official statistical data.
  • Community-sourced (community); upgrade and maintenance cadence is determined by the publisher. For production use, verify the skill version (currently 1.0.1) and content independently.
  • The single-file HTML is easy to distribute, but if a key is embedded or the request method is improper, be mindful of key leakage risks. Follow the skill documentation to choose a server-side proxy or restrict the key type.

Closing

“New Energy Charging Station Map” consolidates the distribution, quantity, and fast/slow charging categorization of charging stations in a specified city into an Agent-callable data analysis Skill, delivering a single-file interactive HTML. For installation details, ratings, and version information, refer to the official SkillHub page: https://www.skillhub.cn/skills/user_af163eaa/z-ev-charging-map .

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye