test-amap-skill

A skill that uses the Amap (Gaode) Maps Web Service API to perform place search, weather queries, and route planning.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "test-amap-skill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-5911a8cd48481959cd188d277f15bfa64e1ccd71975b13bdda9140b842f59a50. Verify the upstream source and version against https://skillhub.cn/skills/user_aad656e7/test-amap-skill before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A skill that uses the Amap (Gaode) Maps Web Service API to perform place search, weather queries, and route planning.

0 Downloads

Introduction source: third_party · user_aad656e7 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: amap
description: 使用高德地图Web服务API进行地点搜索、天气查询和路线规划。
homepage: https://lbs.amap.com/
metadata: {"clawdbot":{"emoji":"🗺️","requires":{"bins":["curl"]},"primaryEnv":"AMAP_KEY"}}

高德地图 (Amap)

本技能使用高德地图 Web 服务 API 提供丰富的地理位置服务。

重要: 使用本技能前,你必须在高德开放平台申请一个 Web 服务 API Key,并将其设置为环境变量 AMAP_KEY。

export AMAP_KEY="你的Web服务API Key"

Clawdbot 会自动读取这个环境变量来调用 API。

何时使用 (触发条件)

当用户提出以下类型的请求时,应优先使用本技能:

  • "帮我查一下[城市]的天气"
  • "搜索[地点]附近的[东西]"
  • "查找[关键词]的位置"
  • "从[A]到[B]怎么走?"
  • "查询[地址]的经纬度"
  • "这个坐标[经度,纬度]是哪里?"

核心功能与用法

1. 天气查询

用于查询指定城市的实时天气或天气预报。

注意: 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"

2. 地点搜索 (POI)

用于根据关键字在指定城市搜索地点信息。

# 将 [关键词] 和 [城市] 替换为用户提供的内容
curl "https://restapi.amap.com/v3/place/text?key=$AMAP_KEY&keywords=[关键词]&city=[城市]"

3. 驾车路径规划

用于规划两个地点之间的驾车路线。

注意: API 需要起终点的经纬度坐标。如果用户提供的是地址,需要先通过 地理编码 功能将地址转换为坐标。

# 将 [起点经纬度] 和 [终点经纬度] 替换为实际坐标,格式为 "经度,纬度"
curl "https://restapi.amap.com/v3/direction/driving?key=$AMAP_KEY&origin=[起点经纬度]&destination=[终点经纬度]"

4. 地理编码 (地址 → 坐标)

将结构化的地址信息转换为经纬度坐标。

# 将 [地址] 替换为用户提供的地址
curl "https://restapi.amap.com/v3/geocode/geo?key=$AMAP_KEY&address=[地址]"

5. 逆地理编码 (坐标 → 地址)

将经纬度坐标转换为结构化的地址信息。

# 将 [经纬度] 替换为实际坐标,格式为 "经度,纬度"
curl "https://restapi.amap.com/v3/geocode/regeo?key=$AMAP_KEY&location=[经纬度]"

6. 行政区划查询 (获取 adcode)

用于查询省、市、区、街道的行政区划信息,包括 adcode 和边界。

# 将 [关键词] 替换为城市或区域名称,例如 "北京市"
curl "https://restapi.amap.com/v3/config/district?key=$AMAP_KEY&keywords=[关键词]&subdistrict=0"

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value82/100

Highlights

  • 提供高德地图 API 封装,支持天气查询、地点搜索、路线规划等实用功能
  • 面向明确场景的通用工具,具有广泛受众的实用能力
Trigger Precision85/100

Highlights

  • 触发词覆盖合理,边界清晰,无明显歧义
Structure and Standards92/100

Areas to improve

  • When to Use 章节标题格式 Reported severity: Minor

    When to Use 章节内容存在但未使用标准标题格式

    Recommendation: 建议将'何时使用 (触发条件)'改为标准标题格式'## When to Use'以保持一致性

Highlights

  • Phase/步骤清晰,有明确功能划分
  • 包含端到端示例,frontmatter 完整
Execution Reliability88/100

Highlights

  • 工具来源明确(高德地图官方 API),参数说明正确
  • 覆盖主要异常场景(需先获取 adcode、需先地理编码等)
Evidence Verifiability (mean of the first four)87/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 12
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • lbs.amap.com
  • restapi.amap.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.