← 返回 Skills 市场
uynewnas

map-query

作者 Slava Chan · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
206
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install map-query
功能描述
Query nearby restaurants, shops, promotions, and POIs by address using AMap, Baidu, or Tencent Maps with geocoding and filters.
使用说明 (SKILL.md)

\r ---\r name: map-query\r description: Map Query Skill - Query nearby food and promotions by address, supports AMap/Baidu/Tencent Maps\r metadata:\r version: 1.0.0\r author: uynewnas\r category: location-services\r tags: [map, poi, food, location, amap, baidu, tencent]\r env:\r required:\r - name: AMAP_KEY\r description: AMap (高德地图) API Key\r required: false\r - name: BAIDU_MAP_KEY\r description: Baidu Maps API Key\r required: false\r - name: TENCENT_MAP_KEY\r description: Tencent Maps API Key\r required: false\r note: At least one map provider API key must be configured\r ---\r \r

Map Query Skill\r

\r Query nearby restaurants, shops, promotions and other POI information by specific address.\r \r

Core Features\r

\r

  • Address Geocoding: Convert detailed address to latitude and longitude coordinates\r
  • Nearby Search: Query POIs (Points of Interest) around specified location\r
  • Multi-map Support: Integrate AMap, Baidu Maps, Tencent Maps APIs\r
  • Food Search: Specialized search for nearby restaurants and food places\r
  • Promotions Search: Query nearby merchant promotions and deals\r \r

Supported Map Providers\r

\r | Provider | Features | Notes |\r |---------|---------|-------|\r | AMap (高德) | ✅ Geocoding, POI Search, Food Search | API Key required |\r | Baidu Maps | ✅ Geocoding, POI Search, Food Search | API Key required |\r | Tencent Maps | ✅ Geocoding, POI Search, Food Search | API Key required |\r \r

Main Functions\r

\r

1. Address Geocoding\r

  • Support detailed addresses: e.g., "No. 47, Shangjiao xx Street, Panyu District, Guangzhou"\r
  • Support city + landmark: e.g., "Beijing Tiananmen"\r
  • Auto-resolve and return coordinates\r \r

2. Nearby Search\r

  • Search by type: food, hotel, bank, gas station, etc.\r
  • Filter by distance: 1km, 2km, 5km, etc.\r
  • Sort by rating: prioritize high-rated merchants\r
  • Sort by distance: prioritize nearby merchants\r \r

3. Food Search\r

  • Cuisine filter: Sichuan, Cantonese, Japanese, etc.\r
  • Price range: per capita consumption range\r
  • Business hours filter\r
  • User rating filter\r \r

4. Promotions Search\r

  • Find nearby merchant deals\r
  • New store opening information\r
  • Limited-time discount activities\r \r

Dependencies\r

\r

  • Node.js >= 18\r
  • Map provider API Key (at least one configured)\r \r

Quick Start\r

\r

# Configure API Key\r
export AMAP_KEY=your_amap_api_key\r
export BAIDU_MAP_KEY=your_baidu_map_key\r
export TENCENT_MAP_KEY=your_tencent_map_key\r
\r
# Search for food near address\r
node scripts/search.mjs "Sanlitun, Chaoyang District, Beijing" --type food\r
\r
# Search for promotions\r
node scripts/search.mjs "Sanlitun, Chaoyang District, Beijing" --type promotion\r
```\r
\r
---\r
\r
## References\r
\r
- 12306 Skill: https://github.com/kirorab/12306-skill\r
- AMap API: https://lbs.amap.com/\r
- Baidu Maps API: https://lbsyun.baidu.com/\r
- Tencent Maps API: https://lbs.qq.com/\r
安全使用建议
This package appears coherent for running local map/POI queries. Before installing: (1) only provide API keys with appropriate usage restrictions (IP/referrer limits) to limit misuse; (2) be aware that addresses and coordinates are sent to third-party map providers (AMap/Baidu/Tencent) when queries run; (3) verify you trust the skill source since it will execute JavaScript locally and make network requests; (4) ensure Node.js >=18 is used so global fetch is available. If you want higher assurance, ask the publisher for a verifiable homepage/repo or review the code locally before enabling the skill.
功能分析
Type: OpenClaw Skill Name: map-query Version: 1.0.1 The map-query skill provides legitimate functionality for geocoding and searching for points of interest (food, promotions) using AMap, Baidu, and Tencent Map APIs. The implementation uses standard Node.js fetch calls to official API endpoints (e.g., restapi.amap.com, api.map.baidu.com) and requires user-provided API keys via environment variables. The code logic is transparent, lacks obfuscation, and contains no evidence of data exfiltration, malicious execution, or harmful prompt injection instructions.
能力评估
Purpose & Capability
Name/description, SKILL.md, and the code files all implement geocoding and nearby-POI searches using AMap/Baidu/Tencent; requested env vars are exactly the provider API keys needed.
Instruction Scope
SKILL.md and CLAUDE.md only instruct checking/using map API keys and running the shipped scripts. The runtime instructions do not ask the agent to read unrelated files, credentials, or system paths.
Install Mechanism
No install spec or remote downloads are present; code is shipped in the skill bundle. There are no URL shorteners, external installers, or extract/execute steps that would raise concern.
Credentials
Only AMAP_KEY, BAIDU_MAP_KEY, and TENCENT_MAP_KEY are referenced and used. Those credentials are appropriate and necessary for the described functionality; no unrelated secrets or broad credentials are requested.
Persistence & Privilege
Flags show default behavior (not always), the skill does not request persistent system-wide privileges, and scripts do not modify other skill configs or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install map-query
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /map-query 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added scripts for food search, geocoding, promotions, and general POI search: food.mjs, geocode.mjs, promotion.mjs, search.mjs. - Documented environment variable requirements for map provider API keys in SKILL.md.
v1.0.0
Initial release of map-query: - Query nearby food, shops, and promotions by address. - Supports geocoding and POI (Points of Interest) search. - Integrates AMap, Baidu Maps, and Tencent Maps APIs (API key required). - Specialized food search with cuisine, price, business hours, and rating filters. - Find nearby merchant promotions and deals.
元数据
Slug map-query
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

map-query 是什么?

Query nearby restaurants, shops, promotions, and POIs by address using AMap, Baidu, or Tencent Maps with geocoding and filters. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 206 次。

如何安装 map-query?

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

map-query 是免费的吗?

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

map-query 支持哪些平台?

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

谁开发了 map-query?

由 Slava Chan(@uynewnas)开发并维护,当前版本 v1.0.1。

💬 留言讨论