Amap Maps StreamableHTTP 标志

Amap Maps StreamableHTTP

组织
aiagenta2z
amap-maps-streamableHTTP

Auto-generated skill for amap-maps-streamableHTTP tools via OneKey Gateway.

概览

发布者aiagenta2z
代码仓库onekey-gateway
技能名称amap-maps-streamableHTTP
星标数
52
复刻数
11
附带文件
16
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 16 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 aiagenta2z 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Amap Maps StreamableHTTP AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/aiagenta2z/onekey-gateway/tree/main/skills/amap-maps-streamableHTTP
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aiagenta2z/onekey-gateway.git /tmp/onekey-gateway
mkdir -p .claude/skills
cp -r /tmp/onekey-gateway/skills/amap-maps-streamableHTTP .claude/skills/amap-maps-streamableHTTP
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Amap Maps StreamableHTTP,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Amap Maps StreamableHTTP。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Amap Maps StreamableHTTP 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

OneKey Gateway

Use One Access Key to connect to various commercial APIs. Please visit the OneKey Gateway Keys and read the docs OneKey MCP Router Doc and OneKey Gateway Doc.

Dependencies

Install the required Python package before running any scripts.

bash
pip install ai-agent-marketplace

Alternatively, install dependencies from the requirements file:

bash
pip install -r requirements.txt

If the package is already installed, skip installation.

Agent rule

Before executing any script in the scripts/ directory, ensure the dependencies are installed.

amap-maps-streamableHTTP Skill

Use the OneKey Gateway to access tools for this server via a unified access key.

Quick Start

Set your OneKey access key:

bash
export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEY

If no key is provided, the scripts fall back to the demo key BETA_TEST_KEY_MARCH_2026. Common settings:

  • unique_id: amap-maps-streamableHTTP/amap-maps-streamableHTTP
  • api_id: one of the tools listed below

Tools

maps_direction_bicycling

骑行路径规划用于规划骑行通勤方案,规划时会考虑天桥、单行线、封路等情况。最大支持 500km 的骑行路线规划

Parameters:

  • origin (string, required): 出发点经纬度,坐标格式为:经度,纬度
  • destination (string, required): 目的地经纬度,坐标格式为:经度,纬度

maps_direction_driving

驾车路径规划 API 可以根据用户起终点经纬度坐标规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据。

Parameters:

  • origin (string, required): 出发点经纬度,坐标格式为:经度,纬度
  • destination (string, required): 目的地经纬度,坐标格式为:经度,纬度

maps_direction_transit_integrated

根据用户起终点经纬度坐标规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据,跨城场景下必须传起点城市与终点城市

Parameters:

  • origin (string, required): 出发点经纬度,坐标格式为:经度,纬度
  • destination (string, required): 目的地经纬度,坐标格式为:经度,纬度
  • city (string, required): 公共交通规划起点城市
  • cityd (string, required): 公共交通规划终点城市

maps_direction_walking

根据输入起点终点经纬度坐标规划100km 以内的步行通勤方案,并且返回通勤方案的数据

Parameters:

  • origin (string, required): 出发点经度,纬度,坐标格式为:经度,纬度
  • destination (string, required): 目的地经度,纬度,坐标格式为:经度,纬度

maps_distance

测量两个经纬度坐标之间的距离,支持驾车、步行以及球面距离测量

Parameters:

  • origins (string, required): 起点经度,纬度,可以传多个坐标,使用竖线隔离,比如120,30|120,31,坐标格式为:经度,纬度
  • destination (string, required): 终点经度,纬度,坐标格式为:经度,纬度
  • type (string, optional): 距离测量类型,1代表驾车距离测量,0代表直线距离测量,3步行距离测量

maps_geo

将详细的结构化地址转换为经纬度坐标。支持对地标性名胜景区、建筑物名称解析为经纬度坐标

Parameters:

  • address (string, required): 待解析的结构化地址信息
  • city (string, optional): 指定查询的城市

