← Back to Skills Marketplace
dataify-server

Dataify Google Local

by dataify-server · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
37
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install dataify-google-local
Description
When the user requests "call Google Local" or "local search/nearby search/place search", or explicitly mentions the local search field, the dataify-google-lo...
README (SKILL.md)

Dataify Google Local

Use this skill to turn a user's Google Local request into a Dataify Scraper API form POST.

Required Pre-Call Confirmation

Before every real API call, follow this confirmation flow. These rules override any older workflow order in this skill.

  1. Parse the user's request into the API body fields and fixed engine value.
  2. Apply defaults only when the parameter description explicitly states a default. Do not use example YAML values, sample prompts, placeholder values, or examples such as pizza, us, en, dates, airport codes, or tokens as defaults.
  3. If a required parameter has no documented default and cannot be inferred from the user request, ask for that parameter before building the table.
  4. Show a Markdown table before calling the API. Do not include Authorization. Include the complete body field list from this skill's reference document, including engine, even when a field is currently blank.
  5. The table must have exactly these columns: 参数名, 当前值, 默认值, 说明.
  6. After the table, ask the user whether they want to modify any parameter. Do not call the API until the user explicitly confirms.
  7. If the user changes a parameter, regenerate the table and ask for confirmation again.
  8. If the token is missing, stop and tell the user to sign in at Dataify Dashboard to obtain DATAIFY_API_TOKEN.

Use the bundled preview helper whenever possible to generate the confirmation table from this skill's reference document:

python3 scripts/preview_params.py --params-json '{"q":"USER_QUERY"}'

