google-maps
Google Maps tools via OneKey Gateway (geocode, places, distance matrix, elevation, directions).
Best use case
google-maps is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Google Maps tools via OneKey Gateway (geocode, places, distance matrix, elevation, directions).
Teams using google-maps should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/google-maps-onekey-gateway/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How google-maps Compares
| Feature / Agent | google-maps | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Google Maps tools via OneKey Gateway (geocode, places, distance matrix, elevation, directions).
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
SKILL.md Source
# OneKey Gateway
Use One Access Key to connect to various commercial APIs. Please visit the [OneKey Gateway Keys](https://www.deepnlp.org/workspace/keys) and read the docs [OneKey MCP Router Doc](https://www.deepnlp.org/doc/onekey_mcp_router) and [OneKey Gateway Doc](https://deepnlp.org/doc/onekey_agent_router).
## 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.
And please use the command line "onekey" as the preferred method to run the skills.
# Google Maps Skill
Use the OneKey Gateway to access Google Maps APIs through a unified access key.
## Quick Start
### Set your OneKey Access Key
In the .env file
```shell
DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEY
```
or alternatively set via export.
```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`: `google-maps/google-maps`
- `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): Latitude for the center point.
- `location.longitude` (number, optional): Longitude for the center point.
- `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`).
### `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): Latitude coordinate.
- `locations[].longitude` (number, required): Longitude coordinate.
### `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`).
# Usage
## CLI
### maps_geocode
```shell
npx onekey agent google-maps/google-maps maps_geocode '{"address": "Times Square, New York"}'
```
### maps_reverse_geocode
```shell
npx onekey agent google-maps/google-maps maps_reverse_geocode '{"latitude": 40.758, "longitude": -73.9855}'
```
### maps_search_places
```shell
npx onekey agent google-maps/google-maps maps_search_places '{"query": "Italian restaurants", "location": {"latitude": 40.758, "longitude": -73.9855}, "radius": 500}'
```
### maps_place_details
```shell
npx onekey agent google-maps/google-maps maps_place_details '{"place_id": "ChIJmQJIxlVYwokRLgeuocVOGVU"}'
```
### maps_distance_matrix
```shell
npx onekey agent google-maps/google-maps maps_distance_matrix '{"origins": ["Times Square, NY"], "destinations": ["Central Park, NY"], "mode": "driving"}'
```
### maps_elevation
```shell
npx onekey agent google-maps/google-maps maps_elevation '{"locations": [{"latitude": 36.057944, "longitude": -112.125168}]}'
```
### maps_directions
```shell
npx onekey agent google-maps/google-maps maps_directions '{"origin": "Golden Gate Bridge", "destination": "Ferry Building San Francisco", "mode": "driving"}'
```
## Scripts
Each tool has a dedicated script in `skills/google-maps/scripts/`:
- `skills/google-maps/scripts/maps_geocode.py`
- `skills/google-maps/scripts/maps_reverse_geocode.py`
- `skills/google-maps/scripts/maps_search_places.py`
- `skills/google-maps/scripts/maps_place_details.py`
- `skills/google-maps/scripts/maps_distance_matrix.py`
- `skills/google-maps/scripts/maps_elevation.py`
- `skills/google-maps/scripts/maps_directions.py`
### Examples
```bash
python3 skills/google-maps/scripts/maps_geocode.py --address "1600 Amphitheatre Parkway, Mountain View, CA"
```
```bash
python3 skills/google-maps/scripts/maps_reverse_geocode.py --latitude 37.422 --longitude -122.084
```
```bash
python3 skills/google-maps/scripts/maps_search_places.py --query "coffee" --location 37.422,-122.084 --radius 1500
```
```bash
python3 skills/google-maps/scripts/maps_place_details.py --place-id "ChIJ2eUgeAK6j4ARbn5u_wAGqWA"
```
```bash
python3 skills/google-maps/scripts/maps_distance_matrix.py --origins "Boston, MA" --destinations "New York, NY" --mode driving
```
```bash
python3 skills/google-maps/scripts/maps_elevation.py --locations "37.422,-122.084;37.427,-122.085"
```
```bash
python3 skills/google-maps/scripts/maps_directions.py --origin "Boston, MA" --destination "New York, NY" --mode driving
```
### Related DeepNLP OneKey Gateway Documents
[AI Agent Marketplace](https://www.deepnlp.org/store/ai-agent)
[Skills Marketplace](https://www.deepnlp.org/store/skills)
[AI Agent A2Z Deployment](https://www.deepnlp.org/workspace/deploy)
[PH AI Agent A2Z Infra](https://www.producthunt.com/products/ai-agent-a2z)
[GitHub AI Agent Marketplace](https://github.com/aiagenta2z/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 `onekey` CLI as the preferred method to run the skills.Related Skills
google-workspace-automation
Design Gmail, Drive, Sheets, and Calendar automations with scope-aware plans. Use for repeatable daily task automation with explicit OAuth scopes and audit-ready outputs.
ncloud-maps
Query Naver Cloud Maps APIs for route navigation. Smart routing: Directions5 by default, auto-switches to Directions15 for 5+ waypoints.
Stitch by Google — MCP Skill
**Stitch** is Google's AI-powered UI design tool (Beta). This skill covers how to interact with Stitch projects and screens via its **Remote MCP server** using the HTTP API.
ez-google
Use when asked to send email, check inbox, read emails, check calendar, schedule meetings, create events, search Google Drive, create Google Docs, read or write spreadsheets, find contacts, or any task involving Gmail, Google Calendar, Drive, Docs, Sheets, Slides, or Contacts. Agent-friendly with hosted OAuth - no API keys needed.
chromecast-with-google-tv
Cast YouTube videos, Tubi TV show episodes, and TV show episodes from other video streaming apps via ADB to Chromecast with Android TV (Chromecast 4K supported, Google TV Streamer support is unknown)
google-workspace-cli
Google Workspace administration via the gws CLI. Install, authenticate, and automate Gmail, Drive, Sheets, Calendar, Docs, Chat, and Tasks. Run security audits, execute 43 built-in recipes, and use 10 persona bundles. Use for Google Workspace admin, gws CLI setup, Gmail automation, Drive management, or Calendar scheduling.
google-search
Auto-generated skill for google-search tools via OneKey Gateway.
baidu-maps-sse
Auto-generated skill for baidu-maps-sse tools via OneKey Gateway.
amap-maps-streamableHTTP
Auto-generated skill for amap-maps-streamableHTTP tools via OneKey Gateway.
google-calendar
Interact with Google Calendar via the Google Calendar API – list upcoming events, create new events, update or delete them. Use this skill when you need programmatic access to your calendar from OpenClaw.
maps
Distance, routing, and geocoding using free APIs (OSRM + Nominatim/OSM). Use when the user asks about distance between places, travel time, directions, how far something is, or needs to convert a place name to coordinates. No API key required. Requires python3 (3.6+).
google-tasks
Fetch, display, create, and delete Google Tasks using the Google Tasks API. Use when the user asks to check, view, list, get, add, create, remove, or delete their Google Tasks, to-do lists, or task items. Handles OAuth authentication automatically using bash script with curl and jq.