← 返回 Skills 市场
dataify-server

Dataify Bing Search

作者 dataify-server · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
46
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dataify-bing-search
功能描述
Use when a user ask run a Bing web search
使用说明 (SKILL.md)

Bing Search

Overview

Use this skill to turn a natural-language Bing search request into Dataify Bing Search API fields, call the API through scripts/bing_search.py, and return the API response directly to the user without summarizing, parsing, or post-processing it.

The source API document is summarized in references/api.md. Read it when field behavior, allowed values, or response shape is unclear.

Workflow

  1. Identify the user's actual search query and map requirements to API fields:
    • q: search terms. Required.
    • json: output format. Default to 1 for JSON when the user does not specify an output format. Use 2 for JSON plus HTML, 3 for HTML.
    • location: named geographic search origin.
    • lat and lon: GPS search origin.
    • mkt: display language and market, such as zh-CN or en-US. Do not pass it unless the user asks for a market/language.
    • cc: two-letter country or region code, such as us, cn, jp, uk. Do not pass it unless the user asks for a country/region.
    • first: organic result offset. Default to 1 when the user does not specify it.
    • safeSearch: Off, Moderate, or Strict.
    • filters: advanced Bing filter string.
    • no_cache: true to bypass cache, false to use cache. Default to false when the user does not specify it.
  2. Apply defaults only when the parameter description states a default. Current defaults from the API description are engine=bing, q=pizza, json=1, first=1, and no_cache=false. Do not treat body examples such as location=India, lat=1, lon=1, mkt=zh-cn, or cc=AR as defaults.
  3. Prefer explicit user-provided field values over inferred values. If the user asks for a concrete search, replace the documented default q=pizza with the user's actual query.
  4. Before every live API call, show the user a complete request parameter table and ask whether to modify it. Do not show Authorization. Use:
python3 scripts/bing_search.py --prompt "\x3Cuser request>" --show-params

The table must include exactly these columns: parameter name, current value, default value, and description. Wait for user confirmation before calling the API. 5. Use the bundled Python script with python3. Pass the whole user request through --prompt and add explicit flags for any fields that should override automatic parsing. 6. Ensure authentication before a live call:

  • Read DATAIFY_API_TOKEN from the current environment.
  • If the user provides a token during the task, set DATAIFY_API_TOKEN in the environment for the command before invoking the script.
  • The script adds a Bearer prefix when the token does not already include one.
  • If no token is available, the script exits with a Chinese prompt; ask the user to input a Dataify API token or register at Dataify Dashboard.
  1. Run a dry run when you need to inspect parsed payload JSON without calling the API:
python3 scripts/bing_search.py --prompt "Search Bing for current OpenAI news, return JSON and HTML" --dry-run
  1. Run a live call only after the user confirms the parameter table:
python3 scripts/bing_search.py --prompt "Search Bing for current OpenAI news, return JSON and HTML"
  1. Return the script output directly to the user. Do not summarize the search results, extract fields, reformat JSON, parse embedded JSON strings, or process returned HTML unless the user separately asks for processing.

Script Usage

The script supports automatic parsing plus explicit overrides:

python3 scripts/bing_search.py \
  --prompt "Find current OpenAI news, return JSON and HTML" \
  --no-cache true

Useful flags:

  • --q, --json, --location, --lat, --lon, --mkt, --cc, --first, --safeSearch, --filters, --no-cache
  • --field key=value for any supported API field
  • --url to override the fixed endpoint only when explicitly needed for debugging
  • --token to provide a token for the current run
  • --body-format form|json, default form
  • --dry-run to print the parsed payload and skip network/auth checks
  • --show-params to print the complete pre-call parameter table and exit

If a live call fails because DATAIFY_API_TOKEN is missing, ask the user to provide a token or register at Dataify Dashboard.

安全使用建议
Review before installing. Only use this skill if you are comfortable with queries and optional location data going to the named third-party service, and do not configure sensitive API tokens unless the URL override is removed or strictly allowlisted.
能力评估
Purpose & Capability
A Bing search integration can reasonably use network access and an API token, but allowing the destination URL to be overridden is broader than the stated search purpose.
Instruction Scope
The activation and usage appear broad for a tool that sends queries and optional location data to an external service, with insufficient user-facing disclosure.
Install Mechanism
The scanner reports environment-held authentication and outbound network use without corresponding declared runtime permissions, creating an install-time transparency gap.
Credentials
Forwarding search terms, market/location fields, coordinates, and a bearer token is sensitive; sending that token to a user-specified URL would be disproportionate for a search helper.
Persistence & Privilege
No persistence, background worker, destructive action, or privilege escalation is indicated, but the credential-bearing network authority still requires review.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dataify-bing-search
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dataify-bing-search 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of dataify-bing-search skill: - Transforms natural-language Bing search requests into Dataify Bing Search API fields. - Guides users through search parameter mapping, showing a modifiable parameter table before each API call. - Supports default values and explicit overrides for all API fields. - Ensures users provide a valid Dataify API token before live requests. - Delivers API responses directly, without modifying or summarizing the output.
元数据
Slug dataify-bing-search
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Dataify Bing Search 是什么?

Use when a user ask run a Bing web search. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 46 次。

如何安装 Dataify Bing Search?

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

Dataify Bing Search 是免费的吗?

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

Dataify Bing Search 支持哪些平台?

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

谁开发了 Dataify Bing Search?

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

💬 留言讨论