← 返回 Skills 市场
dataify-server

Dataify Bing Maps

作者 dataify-server · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
40
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dataify-bing-maps
功能描述
When the user uses Bing Maps to search for locations or view maps, this skill is executed
使用说明 (SKILL.md)

Bing Maps

Overview

Use this skill to convert a natural-language Bing Maps request into Dataify Bing Maps API fields, call the fixed Dataify endpoint through scripts/bing_maps.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 map/place query and map optional requirements to API fields:
    • q: Bing Maps 搜索关键词。必填。
    • json: 输出格式。用户未指定输出格式时默认使用 12 表示 JSON+HTML,3 表示 HTML。
    • cp: 查询中心点 GPS 坐标,格式为 纬度~经度。仅当用户提供坐标时传入。
    • setlang: 两位语言/地区值,例如 usdegb。仅当用户要求语言/地区时传入。
    • place_id: Bing Maps 地点唯一引用。仅当用户提供地点 ID 时传入。
    • first: 本地结果偏移量。参数说明写明默认值为 0,因此用户未指定时使用 0
    • count: 每页建议返回结果数量。最大值为 30,但最大值不是默认值。仅当用户要求结果数量时传入。
    • no_cache: true 表示跳过缓存,false 表示使用缓存。参数说明写明默认值为 false,因此用户未指定时使用 false
  2. Prefer explicit user-provided field values over inferred values.
  3. Use defaults from the parameter descriptions when the user does not specify a value:
    • engine: bing_maps
    • json: 1
    • first: 0
    • no_cache: false
    • No defaults for q, cp, setlang, place_id, or count.
  4. Never treat documentation examples as defaults. Do not add sample values such as coordinates, setlang=us, or count=30 unless the user explicitly requested that field.
  5. Before every live API call, show the user a Markdown table containing the complete field list, excluding Authorization. The table must have only these columns: 参数名, 当前值, 默认值, 说明. The 说明 column must be Chinese. Ask whether the user wants to modify anything. Do not call the API until the user confirms.
  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 confirmation table before a live call:
python3 scripts/bing_maps.py --prompt "JiangSu" --params-table
  1. Run a dry run when you need machine-readable parsing output without calling the API:
python3 scripts/bing_maps.py --prompt "JiangSu" --dry-run

Expected dry-run payload:

{
  "engine": "bing_maps",
  "q": "JiangSu",
  "json": "1",
  "first": "0",
  "no_cache": "false"
}
  1. Run a live call only after token is available and the user confirms the parameter table. Add --confirmed; the script refuses live calls without it:
python3 scripts/bing_maps.py --prompt "JiangSu" --confirmed
  1. Return the script output directly to the user. Do not summarize map 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_maps.py \
  --prompt "搜索JiangSu,并返回 JSON 和 HTML" \
  --json 2

Useful flags:

  • --q, --json, --cp, --lat, --lon, --setlang, --place-id, --first, --count, --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
  • --params-table to print the required pre-call Markdown parameter table and skip network/auth checks
  • --dry-run to print the parsed payload and skip network/auth checks
  • --confirmed to allow a live API call after the user confirms the parameter table

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

安全使用建议
Before installing, understand that confirmed map searches, coordinates, place IDs, and your Dataify token are sent to Dataify's API. Review the displayed parameter table before confirming, especially for sensitive home, work, or travel locations.
能力评估
Purpose & Capability
The artifacts consistently support the stated purpose: parse Bing Maps search requests, map them to Dataify API fields, and call the fixed Dataify endpoint.
Instruction Scope
The activation description is broad for Bing Maps usage, but the workflow and script require a parameter table and explicit confirmation before any live API call.
Install Mechanism
The package contains a SKILL.md file, one Python helper script, and an API reference; no dependency installation, installer hooks, or hidden setup behavior were found.
Credentials
Network access and a Dataify API token are expected for this integration; the script sends only the mapped request fields and Authorization header to the documented Dataify endpoint.
Persistence & Privilege
No durable persistence, background execution, privilege escalation, local indexing, or file mutation behavior was found; setting DATAIFY_API_TOKEN occurs only in the current process environment.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dataify-bing-maps
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dataify-bing-maps 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the dataify-bing-maps skill. - Converts natural-language Bing Maps requests to Dataify Bing Maps API fields and calls the bundled script. - Always displays a full Markdown table of API parameters for user confirmation before live calls. - Supports environment-based authentication and prompts for a Dataify API token if not set. - Directly returns API responses to the user with no additional processing or summarization. - Enforces safe defaults and strictly maps only explicit user input to optional fields.
元数据
Slug dataify-bing-maps
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Dataify Bing Maps 是什么?

When the user uses Bing Maps to search for locations or view maps, this skill is executed. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 40 次。

如何安装 Dataify Bing Maps?

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

Dataify Bing Maps 是免费的吗?

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

Dataify Bing Maps 支持哪些平台?

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

谁开发了 Dataify Bing Maps?

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

💬 留言讨论