map
Agent skill fromcountbot-ai/CountBot
高德地图路线规划与 POI 搜索。支持驾车、步行、骑行、公交路线规划,以及景点、餐厅搜索。当用户询问路线、行程规划、景点推荐、餐厅推荐时使用。
How to install map
install map
# install the CountBot pack with the skills CLI
npx skills add countbot-ai/CountBot# or add only this skill to Claude Code: copy the folder
workspace/skills/map/
# into
~/.claude/skills/map/ (all projects)
.claude/skills/map/ (one project)
1# 地图路线规划与 POI 搜索23基于高德地图 API 的路线规划和 POI 搜索服务。45## 配置67编辑 `skills/map/scripts/config.json`,填写高德地图 API Key:89```json10{11 "amap_key": "YOUR_AMAP_KEY"12}13```1415## AI 调用示例1617用户说"我想去东莞玩3天":1819```bash20# 1. 搜索景点21python3 skills/map/scripts/map.py attractions --city 东莞 --page-size 20 --json2223# 2. 查询景点间路线24python3 skills/map/scripts/map.py driving --origin "旗峰公园" --destination "可园博物馆" --origin-city 东莞 --dest-city 东莞25```2627用户说"东莞有什么好吃的":2829```bash30python3 skills/map/scripts/map.py restaurants --city 东莞 --page-size 20 --json31```3233用户说"从天安门到鸟巢坐地铁怎么走":3435```bash36python3 skills/map/scripts/map.py transit --origin "天安门" --destination "鸟巢" --city1 010 --city2 01037```3839## 命令行参考4041### 路线规划4243```bash44# 驾车45python3 skills/map/scripts/map.py driving --origin "起点" --destination "终点" --origin-city 城市 --dest-city 城市4647# 步行48python3 skills/map/scripts/map.py walking --origin "起点" --destination "终点" --origin-city 城市 --dest-city 城市4950# 公交(需要城市编码)51python3 skills/map/scripts/map.py transit --origin "起点" --destination "终点" --city1 编码 --city2 编码5253# 显示详细步骤54python3 skills/map/scripts/map.py driving --origin "起点" --destination "终点" --show-steps55```5657### POI 搜索5859```bash60# 景点搜索(风景名胜 + 博物馆)61python3 skills/map/scripts/map.py attractions --city 城市 --page-size 206263# 餐厅搜索(排除快餐)64python3 skills/map/scripts/map.py restaurants --city 城市 --page-size 206566# 通用搜索67python3 skills/map/scripts/map.py search --keywords 关键词 --city 城市68```6970## 常用城市编码7172| 城市 | 编码 | 城市 | 编码 |73…
Excerpt shown under the repository's MIT license.
