Install
openclaw skills install map-address-query-skillsMap service address lookup and distance-query workflow. MUST use this skill when the user asks for coordinates (坐标), latitude/longitude, POI locations (e.g., specific buildings, shops, or addresses like "北京市朝阳区望京街10号的坐标"), or when calculating route distance and time between places. Supports converting physical locations or names into GPS coordinates.current support Tencent map.
openclaw skills install map-address-query-skillsFirst, run ./scripts/qq_map_cli.sh (or .\scripts\qq_map_cli.bat on Windows) to download the CLI tool.
Then, use ./scripts/bin/qq-map-cli (or .\scripts\bin\qq-map-cli.exe on Windows) to query Tencent Location Service from the terminal.
# On Mac/Linux
./scripts/bin/qq-map-cli setup --config ~/.qq_map_cli_config.json
# On Windows (CMD/PowerShell)
.\scripts\bin\qq-map-cli.exe setup --config %USERPROFILE%\.qq_map_cli_config.json
./scripts/bin/qq-map-cli setup --config ~/.qq_map_cli_config.json --key "your-key"
# Windows: .\scripts\bin\qq-map-cli.exe setup --config %USERPROFILE%\.qq_map_cli_config.json --key "your-key"
--key, QQ_MAP_KEY, --config file path.--config ~/.qq_map_cli_config.json (or --config %USERPROFILE%\.qq_map_cli_config.json on Windows) to all commands../scripts/bin/qq-map-cli <subcommand> ... (or .\scripts\bin\qq-map-cli.exe on Windows).--json when another script or workflow needs structured output.--key flagUse geocoder when the user wants latitude/longitude or structured address fields for one place.
./scripts/bin/qq-map-cli geocoder \
--config ~/.qq_map_cli_config.json \
--address "北京市海淀区彩和坊路海淀西大街74号"
# Windows: .\scripts\bin\qq-map-cli.exe geocoder --config %USERPROFILE%\.qq_map_cli_config.json --address "..."
Use address-distance when the user asks for the distance or travel time between two address names.
./scripts/bin/qq-map-cli address-distance \
--config ~/.qq_map_cli_config.json \
--from-address "北京市海淀区中关村大街27号" \
--to-address "北京市朝阳区望京街10号" \
--mode driving
# Windows: .\scripts\bin\qq-map-cli.exe address-distance --config %USERPROFILE%\.qq_map_cli_config.json ...
Use distance-matrix when the user already has coordinates, needs one-to-many or many-to-many queries, or wants raw from and to payload control.
./scripts/bin/qq-map-cli distance-matrix \
--config ~/.qq_map_cli_config.json \
--origin 39.984154,116.307490 \
--destination 39.908692,116.397477 \
--mode walking
# Windows: .\scripts\bin\qq-map-cli.exe distance-matrix --config %USERPROFILE%\.qq_map_cli_config.json ...
~/.qq_map_cli_config.json (or %USERPROFILE%\.qq_map_cli_config.json) or QQ_MAP_KEY.setup with the global --config flag to create the config file in the user's home directory.setup --config ~/.qq_map_cli_config.json --key "..." so the config is complete in one step.setup --config ~/.qq_map_cli_config.json --key "..." --force.~/.qq_map_cli_config.json as a globally persistent config so the user does not need to configure it again for queries in other directories.address-distance by default for natural-language requests like "这两个地址相距多远".distance-matrix for batch routing, coordinate-based inputs, or advanced raw payloads.--policy 1 when the user gives a shorter or fuzzier address and strict parsing looks too brittle.--mode to walking, bicycling, or straight when the user asks for non-driving results.--json returns raw API responses for downstream automation.address-distance --json returns both geocoder responses and the final distance-matrix response in one object.[SSL: CERTIFICATE_VERIFY_FAILED], run the downloaded binary with SSL_CERT_FILE=/etc/ssl/cert.pem ./scripts/bin/qq-map-cli ... to manually point to macOS's certificates.