# Plan Routes and Find Places with AMap

Map research often requires separate place, route, and visualization workflows. This skill connects AMap searches, routing APIs, travel planning, and map-link generation.

## Install

```bash
npx skillstore add amap-web/amap-lbs-skill
```

## Metadata

- Status: approved
- Slug: amap-web-amap-lbs-skill
- Version: 2.0.0
- Author version: 2.0.0
- Skillstore revision: r2
- Version status: valid
- Tree hash: e7ab22a7d588700ce36c8aa875baf2cc4b9302d10621ed30ebd1efb317453676
- Author: AMap-Web
- GitHub username: AMap-Web
- License: MIT
- Repository: https://github.com/AMap-Web/amap-lbs-skill/tree/main/
- Ref: 89edfdc710d0846129dcee6a929477b04f08052c
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem, env\_access
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/amap-web-amap-lbs-skill
- Manifest: https://skillstore.pages.dev/api/skills/amap-web-amap-lbs-skill/manifest

## Capabilities

- Searches AMap places by keyword, city, type, coordinates, radius, and pagination parameters.
- Requests walking, driving, cycling, and public transit routes between coordinates.
- Builds travel recommendations by searching several interest categories in one city.
- Generates AMap visualization links from place and route task data.
- Creates direct AMap search, nearby search, and heatmap links through documented workflows.
- Loads an AMap key from environment variables or a local configuration file.

## Use Cases

- Research a City Visit: Find attractions, food, and hotels, then organize the results for a city itinerary.
- Add Location Features: Call AMap place and routing services from a Node.js application using the exported functions.
- Visualize Geographic Data: Create map or heatmap links for coordinate-based datasets hosted at an accessible URL.

## Prompt Templates

### Create a Place Search Link

```
Find [place or category] on AMap. Return a direct search link and state the extracted search term.
```

### Search Near a Location

```
Using my configured AMap key, find [category] near [location] within [radius] meters. Summarize the leading results with addresses.
```

### Compare Route Options

```
Plan walking, driving, cycling, and transit routes from [origin coordinates] to [destination coordinates]. Compare distance, duration, and major steps.
```

### Build a City Research Plan

```
Research [city] for [interests]. Group useful places, propose an ordered itinerary, and generate a map link without sending optional analytics.
```

## Limitations

- Live searches and routes require a valid AMap Web Service key and network access.
- Search terms, coordinates, API keys, and documented usage events can be sent to AMap.
- Documented command-line scripts are absent; the included module mainly exposes JavaScript functions.
- The travel planner returns place results only, despite documentation describing route and map-link outputs.

## Best Practices

- Store the AMap key in an environment variable and avoid sharing it in chat.
- Confirm the city and coordinate order before requesting routes or nearby searches.
- Tell users which data and usage events will be sent to AMap before making requests.

## Anti Patterns

- Do not place real API keys in prompts, command lines, generated links, or committed files.
- Do not execute shell commands built from unescaped place names or other user input.
- Do not use plaintext HTTP links for private or sensitive geographic datasets.

## Security Audit

- Audited at: 2026-07-23T06:23:14.611\+00:00
- Summary: Most high and medium static alerts are false positives caused by JavaScript templates, Markdown backticks, Chinese text entropy, or fixed configuration paths. Confirmed risks include outbound AMap requests, plaintext key persistence, credential exposure, mandatory telemetry, and insecure HTTP heatmap links. No prompt injection or obfuscated executable payload was found.

## Stats

- Views: 63
- Downloads: 13
- Favorites: 0
- Popularity score: 0
