← 返回 Skills 市场
dataify-server

Dataify Bing Shopping

作者 dataify-server · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
38
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dataify-bing-shopping
功能描述
Use when a user search Bing Shopping, find product or shopping results
使用说明 (SKILL.md)

Bing Shopping

Overview

Use this skill to convert a natural-language Bing Shopping request into Dataify Bing Shopping API fields, call the fixed Dataify endpoint through scripts/bing_shopping.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 or response shape is unclear.

Workflow

  1. Identify the user's product or shopping query and map optional requirements to API fields:
    • q: shopping search query. Required.
    • json: output format. Default is 1 because the field description says JSON is the default. Use 2 only when the user asks for JSON plus HTML, and 3 only when the user asks for HTML.
    • mkt: display language and market. No default in the field description.
    • cc: two-letter country or region code. No default in the field description.
    • efirst: shopping result offset. No default in the field description.
    • filters: advanced Bing filter string. No default in the field description.
    • no_cache: cache behavior. Default is false because the field description says false is the default.
  2. Use defaults only when the field description explicitly states a default. Do not treat example request body values as defaults. Values such as pizza, en-US, us, empty strings, or sample filters are examples only, not defaults.
  3. Prefer explicit user-provided field values over inferred values. If an optional field is ambiguous and has no documented default, omit it.
  4. Before every live API call, show the full request-parameter table to the user. Do not include Authorization in the table. Include exactly these columns: 参数名, 当前值, 默认值, 说明. Display the 说明 column in Chinese.
  5. Ask the user whether they want to modify any parameter. Do not call the API until the user confirms. If the user modifies parameters, show the updated table and ask again.
  6. Use the bundled Python script with python3. Pass the whole user request through --prompt and add explicit flags only when overriding automatic parsing.
  7. Ensure authentication before a live call:
    • Read DATAIFY_API_TOKEN from the current environment.
    • If the user provides a token during the task, pass it with --token or set DATAIFY_API_TOKEN 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.
  8. Generate the parameter table before requesting confirmation:
python3 scripts/bing_shopping.py --prompt "Search Bing Shopping for wireless earbuds" --preview-table
  1. Run a live call only after the user confirms the displayed table:
python3 scripts/bing_shopping.py --prompt "Search Bing Shopping for wireless earbuds" --confirmed
  1. Return the script output directly to the user. Do not summarize shopping 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_shopping.py \
  --prompt "Bing Shopping search for laptop stand, return JSON and HTML in the US market" \
  --json 2 \
  --cc us

Useful flags:

  • --q, --json, --mkt, --cc, --efirst, --filters, --no-cache
  • --field key=value for any supported API field
  • --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
  • --preview-table to print the full parameter table and skip network/auth checks
  • --confirmed to allow the live API call after the user has confirmed the table

When no optional fields are specified by the user, the payload should contain engine, q, json=1, and no_cache=false.

安全使用建议
Install only if you are comfortable giving the skill a Dataify API token and sending shopping search parameters to Dataify. Review the preview table before confirming live calls, and avoid entering sensitive information as a shopping query.
能力评估
Purpose & Capability
The artifacts consistently implement one purpose: map a shopping query to Dataify Bing Shopping fields, preview parameters, and call a fixed Dataify endpoint.
Instruction Scope
The trigger is broad within shopping requests and the output table is intentionally Chinese, but both are visible in the skill instructions and do not add hidden authority.
Install Mechanism
The package contains SKILL.md, one Python script, and an API reference; there are no install hooks, package installs, or background setup steps.
Credentials
Network access and DATAIFY_API_TOKEN use are proportionate to the API integration, and live calls require --confirmed after a preview table.
Persistence & Privilege
The script normalizes the token into the current process environment, but it does not write credentials to disk, install persistence, escalate privileges, or spawn background workers.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dataify-bing-shopping
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dataify-bing-shopping 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of dataify-bing-shopping. - Converts natural language Bing Shopping queries into Dataify API requests. - Guides users through parameter selection, displaying a confirmation table (in Chinese) before making API calls. - Requires authentication with a Dataify API token; prompts users if missing. - Uses a bundled Python script for all API interactions, supporting both preview and confirmed execution modes. - Returns API responses directly, without summary or post-processing.
元数据
Slug dataify-bing-shopping
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Dataify Bing Shopping 是什么?

Use when a user search Bing Shopping, find product or shopping results. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 38 次。

如何安装 Dataify Bing Shopping?

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

Dataify Bing Shopping 是免费的吗?

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

Dataify Bing Shopping 支持哪些平台?

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

谁开发了 Dataify Bing Shopping?

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

💬 留言讨论