📦 Pilot — 飞行员

v1.0.0

Agent Marketplace Setup 部署一个包含 4 个 agent 的去中心化 agent 市场。 在以下场景使用此技能: 1. 用户希望搭建 agent 能力市场 2. 用户正在配置...

1· 1·0 当前·0 累计
teoslayer 头像by @teoslayer (Calin Teodor)
下载技能包
最后更新
2026/4/23
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
该技能内部一致:其描述、所需二进制文件和运行时指令保持一致,不会请求无关凭据或异常安装;但你应在部署前审查 clawhub 将安装的各个技能及其握手/信任行为。
评估建议
该技能在部署 4 节点 Pilot marketplace 时显得一致。运行前请:(1) 确认你信任 clawhub 与 pilotctl 二进制文件,并了解 clawhub install 会拉取什么(检查源码或先干跑);(2) 先在专用主机或隔离测试环境执行 setup;(3) 审查所有传递技能(特别是 escrow、webhook-bridge、audit-log)所需的凭证或外部端点;(4) 根据安全策略核验自动握手/信任行为及网络端口(1002)暴露。...
详细分析 ▾
用途与能力
名称/描述(部署一个包含4个代理的市场)与说明一致。声明所需的二进制文件(pilotctl、clawhub)正是 SKILL.md 命令中使用的工具,所列待安装的技能也与描述的角色对应。
指令范围
说明严格限定在所述范围内:通过 clawhub 安装列出的 pilot-* 技能,用 pilotctl 设置主机名,将清单写入 ~/.pilot/setups/agent-marketplace.json,并执行成对握手。注意事项:本指南会写入用户主目录(~/.pilot),进行网络握手(提及自动批准信任行为),并依赖运行中的守护进程——请确认自动握手/信任语义及所用网络端口在您的环境中可接受。
安装机制
这是一个仅提供指令的技能(无安装规范),因此技能本身不会写入任何内容。它指示运行 clawhub install,这正是其预期用途。注意:clawhub 会获取/启用许多传递性技能;请分别审查这些技能的安装来源及风险。
凭证需求
此技能不会请求任何环境变量或凭据。无密钥的设计与编排/设置指南相符。不过,部分即将安装的传递性技能(如 pilot-escrow、pilot-webhook-bridge 等)后续可能需要凭据——请逐一检查。
持久化与权限
always 为 false,默认禁用模型调用;该 skill 会在 ~/.pilot 写入 manifest,并通过 pilotctl 设置 hostname(符合 setup 预期)。它不会请求提升平台权限,也不会通过 clawhub 安装之外的方式修改其他 skill 的配置。
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/4/23

首次发布

无害

安装命令

点击复制
官方npx clawhub@latest install pilot-agent-marketplace-setup
镜像加速npx clawhub@latest install pilot-agent-marketplace-setup --registry https://cn.longxiaskill.com

技能文档

部署4个agent:directory、matchmaker、escrow、gateway。

角色

| 角色 | 主机名 | 技能 | 用途 | |------------|----------------------|----------------------------------------------------------------------|--------------------| | directory | -directory | pilot-directory, pilot-announce-capabilities, pilot-discover, pilot-reputation | 能力注册表 | | matchmaker | -matchmaker| pilot-matchmaker, pilot-auction, pilot-priority-queue, pilot-audit-log | 请求与供给匹配 | | escrow | -escrow | pilot-escrow, pilot-receipt, pilot-audit-log, pilot-webhook-bridge | 交易结算 | | gateway | -gateway | pilot-api-gateway, pilot-health, pilot-load-balancer, pilot-metrics | 公共API入口 |

部署流程

步骤1: 询问用户角色与前缀。 步骤2: 安装技能: ``bash # directory: clawhub install pilot-directory pilot-announce-capabilities pilot-discover pilot-reputation # matchmaker: clawhub install pilot-matchmaker pilot-auction pilot-priority-queue pilot-audit-log # escrow: clawhub install pilot-escrow pilot-receipt pilot-audit-log pilot-webhook-bridge # gateway: clawhub install pilot-api-gateway pilot-health pilot-load-balancer pilot-metrics ` 步骤3: 设置主机名并将清单写入~/.pilot/setups/agent-marketplace.json步骤4: 握手:gateway↔matchmaker↔directory,matchmaker↔escrow↔directory,gateway↔directory。

各角色清单模板

directory

`json { "setup": "agent-marketplace", "role": "directory", "role_name": "Capability Directory", "hostname": "-directory", "skills": { "pilot-directory": "维护agent能力注册表。", "pilot-announce-capabilities": "接收能力公告。", "pilot-discover": "向matchmaker提供能力查询服务。", "pilot-reputation": "记录已完成交易的信誉分。" }, "handshakes_needed": ["-matchmaker", "-escrow", "-gateway"] } `

matchmaker

`json { "setup": "agent-marketplace", "role": "matchmaker", "role_name": "Request Matchmaker", "hostname": "-matchmaker", "skills": { "pilot-matchmaker": "将请求与有能力的服务者匹配。", "pilot-auction": "当多个服务者匹配时运行竞争性拍卖。", "pilot-priority-queue": "按紧急程度排队请求。", "pilot-audit-log": "记录所有匹配决策。" }, "handshakes_needed": ["-directory", "-escrow", "-gateway"] } `

escrow

`json { "setup": "agent-marketplace", "role": "escrow", "role_name": "Transaction Escrow", "hostname": "-escrow", "skills": { "pilot-escrow": "任务完成前托管付款。", "pilot-receipt": "出具结算收据。", "pilot-audit-log": "记录所有交易。", "pilot-webhook-bridge": "结算时通知外部系统。" }, "handshakes_needed": ["-matchmaker", "-directory"] } `

gateway

`json { "setup": "agent-marketplace", "role": "gateway", "role_name": "Marketplace Gateway", "hostname": "-gateway", "skills": { "pilot-api-gateway": "接收外部任务请求。", "pilot-health": "监控市场健康状态。", "pilot-load-balancer": "在matchmaker副本间负载均衡。", "pilot-metrics": "跟踪市场吞吐量与延迟。" }, "handshakes_needed": ["-directory", "-matchmaker"] } `

数据流

  • gateway → matchmaker:传入任务请求(端口1002)
  • matchmaker → directory:能力查询(端口1002)
  • matchmaker → escrow:托管发起(端口1002)
  • escrow → directory:信誉更新(端口1002)
  • gateway → directory:发现查询(端口1002)

工作流示例

`bash # 在gateway上: pilotctl --json publish -matchmaker capability-request '{"need":"image-classification","budget":50}'

# 在matchmaker上: pilotctl --json publish -directory discover-capability '{"capability":"image-classification"}'

# 在matchmaker上: pilotctl --json publish -escrow escrow-create '{"provider":"img-classifier","amount":30}'

# 在escrow上: pilotctl --json publish -directory reputation-update ``

数据来源ClawHub ↗ · 中文优化:龙虾技能库