By deusyu
Perform geocoding, reverse geocoding, route planning, place searches, elevation queries, and timezone lookups using the Google Maps Platform API from the command line.
English | 中文
AI-powered Google Maps skill for Claude Code — plan international trips through natural conversation.
Google Maps is the most widely used map in the world. While restricted in a few countries (China, North Korea), it remains the go-to map for international travel.
The pain point: When traveling abroad, Google Maps shows local scripts you can't read — Korean looks like paperclips scattered on the screen, Japanese place names get translated inconsistently between Google Maps and Chinese travel communities (Xiaohongshu, Mafengwo, etc.).
The solution: Install this skill in Claude Code, and you get an AI-powered conversation layer on top of real Google Maps data. Ask in plain Chinese (or any language), get structured results with translated place names, route comparisons, and local context — no more squinting at unfamiliar scripts on your phone.
| Command | What it does |
|---|---|
geocode | Address → coordinates ("Where exactly is Tokyo Tower?") |
reverse-geocode | Coordinates → address ("What's at this pin?") |
directions | Route planning with 4 travel modes: drive, walk, bike, transit |
places-search | Find places by text query ("ramen near Shinjuku") |
places-nearby | Discover places around a location ("cafes within 500m") |
place-detail | Get full details of a specific place |
elevation | Elevation data for any location |
timezone | Timezone info for any location |
gcloud)Skip the Google Cloud Console UI. Use gcloud CLI instead — paste these commands and you're done.
Step 1: Login and create project
gcloud auth login
gcloud projects create my-maps-skill --name="my-maps-skill"
Step 2: Link billing
# Find your billing account ID
gcloud billing accounts list
# Link it
gcloud billing projects link my-maps-skill --billing-account=YOUR_ACCOUNT_ID
Step 3: Enable all 5 APIs at once
gcloud services enable \
geocoding-backend.googleapis.com \
routes.googleapis.com \
places.googleapis.com \
elevation-backend.googleapis.com \
timezone-backend.googleapis.com \
--project=my-maps-skill
Step 4: Create API key
gcloud services api-keys create --display-name="maps-skill-key" --project=my-maps-skill
Save the keyString from the output.
export GOOGLE_MAPS_API_KEY="your_key_here"
Add to your ~/.zshrc or ~/.bashrc to persist.
/plugin marketplace add deusyu/google-maps-skill
/plugin install gmaps@google-maps-skill
npx skills add deusyu/google-maps-skill
git clone https://github.com/deusyu/google-maps-skill.git
cp -r google-maps-skill/skills/gmaps ~/.claude/skills/
After installation, just talk to Claude in any language:
鹿儿岛核心区有哪些酒店?
从福冈到鹿儿岛怎么走,有几种方式?
Tokyo Tower 的经纬度是多少?
Find restaurants near Shibuya Station
What timezone is Bangkok in?
Claude reads the map data, translates place names, and gives you a clear answer — no need to memorize any commands.
This project uses a declarative command-as-module pattern:
CommandDef configuration objectAdding a new command = 1 new file + 1 line in the registry.
commands/
├── geocode.ts # Each file is a declarative command definition
├── directions.ts # POST + header auth + fieldMask
├── place-detail.ts # Dynamic URL (buildUrl)
├── ...
└── index.ts # Registry: Map<string, CommandDef>
Compared to the earlier amap-skill (AMap / Gaode Maps):
| amap-skill | google-maps-skill | |
|---|---|---|
| Command definition | 300-line switch | One file per command, declarative |
| Validation | 490-line switch | Generic schema-driven ~55 lines |
| HTTP | GET only | GET + POST |
| Auth | query param only | query or header, per command |
| Route commands | 8 (4 modes x 2 variants) | 1 directions --mode |
| Adding a command | Touch 4+ files | 1 new file + 1 registry line |
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub deusyu/google-maps-skill --plugin gmapsTurn Mermaid diagrams in conversations into clickable preview links (mmd.dyu.sh) — no copy-paste
Design fluency for frontend development. 1 skill with 23 commands (/impeccable polish, /impeccable audit, /impeccable critique, etc.) and curated anti-pattern detection.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations on LLM coding pitfalls
Lazy senior dev mode. Forces the simplest, shortest solution that actually works: YAGNI, stdlib first, no unrequested abstractions.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.