360 Secure SkillHub
360 安全技能中心

Neomano Places (Google Places)

基于 Google Places API 的文本搜索工具,按用户意图、位置偏置、是否营业中及最低评分等条件查找现实地点与餐厅,整理名称、评分、评论数、地址并给出简短排序推荐;脚本支持 --json 返回结构化结果,需要 python3 与 GOOGLE_PLACES_API_KEY 环境变量。

elandivar
elandivar
热度 51.86
最近更新 2026-05-11 17:36:11
分类:搜索依赖:代码执行 / 第三方 API应用场景:推荐 / 旅行 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add neomano-places
Metadata
name
neomano-places
description
Search Google Places (Places API New) for real-world places, businesses, restaurants, and nearby recommendations. Use when the user asks to find specific places, restaurants, reviews, ratings, addresses, maps links, or to search by location and filter by open now or minimum rating.
metadata
{"openclaw":{"emoji":"📍","requires":{"bins":["python3"],"env":["GOOGLE_PLACES_API_KEY"]},"primaryEnv":"GOOGLE_PLACES_API_KEY"}}

Neomano Places (Google Places)

Use Google Places as the source of truth for real-world place lookup.

Workflow

  1. Choose the search intent

    • Use the user's request directly when possible.
    • If they want food or local recommendations, search by category + place name.
  2. Search Places

    • Use scripts/places.py for text search.
    • Add location bias when the user mentions a town, city, or area.
    • Prefer concrete results with ratings and review counts.
  3. Filter and rank

    • Prefer places with stronger ratings and more reviews.
    • If the user wants a specific dish, favor places whose name, category, or reviews mention it.
    • If results are weak or ambiguous, say so and avoid guessing.
  4. Respond clearly

    • Return a short ranked list.
    • Include place name, why it stands out, rating, and address when available.
    • Include a Google Maps link if present.

Output style

  • Keep it practical and concrete.
  • Use bullets, not tables.
  • If the user asks for only one place, return the best match and 1–2 backups.

Notes

  • Requires GOOGLE_PLACES_API_KEY.
  • To get one, create a project in Google Cloud Console, enable Places API (New), and create an API key in APIs & Services → Credentials.
  • For best results, restrict the key to Places API and, if possible, lock it down by IP.
  • For JSON output, use --json on the script.
  • For nearby searches, pass --lat, --lng, and --radius-m.