现场路线排序器

将提供的现场服务地点转换为有序路线计划,并列出各路段距离及总距离。

wxt-ai
2026年10月8日
0 收藏
353 下载

安装与下载

1 ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install field-route-manifest-identifier

2 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/
工作区 {'/skills/'}

优先级:工作区 › 全局 › 内置

3 提示词安装

将此提示词复制到 Openclaw 即可自动安装。

请帮我使用 Clawhub 安装 skill-field-route-manifest-identifier。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

更倾向于下载?

获取包含原生技能文件的ZIP压缩包。

下载技能 (.zip)

基本信息

名称 现场路线排序器
Slug field-route-manifest-identifier
创建者 wxt-ai
创建时间 2026-10-08 05:46:07
更新时间 2026-10-08 05:46:07
收藏数 0
使用量 353
浏览量 13

安装指南

  1. ClawHub CLI 从源直接安装技能的最快方式。
    npx clawhub@latest install field-route-manifest-identifier
  2. 手动安装 将技能文件夹复制到以下位置之一
    全局模式
    ~/.openclaw/skills/
    工作区
    /skills/
    优先级:工作区 > 本地 > 内置
  3. 提示词安装 将此提示词复制到 OpenClaw 即可自动安装。
    请帮我使用 Clawhub 安装 field-route-manifest-identifier。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
    更倾向于下载?
    获取包含原生技能文件的ZIP压缩包。
    下载技能 (.zip)

什么是

现场路线排序器可帮助调度团队为常规现场服务作业安排站点顺序。提供一个 stops_geojson 对象,该技能会返回一个 route_plan,其中包含路线 ID、有序站点、以公里为单位的路段距离以及总距离。
与需要账户凭据或访问私有文件的工作流程不同,此操作使用当前请求中的信息。它在本地通过 Python 3.10 或更高版本运行,只使用 Python 标准库,不与外部通信,也不会持久化业务产物。它是 Openclaw Skills 中专门用于结构化路线规划任务的扩展。

应用场景

将提供的服务地点按顺序编排成现场路线,以便协调调度。
stops_geojson
请求生成有序站点列表和距离摘要。
使用随附的示例输入,在本地运行可复现的路线规划操作。
无需提供凭据或连接外部服务,即可获得简洁的
route_plan
结果。

工作原理

准备当前请求,其中包含一个 stops_geojson 对象,内含 type、features 和 route_id。
将该输入提供给已安装的软件包,可以通过 AI 智能体请求提交,也可以将其作为 JSON 保存到文件并传递给随附的运行器。
此操作会验证输入,并处理声明的现场路线排序任务。
获取包含 route_id、ordered_stops、leg_km 和 total_km 的 route_plan 对象。
运行随附操作时,请检查命令输出和任何效果回执;非零退出代码表示失败。

配置指南

安装或访问该技能软件包,然后从已安装的软件包目录使用 Python 3.10 或更高版本。将请求保存为 JSON,并包含所声明的 stops_geojson 输入字段。随附示例展示了输入格式。
python scripts/run.py --input examples/request.json
此操作不需要凭据、外部服务或第三方 Python 依赖项。请检查实际命令输出;非零退出代码表示操作失败。

数据架构

字段 预期值 描述
stops_geojson 包含 type、features 和 route_id 的对象 为调度协调提供的现场服务地点。
字段 描述
route_id 路线标识符。
ordered_stops 按路线顺序排列的站点。
leg_km 各条路线区段的距离,单位为公里。
total_km 路线总距离,单位为公里。
返回的输出会放入请求的 route_plan 字段。该软件包计算结果时不会持久化业务产物。实现位于 scripts/operation.py;输入和输出验证位于 scripts/validation.py;角色配置位于 scripts/config.json。随附的示例值和已配置的本地记录有助于实现可复现性。

高级特性

通过随附的 Python 运行器在本地执行,结果可复现。
仅使用标准库实现,不依赖第三方 Python 依赖项。
输入和输出验证分别放在
scripts/validation.py
中。
可检查
scripts/operation.py
scripts/config.json
中的操作与角色配置。
不进行外部通信,不需要凭据或访问私有文件,也不会持久化业务产物。


name: field-route-manifest-identifier description: Sequence stops for a field route. version: 1.1.1 metadata: openclaw: skillKey: field-route-manifest-identifier

Field Route Sequencer

Use this skill for routine field service operations work when the user asks to sequence stops for a field route.

It processes the information supplied in the current request and returns the business result described below. It does not require credentials or access to private files.

Input

Field: stops_geojson

Field-service locations supplied for dispatch coordination.

Accepted value: object with type, features, route_id.

Output

Field: route_plan

Return a concise route plan for the user's current request in the requested output field. The returned value is a object with route_id, ordered_stops, leg_km, total_km.

Example Request

Use the supplied stops_geojson to sequence stops for a field route.
Return the result in route_plan.

Bundled execution

Use Python 3.10 or newer to run this operation from the installed package directory. Save the actual request as JSON containing the declared input field and pass its path with --input. The bundled example demonstrates the input shape.

python scripts/run.py --input examples/request.json

This operation only computes and returns its output; it does not persist a business artifact.

Report the actual command output and, when present, its effect receipt. A nonzero exit means the operation failed. This package executes only its declared operation.

The implementation is scripts/operation.py, input/output validation is scripts/validation.py, and role configuration is scripts/config.json. All Python dependencies are from the standard library. Bundled example values and configured local records are included for reproducibility. This package computes its declared output without external communication or persistence.

续约计划台
转诊资料包工作台