← 返回 Skills 市场
phheng

Google Maps Search Api

作者 Henk Nie · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
2023
总下载
1
收藏
8
当前安装
1
版本数
在 OpenClaw 中安装
/install google-maps-search-api
功能描述
This skill is designed to help users automatically extract business data from Google Maps search results. When a user asks to "find coffee shops in New York," "search for dental clinics," or "extract business leads from Google Maps," the agent should proactively apply this skill.
使用说明 (SKILL.md)

Google Maps Search Automation Skill

✨ Platform Compatibility

✅ Works Powerfully & Reliably On All Major AI Assistants

Platform Status How to Install
OpenCode ✅ Fully Supported Copy skill folder to ~/.opencode/skills/
Claude Code ✅ Fully Supported Native skill support
Cursor ✅ Fully Supported Copy to ~/.cursor/skills/
OpenClaw ✅ Fully Supported Compatible

Why Choose BrowserAct Skills?

  • 🚀 Stable & crash-free execution
  • ⚡ Fast response times
  • 🔧 No configuration headaches
  • 📦 Plug & play installation
  • 💬 Professional support

📖 Introduction

This skill provides a one-stop business data collection service through the BrowserAct Google Maps Search API template. Obtain structured business data with just one command.

🔑 API Key Guidance

Before running, check the BROWSERACT_API_KEY environment variable. If it is not set, do not take further action; instead, request and wait for the user to provide it. The Agent must inform the user:

"Since you haven't configured the BrowserAct API Key, please go to the BrowserAct Console to get your Key and provide it to me in this chat."

🛠️ Input Parameters Details

The Agent should flexibly configure the following parameters when calling the script based on user needs:

  1. KeyWords (Search Keywords)

    • Type: string
    • Description: The keywords the user wants to search for on Google Maps.
    • Example: coffee, bakery, coworking space
  2. language (UI Language)

    • Type: string
    • Description: Sets the UI language and the language of the returned text.
    • Optional Values: en, de, fr, it, es, ja, zh-CN, zh-TW
    • Default: en
  3. country (Country/Region Bias)

    • Type: string
    • Description: Sets the country or region bias for search results.
    • Example: us, gb, ca, au, de, fr, es, it, jp
    • Default: us
  4. max_dates (Maximum extraction limit)

    • Type: number
    • Description: The maximum number of places to extract from search results.
    • Default: 100

🚀 Execution Method (Recommended)

The Agent should implement "one command for results" by executing the following independent script:

# Call example
python ./scripts/google_maps_search_api.py "KeyWords" "language" "country" max_dates

📊 Data Output Description

After successful execution, the script will directly parse and print the results from the API response. Results include:

  • name: Business name
  • full address: Business address
  • rating: Average star rating
  • review count: Number of reviews
  • price range: Price level
  • cuisine type: Business category
  • amenity tags: Features like Wi-Fi, outdoor seating
  • review snippet: Highlighted short review
  • service options: Such as "Order online", "Dine-in"

⚠️ Error Handling & Retry

During script execution, if an error occurs (such as network fluctuations or task failure), the Agent should follow this logic:

  1. Check output content:

    • If the output contains "Invalid authorization", the API Key is invalid or expired. Do not retry; instead, guide the user to check and provide the correct API Key.
    • If the output does not contain "Invalid authorization" but the task execution fails (e.g., output starts with Error: or returns an empty result), the Agent should automatically attempt to re-execute the script once.
  2. Retry Limit:

    • Automatic retry is limited to once. If the second attempt still fails, stop retrying and report the specific error message to the user.
