选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install amap或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install amap⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/amap/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: amap description: 使用高德地图Web服务API进行地点搜索、天气查询和路线规划。 homepage: https://lbs.amap.com/ metadata: {"clawdbot":{"emoji":"🗺️","requires":{"bins":["curl"]},"primaryEnv":"AMAP_KEY"}} ---
本技能使用高德地图 Web 服务 API 提供丰富的地理位置服务。
重要: 使用本技能前,你必须在高德开放平台申请一个 Web 服务 API Key,并将其设置为环境变量 AMAP_KEY。
export AMAP_KEY="你的Web服务API Key"
Clawdbot 会自动读取这个环境变量来调用 API。
当用户提出以下类型的请求时,应优先使用本技能:
用于查询指定城市的实时天气或天气预报。
注意: API 需要城市的 adcode。如果不知道 adcode,可以先通过 行政区划查询 功能获取。
# 将 [城市adcode] 替换为实际的行政区编码, 例如北京是 110000
curl "https://restapi.amap.com/v3/weather/weatherInfo?key=$AMAP_KEY&city=[城市adcode]&extensions=base"
# 将 [城市adcode] 替换为实际的行政区编码
curl "https://restapi.amap.com/v3/weather/weatherInfo?key=$AMAP_KEY&city=[城市adcode]&extensions=all"
用于根据关键字在指定城市搜索地点信息。
# 将 [关键词] 和 [城市] 替换为用户提供的内容
curl "https://restapi.amap.com/v3/place/text?key=$AMAP_KEY&keywords=[关键词]&city=[城市]"
用于规划两个地点之间的驾车路线。
注意: API 需要起终点的经纬度坐标。如果用户提供的是地址,需要先通过 地理编码 功能将地址转换为坐标。
# 将 [起点经纬度] 和 [终点经纬度] 替换为实际坐标,格式为 "经度,纬度"
curl "https://restapi.amap.com/v3/direction/driving?key=$AMAP_KEY&origin=[起点经纬度]&destination=[终点经纬度]"
将结构化的地址信息转换为经纬度坐标。
# 将 [地址] 替换为用户提供的地址
curl "https://restapi.amap.com/v3/geocode/geo?key=$AMAP_KEY&address=[地址]"
将经纬度坐标转换为结构化的地址信息。
# 将 [经纬度] 替换为实际坐标,格式为 "经度,纬度"
curl "https://restapi.amap.com/v3/geocode/regeo?key=$AMAP_KEY&location=[经纬度]"
用于查询省、市、区、街道的行政区划信息,包括 adcode 和边界。
# 将 [关键词] 替换为城市或区域名称,例如 "北京市"
curl "https://restapi.amap.com/v3/config/district?key=$AMAP_KEY&keywords=[关键词]&subdistrict=0"安装 amap 后,可以对 AI 说这些话来触发它
Help me get started with amap
Explains what amap does, walks through the setup, and runs a quick demo based on your current project
Use amap to use the Amap Web Service API for location search, weather query and...
Invokes amap with the right parameters and returns the result directly in the conversation
What can I do with amap in my developer & devops workflow?
Lists the top use cases for amap, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/amap/ 目录(个人级,所有项目可用),或 .claude/skills/amap/(项目级)。重启 AI 客户端后,用 /amap 主动调用,或让 AI 根据上下文自动发现并使用。
amap 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
amap 可免费安装使用。请查阅仓库了解许可证信息。
使用高德地图Web服务API进行地点搜索、天气查询和路线规划。
amap 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using amap
Identifies repetitive steps in your workflow and sets up amap to handle them automatically