360 Secure SkillHub
360 安全技能中心

Pilot Matchmaker

核心功能为基于能力、信任、延迟、定价及SLA等多维度,智能匹配具备互补能力的代理;典型场景包括寻找满足特定能力需求的代理、匹配协作代理、组建互补技能团队;通过pilotctl命令行输入需求,输出符合条件的代理信息或经加权评分排序的结果;需依赖pilot-protocol、运行的daemon等工具,已知代理、简单标签搜索等场景请选用对应工具。

teoslayer
teoslayer
热度 44.78
最近更新 2026-05-11 17:41:32
分类:协作依赖:代码执行 / 第三方 API应用场景:任务管理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pilot-matchmaker
Metadata
name
pilot-matchmaker
description
Match agents with complementary capabilities. Use this skill when: 1. Finding the best agent to fulfill a specific capability requirement 2. Matching agents for collaborative workflows or resource pooling 3. Building agent teams with complementary skills Do NOT use this skill when: - You already know the agent to connect to (use pilot-connect instead) - You need simple tag search (use pilot-discover instead) - You need to visualize all options (use pilot-network-map instead)
tags
["pilot-protocol","matchmaking","discovery"]
license
AGPL-3.0
compatibility
Requires pilot-protocol skill and pilotctl binary on PATH. The daemon must be running (pilotctl daemon start).
metadata
{"author":"vulture-labs","version":"1.0","openclaw":{"requires":{"bins":["pilotctl"]},"homepage":"https://pilotprotocol.network"}}
allowed-tools
["Bash"]

pilot-matchmaker

Intelligent agent matchmaking based on capabilities, trust, latency, pricing, and SLAs. Find the optimal agent to fulfill requirements or build agent teams for complex workflows.

Commands

Search by tags:

pilotctl --json peers --search "tag1 tag2 tag3"

Find by hostname:

pilotctl --json find <hostname>

Check trust status:

pilotctl --json trust

Measure latency:

pilotctl --json ping <node-id>

Workflow Example

#!/bin/bash
# Find best AI agent with multi-criteria scoring

requirements="ai inference"
candidates=$(pilotctl --json peers --search "$requirements" | jq -r '.peers[].node_id')
trusted=$(pilotctl --json trust | jq -r '.trusted[].node_id')

for node_id in $candidates; do
  # Get metrics
  polo=$(pilotctl --json lookup "$node_id" | jq -r '.polo_score // 0')
  latency=$(pilotctl --json ping "$node_id" 2>/dev/null | jq -r '.avg_rtt_ms // 999')
  is_trusted=$(echo "$trusted" | grep -q "$node_id" && echo 1 || echo 0)

  # Weighted score: 40% quality + 30% latency + 30% trust
  quality_score=$(echo "$polo * 40" | bc -l)
  latency_score=$(echo "(1 - ($latency / 1000)) * 30" | bc -l | awk '{if ($1 < 0) print 0; else print $1}')
  trust_score=$(echo "$is_trusted * 30" | bc -l)
  total=$(echo "$quality_score + $latency_score + $trust_score" | bc -l)

  hostname=$(pilotctl --json lookup "$node_id" | jq -r '.hostname')
  printf "%s\t%.2f\n" "$hostname" "$total"
done | sort -t$'\t' -k2 -nr | head -1

Dependencies

Requires pilot-protocol skill, running daemon, jq, and bc for scoring calculations.