About amap
AMap Skill is a script-first skill for selecting and running AMap commands based on user intent. It requires AMAP_MAPS_API_KEY and returns raw AMap JSON; it does not run an MCP server.
Key features
- 01Command selection based on user intent
- 02Address-oriented route planning
- 03AMap commands run through a script
- 04Raw AMap JSON output
- 05AMAP_MAPS_API_KEY configuration
Use cases
- 01Selecting a command for an AMap request
- 02Planning routes from plain addresses
- 03Running documented AMap command examples
MCP support
The skill does not run an MCP server.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ kaichen/ amap-skill --skill amapAfter installing, type/amapin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
agents/openai.yamlreferences/command-map.mdexamples.mdscripts/amap.tsscripts/lib/commands.tsconfig.tsendpoints.tshttp.tsvalidators.tstests/cli.test.tscommands.test.tstests/fixtures/bike-error.jsonbike-success.jsongeocode-empty.jsongeocode-error.jsongeocode-success.jsonDetails
From the project READMEAMap 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.
Comments
Markdown supported