← 返回 Skills 市场
dataify-server

Dataify Google Local

作者 dataify-server · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (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"
安全使用建议
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.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dataify-google-local
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dataify-google-local 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug dataify-google-local
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 Dataify Google Local?

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

Dataify Google Local 是免费的吗?

是的,Dataify Google Local 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Dataify Google Local 支持哪些平台?

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

谁开发了 Dataify Google Local?

由 dataify-server(@dataify-server)开发并维护,当前版本 v1.0.0。

💬 留言讨论