安全使用建议
This skill appears to do what it says (it uses BrowserAct to scrape Google Maps), but before installing you should: (1) be aware you must supply a BrowserAct API key (BROWSERACT_API_KEY) — the skill metadata does not declare this, so the platform may not prompt you automatically; (2) verify you trust BrowserAct (api.browseract.com) because the service will perform the scraping on your behalf and will receive your API key and task details; (3) avoid pasting your API key into public chat; set it as an environment variable instead; (4) ensure the runtime environment has Python and the 'requests' package installed (SKILL.md doesn't declare this dependency); (5) consider legal/terms-of-service implications of scraping Google Maps and any rate/billing impacts from BrowserAct usage; and (6) if you need higher assurance, ask the skill author for a homepage or source origin and confirm the BrowserAct TEMPLATE_ID and expected output schema before providing credentials.
功能分析
Type: OpenClaw Skill Name: google-maps-search-api Version: 0.1.0 The skill is designed to extract business data from Google Maps using the BrowserAct API. The `SKILL.md` provides clear instructions for the agent on how to use the skill, handle the `BROWSERACT_API_KEY`, and manage errors, all directly aligned with its stated purpose. The `scripts/google_maps_search_api.py` script correctly implements this logic, communicating solely with `api.browseract.com` to run and retrieve task results. There is no evidence of data exfiltration beyond the necessary API key for the service, malicious execution, persistence mechanisms, or harmful prompt injection attempts against the agent. All actions are consistent with the skill's described functionality.
能力评估
Purpose & Capability
The skill's claimed purpose (extract business data from Google Maps) matches its implementation: the script posts a workflow to api.browseract.com to run a BrowserAct template that scrapes Google Maps. This is a plausible design choice for web automation/scraping. However, registry metadata lists no required environment variables or primary credential, while both SKILL.md and the script require BROWSERACT_API_KEY — a clear inconsistency between declared requirements and actual needs.
Instruction Scope
SKILL.md instructs the agent to check for BROWSERACT_API_KEY, ask the user to provide it if missing, and run the included Python script with search parameters. The instructions only reference BrowserAct and google.com/maps as the target; they do not request unrelated system files, other credentials, or unknown external endpoints. Error handling and retry logic are limited and scoped to the task.
Install Mechanism
There is no installer (instruction-only skill with an included script), so no high-risk downloads occur. However, the script imports the third-party 'requests' library but neither the SKILL.md nor the registry metadata documents this dependency; that may cause runtime failures or unexpected behavior if the environment lacks the library.
Credentials
The script and SKILL.md require BROWSERACT_API_KEY (a bearer token used with api.browseract.com), which is proportionate to the task. The concern is that the skill registry metadata lists no required env vars or primary credential — meaning the platform may not prompt or warn users about supplying an API key. Only a single external credential is used, which is appropriate, but the omission in metadata is a security/usability gap.
Persistence & Privilege
The skill does not request persistent privileges (always: false), does not write to system configuration, and does not attempt to modify other skills. It runs as a transient operation calling BrowserAct APIs, so privilege/persistence concerns are low.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install google-maps-search-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /google-maps-search-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: Enables automated extraction of business data from Google Maps search results using the BrowserAct API. - Supports searches by keyword, language, country, and result count. - Notifies users if a required API key is missing, expired, or invalid, and instructs on where to obtain/provide it. - Returns structured business details (name, address, rating, etc.) from Google Maps. - Includes auto-retry logic for failed tasks (excluding authorization errors), limited to one additional attempt. - Compatible with OpenCode, Claude Code, Cursor, and OpenClaw AI assistant platforms.
元数据
Slug google-maps-search-api
版本 0.1.0
许可证
累计安装 8
当前安装数 8
历史版本数 1
常见问题

Google Maps Search Api 是什么?

This skill is designed to help users automatically extract business data from Google Maps search results. When a user asks to "find coffee shops in New York," "search for dental clinics," or "extract business leads from Google Maps," the agent should proactively apply this skill. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2023 次。

如何安装 Google Maps Search Api?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install google-maps-search-api」即可一键安装,无需额外配置。

Google Maps Search Api 是免费的吗?

是的,Google Maps Search Api 完全免费(开源免费),可自由下载、安装和使用。

Google Maps Search Api 支持哪些平台?

Google Maps Search Api 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Google Maps Search Api?

由 Henk Nie(@phheng)开发并维护,当前版本 v0.1.0。

💬 留言讨论