AgentSkillsCN

google_maps

为用户目的地生成 Google 地图搜索或导航链接。

SKILL.md
--- frontmatter
name: google_maps
description: Generate Google Maps search or navigation links for user destinations.
always: false

Use this skill when the user wants a map URL, directions link, or location search link.

Workflow:

  1. Read the destination text from the user request.
  2. URL-encode it.
  3. Return a Google Maps link in action_task_finished.

Primary link format:

  • Search URL: https://www.google.com/maps/search/?api=1&query={destination}

Optional navigation link format:

  • Directions URL: https://www.google.com/maps/dir/?api=1&destination={destination}

Output format guidelines:

  • Return exactly one best URL unless user asks for alternatives.
  • Add one short line explaining what the link opens.