Amap
通过脚本直连高德 Web Service API 完成地理编码、逆地理编码、IP 定位、天气、路径规划、距离测量和 POI 查询。用户要求“高德/AMap 查询”“路线规划”“地理编码”“POI 搜索”或需要用命令行脚本调用高德 API 时使用。
Specification
- Skill ID
- kaichen/amap-skill/amap
- Publisher
- kaichen
- Repository
- amap-skill
- Installs
- 0
- Files
- 17
- Synced
- Sep 23, 2026
How to use it
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
kaichen/amap-skill/amapInstalls these files- SKILL.md
- agents/openai.yaml
- references/command-map.md
- references/examples.md
- scripts/amap.ts
- scripts/lib/commands.ts
- scripts/lib/config.ts
- scripts/lib/endpoints.ts
- scripts/lib/http.ts
- scripts/lib/validators.ts
- tests/cli.test.ts
- tests/commands.test.ts
- tests/fixtures/bike-error.json
- tests/fixtures/bike-success.json
- tests/fixtures/geocode-empty.json
- tests/fixtures/geocode-error.json
- tests/fixtures/geocode-success.json
What this skill tells the agent
AMap Skill
Quick Start
- Ensure
AMAP_MAPS_API_KEYis set. - Run
bun scripts/amap.ts --helpin this skill directory. - Pick the matching command from
references/command-map.md.
Workflow
- Validate user intent and select one command.
- Prefer address commands for route planning when users provide plain addresses.
- Keep output as raw AMap JSON without wrapping fields.
- Treat any non-zero API business state as failure.
Commands
- Full command mapping:
references/command-map.md - Ready-to-run examples:
references/examples.md
Notes
- This skill is script-first and does not run an MCP server.
- Only
AMAP_MAPS_API_KEYis supported.
Use this skill in a project
Open any RiverX project, search the Skills panel for kaichen/amap-skill/amap, and install it in one click.