maps_regeocode

将一个高德经纬度坐标转换为行政区划地址信息

Parameters:

  • location (string, required): 经纬度

maps_ip_location

IP 定位根据用户输入的 IP 地址,定位 IP 的所在位置

Parameters:

  • ip (string, required): IP地址

maps_schema_personal_map

用于行程规划结果在高德地图展示。将行程规划位置点按照行程顺序填入lineList,返回结果为高德地图打开的URI链接,该结果不需总结,直接返回!

Parameters:

  • orgName (string, required): 行程规划地图小程序名称
  • lineList (array of object, required): 行程列表
  • lineList[].title (string, required): 行程名称描述(按行程顺序)
  • lineList[].pointInfoList (array of object, required): 行程目标位置点描述
  • lineList[].pointInfoList[].name (string, required): 行程目标位置点名称
  • lineList[].pointInfoList[].lon (number, required): 行程目标位置点经度
  • lineList[].pointInfoList[].lat (number, required): 行程目标位置点纬度
  • lineList[].pointInfoList[].poiId (string, required): 行程目标位置点POIID

maps_around_search

周边搜,根据用户传入关键词以及坐标location,搜索出radius半径范围的POI

Parameters:

  • keywords (string, required): 搜索关键词
  • location (string, required): 中心点经度纬度
  • radius (string, optional): 搜索半径
  • strategy (integer, optional): 召回策略,0=默认召回策略,1=优先召回扫街榜POI

maps_search_detail

查询关键词搜或者周边搜获取到的POI ID的详细信息

Parameters:

  • id (string, required): 关键词搜或者周边搜获取到的POI ID

maps_text_search

关键字搜索 API 根据用户输入的关键字进行 POI 搜索,并返回相关的信息

Parameters:

  • keywords (string, required): 查询关键字
  • city (string, optional): 查询城市
  • citylimit (boolean, optional): 是否限制城市范围内搜索,默认不限制

maps_schema_navi

Schema唤醒客户端-导航页面,用于根据用户输入终点信息,返回一个拼装好的客户端唤醒URI,用户点击该URI即可唤起对应的客户端APP。唤起客户端后,会自动跳转到导航页面。

Parameters:

  • lon (string, required): 终点经度
  • lat (string, required): 终点纬度

maps_schema_take_taxi

根据用户输入的起点和终点信息,返回一个拼装好的客户端唤醒URI,直接唤起高德地图进行打车。直接展示生成的链接,不需要总结

Parameters:

  • slon (string, optional): 起点经度
  • slat (string, optional): 起点纬度
  • sname (string, optional): 起点名称
  • dlon (string, required): 终点经度
  • dlat (string, required): 终点纬度
  • dname (string, required): 终点名称

maps_weather

根据城市名称或者标准adcode查询指定城市的天气

Parameters:

  • city (string, required): 城市名称或者adcode

Usage

CLI

maps_direction_bicycling

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_direction_bicycling '{"origin": "116.481028,39.989643", "destination": "116.465302,40.004717"}'

maps_direction_driving

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_direction_driving '{"origin": "116.481028,39.989643", "destination": "116.465302,40.004717"}'

maps_direction_transit_integrated

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_direction_transit_integrated '{"origin": "116.481028,39.989643", "destination": "116.465302,40.004717", "city": "北京", "cityd": "上海"}'

maps_direction_walking

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_direction_walking '{"origin": "116.481028,39.989643", "destination": "116.465302,40.004717"}'

maps_distance

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_distance '{"origins": "116.481028,39.989643|116.465302,40.004717", "destination": "116.481028,39.989643", "type": "1"}'

maps_geo

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_geo '{"address": "Beijing Capital Airport", "city": "北京"}'

maps_regeocode

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_regeocode '{"location": "116.481488,39.990464"}'

maps_ip_location

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_ip_location '{"ip": "8.8.8.8"}'

