map-query

v1.0.1

Query nearby restaurants, shops, promotions, and POIs by address using AMap, Baidu, or Tencent Maps with geocoding and filters.

0· 175·0 current·0 all-time
bySlava Chan@uynewnas
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

latestvk97at68hk1qvp9wsnvxhe4ev8s83deak
175downloads
0stars
2versions
Updated 3w ago
v1.0.1
MIT-0

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

Map Query Skill

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

Core Features

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

Supported Map Providers

ProviderFeaturesNotes
AMap (高德)✅ Geocoding, POI Search, Food SearchAPI Key required
Baidu Maps✅ Geocoding, POI Search, Food SearchAPI Key required
Tencent Maps✅ Geocoding, POI Search, Food SearchAPI Key required

Main Functions

1. Address Geocoding

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

2. Nearby Search

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

3. Food Search

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

4. Promotions Search

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

Dependencies

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

Quick Start

# Configure API Key
export AMAP_KEY=your_amap_api_key
export BAIDU_MAP_KEY=your_baidu_map_key
export TENCENT_MAP_KEY=your_tencent_map_key

# Search for food near address
node scripts/search.mjs "Sanlitun, Chaoyang District, Beijing" --type food

# Search for promotions
node scripts/search.mjs "Sanlitun, Chaoyang District, Beijing" --type promotion

References

Comments

Loading comments...