google-maps-automation
Skill này làm gì
Công cụ này giúp bạn dùng Google Maps để tìm địa điểm, lấy chỉ đường, tính khoảng cách và thậm chí chuyển địa chỉ thành tọa độ địa lý.
Khi nào nên dùng
- ✓Cần biết khoảng cách giữa nhà và nơi làm việc của bạn.
- ✓Muốn tìm nhà hàng gần bạn.
- ✓Cần chuyển một địa chỉ thành vĩ độ và kinh độ.
Liên kết skill
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/google-maps-automation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Có nhà hàng nào trong bán kính 5 km quanh Đại lộ Paulista không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ kết nối với Google Maps để lấy thông tin bạn yêu cầu. Nó dùng các lệnh cụ thể để tìm địa điểm, tính lộ trình hoặc lấy chi tiết địa chỉ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Google Maps Automation via Rube MCP
Geocode addresses, search places, get directions, compute distance matrices, and retrieve place details using Google Maps via Rube MCP (Composio).
Toolkit docs: composio.dev/toolkits/google_maps
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active connection via
RUBE_MANAGE_CONNECTIONSwith toolkitgoogle_maps - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitgoogle_maps - If connection is not ACTIVE, follow the returned auth link to complete setup
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Geocode an Address
Use GOOGLE_MAPS_GEOCODING_API to convert a street address into geographic coordinates (latitude/longitude).
Tool: GOOGLE_MAPS_GEOCODING_API
Parameters:
- address: Street address or plus code to geocode
- latlng: Lat/lng for reverse geocoding (e.g., "40.714224,-73.961452")
- place_id: Place ID for place geocoding
- language: Language for results
- region: Region bias (ccTLD code)
- bounds: Bounding box for viewport bias
- components: Component filter (e.g., "postal_code:94043|country:US")
2. Search for Places
Use GOOGLE_MAPS_TEXT_SEARCH to find places using a free-text query.
Tool: GOOGLE_MAPS_TEXT_SEARCH
Parameters:
- textQuery (required): Search text (e.g., "restaurants in London")
- fieldMask: Fields to return (e.g., "displayName,formattedAddress,rating")
- maxResultCount: Max results (1-20, default 10)
3. Get Directions Between Two Locations
Use GOOGLE_MAPS_GET_ROUTE to calculate routes with distance and duration.
Tool: GOOGLE_MAPS_GET_ROUTE
Parameters:
- origin_address (required): Starting point (address or "lat,lng")
- destination_address (required): End point (address or "lat,lng")
- travelMode: DRIVE, BICYCLE, WALK, TWO_WHEELER, or TRANSIT
- routingPreference: TRAFFIC_UNAWARE, TRAFFIC_AWARE, TRAFFIC_AWARE_OPTIMAL
- computeAlternativeRoutes: Return alternative routes (boolean)
- units: METRIC or IMPERIAL
- languageCode: BCP-47 language code
- routeModifiers_avoidTolls / avoidHighways / avoidFerries: Route preferences
4. Compute Distance Matrix
Use GOOGLE_MAPS_COMPUTE_ROUTE_MATRIX to calculate distances and durations between multiple origins and destinations.
Tool: GOOGLE_MAPS_COMPUTE_ROUTE_MATRIX
Parameters:
- origins (required): Array of origin locations (address strings or lat/lng objects)
- destinations (required): Array of destination locations
- travelMode: DRIVE, BICYCLE, WALK, TWO_WHEELER, or TRANSIT
- routingPreference: TRAFFIC_UNAWARE, TRAFFIC_AWARE, TRAFFIC_AWARE_OPTIMAL
- fieldMask: Response fields to include
- units: METRIC or IMPERIAL
5. Get Place Details
Use GOOGLE_MAPS_GET_PLACE_DETAILS to retrieve comprehensive information about a specific place.
Tool: GOOGLE_MAPS_GET_PLACE_DETAILS
Description: Retrieves comprehensive details for a place using its resource
name (places/{place_id} format). Returns hours, contacts, reviews, etc.
Note: Call RUBE_SEARCH_TOOLS to get the full schema for this tool.
6. Search Nearby Places
Use GOOGLE_MAPS_NEARBY_SEARCH to find places within a circular area around a point.
Tool: GOOGLE_MAPS_NEARBY_SEARCH
Parameters:
- latitude (required): Center latitude (-90 to 90)
- longitude (required): Center longitude (-180 to 180)
- radius (required): Search radius in meters (max 50000)
- includedTypes: Place types to include (e.g., ["restaurant", "cafe"])
- excludedTypes: Place types to exclude
- fieldMask: Fields to return
- maxResultCount: Max results (1-20)
Common Patterns
- Geocode then route: Use
GOOGLE_MAPS_GEOCODING_APIto convert addresses to coordinates, thenGOOGLE_MAPS_GET_ROUTEfor directions between them. - Search then detail: Use
GOOGLE_MAPS_TEXT_SEARCHto find places, thenGOOGLE_MAPS_GET_PLACE_DETAILSfor richer metadata (hours, contacts, reviews). - Autocomplete UX: Use
GOOGLE_MAPS_AUTOCOMPLETEfor type-ahead search suggestions as users type addresses or place names.
…
Câu hỏi thường gặp
Tôi có cần tài khoản Google không?
Bạn cần kết nối tài khoản Google để công cụ truy cập Google Maps. Quy trình đơn giản và có hướng dẫn.
Tôi có thể hỏi về lộ trình đi xe đạp không?
Có, bạn có thể yêu cầu lộ trình cho các phương tiện khác nhau, như ô tô, xe đạp, đi bộ hoặc phương tiện công cộng.
Làm sao biết công cụ đã tìm đúng địa điểm?
Công cụ trả về các thông tin như tên, địa chỉ và đôi khi cả đánh giá để giúp bạn xác nhận đó có phải địa điểm bạn tìm không.
Chi tiết
Mô tả gốc của tác giả
Automate Google Maps tasks via Rube MCP (Composio): geocode addresses, search places, get directions, compute route matrices, reverse geocode, autocomplete, get place details. Always search tools first for current schemas.
Độ phổ biến
- Sao GitHub
- 77k
- Vị trí xếp hạng
- #2105
- Giấy phép
- —
- Cập nhật
- 18/9/2026
Bình luận
- …
Thêm skill từ kho mã này
artifacts-builder
77kGiúp agent của bạn xây dựng giao diện người dùng phức tạp. Dùng công nghệ hiện đại để tạo trang web tương tác phong phú.
brand-guidelines
77kGiúp agent của bạn áp dụng màu sắc và phông chữ thương hiệu chính thức cho tài liệu. Giữ bản sắc trực quan cho mọi nội dung cần đúng phong cách công ty.
canvas-design
77kGiúp agent của bạn tạo tác phẩm nghệ thuật gốc dạng .png và .pdf. Dùng khi cần poster, tranh nghệ thuật hoặc thiết kế tĩnh khác.
changelog-generator
77kGiúp agent của bạn tạo ghi chú phát hành dành cho người dùng từ các commit mã. Biến thông tin kỹ thuật thành văn bản dễ hiểu.
Skill tương tự
knowledge-automation
394kGiúp agent của bạn thiết lập tác vụ định kỳ đưa nội dung mới vào kho Knowledge theo lịch, rồi kiểm tra tác vụ có chạy không.
knowledge-source-ingest
394kGiúp agent của bạn cập nhật Knowledge vault với các mục mới từ kênh chat, nguồn tin hoặc hộp thư, mà không thêm lại những gì đã có.
benchmark
280kGiúp agent của bạn đo tốc độ và hiệu suất của code, hữu ích để đảm bảo mọi thứ nhanh và tìm ra những chỗ chậm.