Dataify Bing Maps
/install dataify-bing-maps
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
- Identify the user's map/place query and map optional requirements to API fields:
q: Bing Maps 搜索关键词。必填。json: 输出格式。用户未指定输出格式时默认使用1;2表示 JSON+HTML,3表示 HTML。cp: 查询中心点 GPS 坐标,格式为纬度~经度。仅当用户提供坐标时传入。setlang: 两位语言/地区值,例如us、de、gb。仅当用户要求语言/地区时传入。place_id: Bing Maps 地点唯一引用。仅当用户提供地点 ID 时传入。first: 本地结果偏移量。参数说明写明默认值为0,因此用户未指定时使用0。count: 每页建议返回结果数量。最大值为30,但最大值不是默认值。仅当用户要求结果数量时传入。no_cache:true表示跳过缓存,false表示使用缓存。参数说明写明默认值为false,因此用户未指定时使用false。
- Prefer explicit user-provided field values over inferred values.
- Use defaults from the parameter descriptions when the user does not specify a value:
engine:bing_mapsjson:1first:0no_cache:false- No defaults for
q,cp,setlang,place_id, orcount.
- Never treat documentation examples as defaults. Do not add sample values such as coordinates,
setlang=us, orcount=30unless the user explicitly requested that field. - 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. - Use the bundled Python script with
python3. Pass the whole user request through--promptand add explicit flags only when overriding automatic parsing. - Ensure authentication before a live call:
- Read
DATAIFY_API_TOKENfrom the current environment. - If the user provides a token during the task, pass it with
--tokenor setDATAIFY_API_TOKENfor the command before invoking the script. - The script adds a
Bearerprefix 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.
- Read
- Generate the confirmation table before a live call:
python3 scripts/bing_maps.py --prompt "JiangSu" --params-table
- 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"
}
- 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
- 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=valuefor any supported API field--tokento provide a token for the current run--body-format form|json, defaultform--params-tableto print the required pre-call Markdown parameter table and skip network/auth checks--dry-runto print the parsed payload and skip network/auth checks--confirmedto 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.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dataify-bing-maps - 安装完成后,直接呼叫该 Skill 的名称或使用
/dataify-bing-maps触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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。