Google maps

From refly-ai/refly-skills · View interactive version

Google maps is an AI agent skill from the GitHub repository refly-ai/refly-skills. Integrate with Google Maps for location services. Use when you need to: (1) geocode addresses to coordinates, (2) search for places, or (3) get directions and location data.

How to use this skill

Skill file

Google Maps

Integrate with Google Maps for location services. Use when you need to: (1) geocode addresses to coordinates, (2) search for places, or (3) get directions and location data.

Input

Provide input as JSON:

{
  "search_query": "Location or place name to search for (e.g., 'Eiffel Tower', 'restaurants in New York', '1600 Amphitheatre Parkway')",
  "place_type": "Type of place to search for (e.g., 'restaurant', 'hotel', 'museum', 'cafe'). Leave empty for general search."
}

Execution (Pattern B: Text/Data)

Step 1: Run the Skill and Get Run ID

RESULT=$(refly skill run --id skpi-cvy0z7sx46moqd1w590mygq3 --input '{
  "address": "1600 Amphitheatre Parkway, Mountain View, CA",
  "action": "geocode"
}')
RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id')
# RUN_ID is we-xxx format, use this for workflow commands

Step 2: Open Workflow in Browser and Wait for Completion

open "https://refly.ai/workflow/c-b6hhdfj7pt9c1yrowfbmx5vc"
refly workflow status "$RUN_ID" --watch --interval 30000

Step 3: Extract Text Content

# Get location data from toolcalls
CONTENT=$(refly workflow toolcalls "$RUN_ID" --files --latest | jq -r '.payload.nodes[].content')
echo "$CONTENT"

Expected Output

Rules

Follow base skill workflow: ~/.claude/skills/refly/SKILL.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.