Pass every parsed current value to preview_params.py using --params-json or matching --field value arguments. The helper reads defaults and descriptions from references/*api.md; if the helper cannot parse a default, leave the default blank rather than inventing one. 9. After confirmation and token handling, call the bundled Python script with python3 and return the API response body directly without summarizing, extracting, cleaning, translating, or reshaping it.

Workflow

  1. Parse the user's request into Google Local fields. Always set engine to the fixed value google_local.
  2. Before every API call, show the user a complete parameter preview in the visible conversation with all documented parameters, including fields that are not assigned. Include each field's current value, documented default, and description. Do not treat examples or allowed values as defaults. Prefer running python3 scripts/google_local.py ... --preview-params --preview-format markdown after parsing the request and pasting that Markdown table into the chat.
  3. After showing the table, ask the user whether to modify any parameters or confirm the call. Do not call the API until the user explicitly confirms. Accept confirmations such as 确认, 可以, 继续, 调用, yes, or go.
  4. If the token is missing, stop and tell the user to sign in at Dataify Dashboard to obtain DATAIFY_API_TOKEN.
  5. Build request parameters with the fields the user requested plus documented defaults only: engine: "google_local", json: "1", google_domain: "google.com", and no_cache: "false". Omit optional fields that the user did not request and that have no documented default.
python3 scripts/google_local.py --q "coffee shops" --location "New York" --gl us --hl en

For many fields, pass one JSON object with shell-appropriate quoting:

python3 scripts/google_local.py --params-json '{"q":"coffee shops","location":"New York","gl":"us","hl":"en"}'

PowerShell may need the quotes escaped:

python3 scripts/google_local.py --params-json '{\"q\":\"coffee shops\",\"location\":\"New York\",\"gl\":\"us\",\"hl\":\"en\"}'

To let the script parse a natural-language request:

python3 scripts/google_local.py --request "搜索纽约咖啡店,语言英文,地区美国,不走缓存"

If the user provided a token in the conversation, pass it with --token and avoid echoing it back:

python3 scripts/google_local.py --token "USER_TOKEN" --q "coffee shops" --location "New York"
  1. Return the script output directly to the user. Do not summarize, extract, clean, translate, or reshape the API response.

Parameter Notice

When using this skill, show this concise parameter list before making the API call, or run python3 scripts/google_local.py --describe-params and relay that output:

Field Required Default Description
Authorization yes none Dataify API token in the request header. If the token does not start with Bearer , the script adds it.
engine yes google_local Fixed engine value for Google Local.
q yes none Search query content.
json yes 1 Output format. 1 = JSON, 2 = JSON+HTML, 3 = HTML, 4 = Light JSON.
google_domain no google.com Google domain to use.
gl no none Two-letter Google country/region code, such as us, uk, or fr.
hl no none Google interface/search language code, such as en, es, or fr.
location no none Geographic location where the search originates.
uule no none Google encoded location. Do not use with location; prefer explicit uule if both are present.
start no none Result offset for pagination.
ludocid no none Google place CID/customer identifier.
tbs no none Advanced search parameter not represented by the regular query field.
no_cache no false true bypasses cache; false uses cached results when available.

For an actual request, show a complete preview instead of only the assigned request payload:

python3 scripts/google_local.py --q "coffee shops" --location "New York" --preview-params --preview-format markdown

The preview output must include unset fields such as gl, hl, uule, start, ludocid, and tbs when the user did not provide them. After pasting the preview table, ask: 请确认是否按以上参数调用接口,或告诉我要修改哪些字段。

Field Mapping

Use references/google_local_api.md when exact parameter wording is needed.

Core rules:

  • Always submit the API request as form data with Content-Type: application/x-www-form-urlencoded.
  • Always force engine to google_local.
  • Keep request values as strings unless the script accepts and normalizes a boolean.
  • Omit optional fields that the user did not request unless the field has a documented default.
  • Ask a follow-up only when the required search query q cannot be inferred.
  • If both location and uule are present, prefer the explicit uule and omit location.
  • Normalize token values in the script. A token without Bearer is accepted and prefixed automatically.

Common mappings:

  • "JSON" -> json: "1"
  • "JSON+HTML" -> json: "2"
  • "HTML" -> json: "3"
  • "Light JSON" -> json: "4"
  • country or region for Google behavior -> gl
  • interface/search language -> hl
  • named search origin -> location
  • encoded location -> uule
  • page number N -> start: String((N - 1) * 10)
  • Google place CID -> ludocid
  • advanced search filters -> tbs
  • bypass/no cache -> no_cache: "true"
Usage Guidance
Review before installing. Use this only when you intentionally want Dataify Google Local API calls, prefer DATAIFY_API_TOKEN over passing tokens on the command line, and make sure the confirmation table and prompt are understandable before approving any call.
Capability Tags
requires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The skill coherently maps user Google Local search requests to Dataify Scraper API form POSTs and discloses the external endpoint, required token, request fields, defaults, and raw response behavior.
Instruction Scope
Activation is broad enough to catch generic local, nearby, or place search wording, and the required confirmation table and final prompt are hard-coded in Chinese, which can make consent unclear for users who do not read Chinese.
Install Mechanism
The package contains markdown instructions, a reference document, and two Python helper scripts; there are no package installs, dependency downloads, or installer-side execution steps.
Credentials
Network access to Dataify and use of a Dataify API token are expected for the stated purpose, and the script only posts normalized request parameters to the documented endpoint after confirmation.
Persistence & Privilege
The instructions show passing the API token via a command-line argument, which can expose credentials through process listings or shell history; the script also copies the token into the current process environment but does not persist it to disk.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dataify-google-local
  3. After installation, invoke the skill by name or use /dataify-google-local
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of dataify-google-local skill: - Triggers on user requests for Google Local or explicit mention of local search fields. - Confirms all parameters with the user via a Markdown table before every API call, overriding prior workflows. - Uses bundle-supplied scripts and preview helpers for parameter extraction and confirmation. - Only applies defaults documented in parameter descriptions; does not use placeholder, sample, or example values. - Stops and prompts the user to obtain a DATAIFY_API_TOKEN if missing. - Returns API responses directly, without interpreting, summarizing, or transforming output.
Metadata
Slug dataify-google-local
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Dataify Google Local?

When the user requests "call Google Local" or "local search/nearby search/place search", or explicitly mentions the local search field, the dataify-google-lo... It is an AI Agent Skill for Claude Code / OpenClaw, with 37 downloads so far.

How do I install Dataify Google Local?

Run "/install dataify-google-local" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Dataify Google Local free?

Yes, Dataify Google Local is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Dataify Google Local support?

Dataify Google Local is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Dataify Google Local?

It is built and maintained by dataify-server (@dataify-server); the current version is v1.0.0.

💬 Comments