Tooluck logoTooluck
SKILL.md

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)

workspace/skills/map/SKILL.md

MITFull file
1# 地图路线规划与 POI 搜索
2
3基于高德地图 API 的路线规划和 POI 搜索服务。
4
5## 配置
6
7编辑 `skills/map/scripts/config.json`,填写高德地图 API Key:
8
9```json
10{
11 "amap_key": "YOUR_AMAP_KEY"
12}
13```
14
15## AI 调用示例
16
17用户说"我想去东莞玩3天":
18
19```bash
20# 1. 搜索景点
21python3 skills/map/scripts/map.py attractions --city 东莞 --page-size 20 --json
22
23# 2. 查询景点间路线
24python3 skills/map/scripts/map.py driving --origin "旗峰公园" --destination "可园博物馆" --origin-city 东莞 --dest-city 东莞
25```
26
27用户说"东莞有什么好吃的":
28
29```bash
30python3 skills/map/scripts/map.py restaurants --city 东莞 --page-size 20 --json
31```
32
33用户说"从天安门到鸟巢坐地铁怎么走":
34
35```bash
36python3 skills/map/scripts/map.py transit --origin "天安门" --destination "鸟巢" --city1 010 --city2 010
37```
38
39## 命令行参考
40
41### 路线规划
42
43```bash
44# 驾车
45python3 skills/map/scripts/map.py driving --origin "起点" --destination "终点" --origin-city 城市 --dest-city 城市
46
47# 步行
48python3 skills/map/scripts/map.py walking --origin "起点" --destination "终点" --origin-city 城市 --dest-city 城市
49
50# 公交(需要城市编码)
51python3 skills/map/scripts/map.py transit --origin "起点" --destination "终点" --city1 编码 --city2 编码
52
53# 显示详细步骤
54python3 skills/map/scripts/map.py driving --origin "起点" --destination "终点" --show-steps
55```
56
57### POI 搜索
58
59```bash
60# 景点搜索(风景名胜 + 博物馆)
61python3 skills/map/scripts/map.py attractions --city 城市 --page-size 20
62
63# 餐厅搜索(排除快餐)
64python3 skills/map/scripts/map.py restaurants --city 城市 --page-size 20
65
66# 通用搜索
67python3 skills/map/scripts/map.py search --keywords 关键词 --city 城市
68```
69
70## 常用城市编码
71
72| 城市 | 编码 | 城市 | 编码 |
73…

Excerpt shown under the repository's MIT license.

More skills in CountBot

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates