google-maps · imoonkey — скилл для Claude Code: поиск мест и маршруты
Скилл для ИИ-агентов: ищет места, достаёт детали, отзывы и фото, строит маршруты и переводит адреса в координаты.
npx skills add imoonkey/openweb --skill google-maps -a claude-codeЧто делает google-maps
Скилл google-maps даёт агенту набор операций поверх Google Maps: searchPlaces находит место по запросу и возвращает placeId, название, адрес и рейтинг. Дальше по этому placeId работают getPlaceDetails, getPlaceReviews, getPlacePhotos, getPlaceHours и getPlaceAbout — часы работы, сайт, телефон, отзывы, описание и категории. Все шесть шагов опираются на идентификатор из первого поиска.
Маршруты разведены по режимам передвижения: getDirections для автомобиля, getTransitDirections для общественного транспорта, getWalkingDirections и getBicyclingDirections для пеших и велосипедных. Для геокодинга есть geocode и reverseGeocode, для поиска рядом — nearbySearch по категории и локации, плюс getAutocompleteSuggestions для подсказок при вводе. Данные скилл достаёт через адаптеры — из внутренних API и DOM одностраничного приложения.
Вызовы идут через CLI: openweb google-maps exec searchPlaces '{"query": "..."}'. Аргументы передаются JSON-строкой, поэтому кавычки внутри значения придётся экранировать. Без установленного openweb команды не выполнятся — это первое, что стоит проверить.
Какие задачи решает
- найти кофейни в районе и вытащить их рейтинги
- собрать отзывы о заведении вместе с именами авторов
- получить недельный график работы точки
- построить маршрут на общественном транспорте между двумя адресами
- перевести адрес в координаты для карты
Примеры запросов агенту
- Найди кофейни в Сан-Франциско через
searchPlacesи покажи рейтинги - Возьми
placeIdиз прошлого поиска и достань отзывы и часы работы - Построй пеший маршрут от Union Square до Golden Gate Park
Как установить google-maps
1Через Skills CLI (Vercel)
npx skills add imoonkey/openweb --skill google-maps -a claude-code2Вручную: положить файлы
~/.claude/skills/google-maps/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/google-maps/
1Через Skills CLI (Vercel)
npx skills add imoonkey/openweb --skill google-maps -a codex2Вручную: положить файлы
.agents/skills/google-maps/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add imoonkey/openweb --skill google-maps -a cursor2Вручную: положить файлы
.cursor/skills/google-maps/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install imoonkey/openweb google-maps2Вручную: положить файлы
.github/skills/google-maps/SKILL.md1Через Skills CLI (Vercel)
npx skills add imoonkey/openweb --skill google-maps -a gemini-cli2Командой платформы
gemini skills install https://github.com/imoonkey/openweb --path src/sites/google-mapsВручную: положить файлы
.devin/skills/google-maps/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add imoonkey/openweb --skill google-maps -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о google-maps
Как установить google-maps в Claude Code?
Выполните npx skills add imoonkey/openweb --skill google-maps -a claude-code. Скилл встанет по пути ~/.claude/skills/google-maps/SKILL.md.
Что делает google-maps?
Ищет места, достаёт детали, отзывы, фото и часы работы, строит маршруты для четырёх режимов передвижения и делает прямое и обратное геокодирование.
Как вызвать операцию скилла?
Через CLI: openweb google-maps exec searchPlaces '{"query": "coffee shops in San Francisco"}'. Аргументы передаются одной JSON-строкой.
Исходный текст
SKILL.md · MIT
# Google Maps
## Overview
Google Maps — location search, place details, directions, and geocoding. Adapter-based extraction from internal APIs and SPA DOM.
## Workflows
### Find a place and get details
1. `searchPlaces(query)` → `placeId`, name, address, rating
2. `getPlaceDetails(placeId)` → name, address, rating, hours, website, phone, reviews
3. `getPlaceReviews(placeId)` → reviews with author, rating, relative time
4. `getPlacePhotos(placeId)` → photo URLs with dimensions
5. `getPlaceHours(placeId)` → weekly operating schedule
6. `getPlaceAbout(placeId)` → description, category, attributes
Steps 2–6 all use `placeId` from step 1.
### Search nearby and compare
1. `nearbySearch(category, location)` → `placeId`, name, address, rating
2. `getPlaceDetails(placeId)` per result → compare ratings, hours, prices
### Get directions between locations
- `getDirections(origin, destination)` → driving routes with distance, duration
- `getTransitDirections(origin, destination)` → public transit routes
- `getWalkingDirections(origin, destination)` → walking routes
- `getBicyclingDirections(origin, destination)` → cycling routes
All are entry points — pick the travel mode needed.
### Geocoding
- `geocode(address)` → `lat`, `lng`, `placeId` from address string
- `reverseGeocode(lat, lng)` → address, place name from coordinates
## Operations
| Operation | Intent | Key Input | Key Output | Notes |
|-----------|--------|-----------|------------|-------|
| searchPlaces | search places by query | query | placeId, name, address, rating, lat/lng | entry point, SPA nav |
| getPlaceDetails | full place details | placeId ← searchPlaces | name, rating, hours, website, phone, reviews | preview API |
| getPlaceReviews | detailed reviews | placeId ← searchPlaces | reviews[].text, authorName, rating, relativeTime | preview API |
| getPlacePhotos | photo URLs | placeId ← searchPlaces | photos[].url, width, height | preview API |
| getPlaceHours | operating schedule | placeId ← searchPlaces | status, schedule[].day, hours | preview API |
| getPlaceAbout | description + attributes | placeId ← searchPlaces | description, category, rating, website, phone | preview API |
| getDirections | driving directions | origin, destination | routes[].name, distanceText, durationText | entry point, SPA nav |
| getTransitDirections | transit directions | origin, destination | routes[].name, durationText | entry point, SPA nav |
| getWalkingDirections | walking directions | origin, destination | routes[].name, distanceText, durationText | entry point, SPA nav |
| getBicyclingDirections | cycling directions | origin, destination | routes[].name, distanceText, durationText | entry point, SPA nav |
| nearbySearch | search by category near location | category, location | placeId, name, address, rating, lat/lng | entry point, SPA nav |
| getAutocompleteSuggestions | type-ahead suggestions | input | suggestions[].text, placeId, description | entry point, suggest API |
| geocode | address to coordinates | address | lat, lng, placeId, formattedAddress | entry point, SPA nav |
| reverseGeocode | coordinates to address | lat, lng | address, name, placeId | entry point, SPA nav |
## Quick Start
```bash
# Search for places
openweb google-maps exec searchPlaces '{"query": "coffee shops in San Francisco"}'
# Get place details (use placeId from search results)
openweb google-maps exec getPlaceDetails '{"placeId": "0x80858135f0db680b:0x47e714bf5f0080a3", "query": "The Coffee Berry SF"}'
# Get driving directions
openweb google-maps exec getDirections '{"origin": "San Francisco, CA", "destination": "Los Angeles, CA"}'
# Get transit directions
openweb google-maps exec getTransitDirections '{"origin": "Union Square, San Francisco", "destination": "Golden Gate Park, San Francisco"}'
# Search nearby
openweb google-maps exec nearbySearch '{"category": "restaurants", "location": "Times Square"}'
# Geocode an address
openweb google-maps exec geocode '{"address": "1600 Amphitheatre Parkway, Mountain View, CA"}'
# Reverse geocode coordinates
openweb google-maps exec reverseGeocode '{"lat": 37.7749, "lng": -122.4194}'
```
© imoonkey · MIT · imoonkey/openweb
Похожие скиллы
Все скиллы по теме «Настройка агента: память, контекст, субагенты» →Сначала — google-maps от других авторов.