← 返回 Skills 市场
ai-hub-admin

Baidu Maps Sse

作者 AI-Hub-Admin · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
158
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install baidu-maps-sse
功能描述
Auto-generated skill for baidu-maps-sse tools via OneKey Gateway.
使用说明 (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.

baidu-maps-sse Skill

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

Quick Start

Set your OneKey access key:

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: baidu-maps-sse/baidu-maps-sse
  • api_id: one of the tools listed below

Tools

maps_geocode

Convert an address into geographic coordinates

Parameters:

  • address (string, required): The address to geocode

maps_reverse_geocode

Convert coordinates into an address

Parameters:

  • latitude (number, required): Latitude coordinate
  • longitude (number, required): Longitude coordinate

maps_search_places

Search for places using Google Places API

Parameters:

  • query (string, required): Search query
  • location (object, optional): Optional center point for the search
  • location.latitude (number, optional):
  • location.longitude (number, optional):
  • radius (number, optional): Search radius in meters (max 50000)

maps_place_details

Get detailed information about a specific place

Parameters:

  • place_id (string, required): The place ID to get details for

maps_distance_matrix

Calculate travel distance and time for multiple origins and destinations

Parameters:

  • origins (array of string, required): Array of origin addresses or coordinates
  • destinations (array of string, required): Array of destination addresses or coordinates
  • mode (string, optional): Travel mode (driving, walking, bicycling, transit) Values: driving, walking, bicycling, transit

maps_elevation

Get elevation data for locations on the earth

Parameters:

  • locations (array of object, required): Array of locations to get elevation for
  • locations[].latitude (number, required):
  • locations[].longitude (number, required):

maps_directions

Get directions between two points

Parameters:

  • origin (string, required): Starting point address or coordinates
  • destination (string, required): Ending point address or coordinates
  • mode (string, optional): Travel mode (driving, walking, bicycling, transit) Values: driving, walking, bicycling, transit

Usage

CLI

maps_geocode

npx onekey agent baidu-maps-sse/baidu-maps-sse maps_geocode '{"address": "Times Square, New York"}'

maps_reverse_geocode

npx onekey agent baidu-maps-sse/baidu-maps-sse maps_reverse_geocode '{"latitude": 40.758, "longitude": -73.9855}'

maps_search_places

npx onekey agent baidu-maps-sse/baidu-maps-sse maps_search_places '{"query": "Italian restaurants", "location": {"latitude": 40.758, "longitude": -73.9855}, "radius": 500}'

maps_place_details

npx onekey agent baidu-maps-sse/baidu-maps-sse maps_place_details '{"place_id": "ChIJmQJIxlVYwokRLgeuocVOGVU"}'

maps_distance_matrix

npx onekey agent baidu-maps-sse/baidu-maps-sse maps_distance_matrix '{"origins": ["Times Square, NY"], "destinations": ["Central Park, NY"], "mode": "driving"}'

maps_elevation

npx onekey agent baidu-maps-sse/baidu-maps-sse maps_elevation '{"locations": [{"latitude": 36.057944, "longitude": -112.125168}]}'

maps_directions

npx onekey agent baidu-maps-sse/baidu-maps-sse maps_directions '{"origin": "Golden Gate Bridge", "destination": "Ferry Building San Francisco", "mode": "driving"}'

Scripts

Each tool has a dedicated script in this folder:

  • skills/baidu-maps-sse/scripts/maps_geocode.py
  • skills/baidu-maps-sse/scripts/maps_reverse_geocode.py
  • skills/baidu-maps-sse/scripts/maps_search_places.py
  • skills/baidu-maps-sse/scripts/maps_place_details.py
  • skills/baidu-maps-sse/scripts/maps_distance_matrix.py
  • skills/baidu-maps-sse/scripts/maps_elevation.py
  • skills/baidu-maps-sse/scripts/maps_directions.py

Example

python3 scripts/\x3Ctool_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.

pip install ai-agent-marketplace

Alternatively, install dependencies from the requirements file:

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 onekey CLI as the preferred method to run the skills.

安全使用建议
This skill is a thin wrapper that forwards map-related requests to the OneKey Gateway. Before installing: (1) Confirm you trust the OneKey Gateway operator (deepnlp/OneKey) because the DEEPNLP_ONEKEY_ROUTER_ACCESS key grants the gateway the ability to make API calls and see payload data; (2) set your own API key rather than relying on the demo fallback to avoid routing data through a shared demo account; (3) review the npm and pip packages referenced (@aiagenta2z/onekey-gateway, ai-agent-marketplace) from the registries to ensure they are what you expect; (4) be aware of the small documentation inconsistency ("Google Places API" vs "baidu-maps-sse") — this looks like a copy-paste doc issue but not a functional mismatch. If you need higher assurance, ask the skill author for source/origin information or a signed/published homepage for the packages before proceeding.
功能分析
Type: OpenClaw Skill Name: baidu-maps-sse Version: 0.1.0 The skill bundle provides a standardized interface for mapping and geolocation services (geocoding, directions, elevation) via the OneKey Gateway. The Python scripts in the scripts/ directory are boilerplate wrappers that use the 'ai-agent-marketplace' library to facilitate API calls, with no evidence of malicious execution, data exfiltration, or harmful prompt injection. The use of a hardcoded beta test key (BETA_TEST_KEY_MARCH_2026) appears to be for demonstration purposes and does not pose a security risk to the user's environment.
能力评估
Purpose & Capability
The skill's name, description, Python scripts, and declared dependency on the OneKey Gateway all align: the code builds a OneKeyAgentRouter and forwards map-related api_id calls (geocode, directions, etc.) to the gateway. Minor mismatch: the maps_search_places tool description mentions "Google Places API" while the package is named "baidu-maps-sse" — this appears to be a documentation/copy-paste inconsistency but does not change runtime behavior.
Instruction Scope
SKILL.md and the scripts contain limited, well-scoped instructions: read a JSON payload (or file), validate required fields, and invoke the OneKey router. The scripts only read the DEEPNLP_ONEKEY_ROUTER_ACCESS env var and the provided payload; they do not read other system files or credentials. Note: the SKILL.md and scripts default to a demo key (BETA_TEST_KEY_MARCH_2026) if you do not set your own key, meaning payloads will be routed via the gateway even without you configuring a key.
Install Mechanism
No arbitrary download/install URLs are embedded. The SKILL.md recommends installing an npm package (@aiagenta2z/onekey-gateway) and a pip package (ai-agent-marketplace). These are registry installs (npm/pypi) rather than remote archive downloads — typical and proportionate to the skill's function. There is no install script included in the package that writes arbitrary files.
Credentials
The skill requests only one environment variable (DEEPNLP_ONEKEY_ROUTER_ACCESS), which is appropriate for a gateway-based wrapper. However, that single key is powerful: it authorizes use of the OneKey Gateway and therefore can be used to access any APIs or services the gateway exposes on your behalf. Also, because the code falls back to a public demo key if you don't set one, your requests (and any data you send as payloads) would go through the provider's demo routing unless you explicitly set your own key. Consider whether you trust the gateway operator to handle any data you send.
Persistence & Privilege
The skill does not request always: true, does not modify other skills' configuration, and does not persist state or install background services. It will not be force-included in all agent runs and does not ask for elevated OS-level privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install baidu-maps-sse
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /baidu-maps-sse 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of baidu-maps-sse skill. - Provides access to Baidu Maps and related geolocation tools via OneKey Gateway. - Supports geocoding, reverse geocoding, place search, place details, distance matrix, elevation, and directions. - Offers both CLI (npx onekey agent) and Python script usage. - Requires OneKey Gateway API key; supports fallback demo key for testing. - npm and pip dependencies required for respective usage methods.
元数据
Slug baidu-maps-sse
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Baidu Maps Sse 是什么?

Auto-generated skill for baidu-maps-sse tools via OneKey Gateway. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 158 次。

如何安装 Baidu Maps Sse?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install baidu-maps-sse」即可一键安装,无需额外配置。

Baidu Maps Sse 是免费的吗?

是的,Baidu Maps Sse 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Baidu Maps Sse 支持哪些平台?

Baidu Maps Sse 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Baidu Maps Sse?

由 AI-Hub-Admin(@ai-hub-admin)开发并维护,当前版本 v0.1.0。

💬 留言讨论