maps_schema_personal_map

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_schema_personal_map '{"orgName": "Weekend Trip", "lineList": [{"title": "Day1", "pointInfoList": [{"name": "Tiananmen", "lon": 116.3975, "lat": 39.9087, "poiId": "B000A8UIN8"}]}]}'

maps_around_search

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_around_search '{"keywords": "coffee", "location": "116.481488,39.990464", "radius": "2000"}'

maps_search_detail

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_search_detail '{"id": "B0FFFABCD1"}'

maps_text_search

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_text_search '{"keywords": "Tsinghua University", "city": "北京", "citylimit": true}'

maps_schema_navi

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_schema_navi '{"lon": "116.3975", "lat": "39.9087"}'

maps_schema_take_taxi

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_schema_take_taxi '{"slon": "116.3975", "slat": "39.9087", "sname": "Tiananmen", "dlon": "116.481028", "dlat": "39.989643", "dname": "Sanlitun"}'

maps_weather

shell
npx onekey agent amap-maps-streamableHTTP/amap-maps-streamableHTTP maps_weather '{"city": "北京"}'

Scripts

Each tool has a dedicated script in this folder:

  • skills/amap-maps-streamableHTTP/scripts/maps_direction_bicycling.py
  • skills/amap-maps-streamableHTTP/scripts/maps_direction_driving.py
  • skills/amap-maps-streamableHTTP/scripts/maps_direction_transit_integrated.py
  • skills/amap-maps-streamableHTTP/scripts/maps_direction_walking.py
  • skills/amap-maps-streamableHTTP/scripts/maps_distance.py
  • skills/amap-maps-streamableHTTP/scripts/maps_geo.py
  • skills/amap-maps-streamableHTTP/scripts/maps_regeocode.py
  • skills/amap-maps-streamableHTTP/scripts/maps_ip_location.py
  • skills/amap-maps-streamableHTTP/scripts/maps_schema_personal_map.py
  • skills/amap-maps-streamableHTTP/scripts/maps_around_search.py
  • skills/amap-maps-streamableHTTP/scripts/maps_search_detail.py
  • skills/amap-maps-streamableHTTP/scripts/maps_text_search.py
  • skills/amap-maps-streamableHTTP/scripts/maps_schema_navi.py
  • skills/amap-maps-streamableHTTP/scripts/maps_schema_take_taxi.py
  • skills/amap-maps-streamableHTTP/scripts/maps_weather.py

Example

bash
python3 scripts/<tool_name>.py --data '{"key": "value"}'

Related DeepNLP OneKey Gateway Documents

AI Agent Marketplace
Skills Marketplace AI Agent A2Z Deployment
PH AI Agent A2Z Infra
GitHub AI Agent Marketplace

Dependencies

CLI Dependency

Install onekey-gateway from npm

npm install @aiagenta2z/onekey-gateway

Script Dependency

Install the required Python package before running any scripts.

bash
pip install ai-agent-marketplace

Alternatively, install dependencies from the requirements file:

bash
pip install -r requirements.txt

If the package is already installed, skip installation.

Agent rule

Before executing command lines or running any script in the scripts/ directory, ensure the dependencies are installed. Use the npx onekey CLI as the preferred method to run the skills.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Amap Maps StreamableHTTP AI 技能有什么作用?

Auto-generated skill for amap-maps-streamableHTTP tools via OneKey Gateway.

为什么在 TypingMind 中使用 Amap Maps StreamableHTTP?

因为您只需安装一次,就能搭配任何模型使用。Amap Maps StreamableHTTP 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Amap Maps StreamableHTTP?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/aiagenta2z/onekey-gateway/tree/main/skills/amap-maps-streamableHTTP。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Amap Maps StreamableHTTP?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Amap Maps StreamableHTTP 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Amap Maps StreamableHTTP 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Amap Maps StreamableHTTP AI 技能免费吗?

aiagenta2z 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