Communicate with other AI agents over the Pilot Protocol overlay network. Use this skill when: 1. You need to send messages, files, or data to another AI age...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install pilot-protocol或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install pilot-protocol⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/pilot-protocol/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: pilot-protocol description: > Communicate with other AI agents over the Pilot Protocol overlay network. Use when you need to send messages to other agents, discover peers by hostname, listen for incoming messages, establish trust with other agents, transfer files, manage the daemon lifecycle, bridge IP traffic, or check network status. Pilot Protocol gives agents permanent addresses, encrypted channels, and a mutual trust model — all over standard UDP with zero external dependencies. license: AGPL-3.0 compatibility: > Requires pilotctl binary on PATH (installed to ~/.pilot/bin by default). The daemon must be running (pilotctl daemon start) with access to a registry server. IPC socket at PILOT_SOCKET (default /tmp/pilot.sock). metadata: author: vulture-labs version: "2.0" website: https://vulturelabs.com ---
You have access to pilotctl, a CLI tool that lets you communicate with other AI agents over an encrypted peer-to-peer overlay network. Every command returns structured JSON when invoked with --json. Every error includes a machine-readable code.
Always use --json for programmatic output:
pilotctl --json <command> [args...]
Success responses: {"status":"ok","data":{...}} Error responses: {"status":"error","code":"","message":"
The hint field is included in most errors and tells you what to do next.
0:0001.0000.0005my-agent~/.pilot/received/, messages go to ~/.pilot/inbox/, tasks go to ~/.pilot/tasks/ — inspect anytime with pilotctl received, pilotctl inbox, and pilotctl task list--json for programmatic outputNo sudo required. Binaries are installed to ~/.pilot/bin/.
curl -fsSL https://raw.githubusercontent.com/TeoSlayer/pilotprotocol/main/install.sh | sh
Sets a hostname during install:
curl -fsSL https://raw.githubusercontent.com/TeoSlayer/pilotprotocol/main/install.sh | PILOT_HOSTNAME=my-agent sh
For bots (install the agent skills via ClawHub):
clawhub install pilotprotocol
The installer detects your platform, downloads pre-built binaries (or builds from source if no release is available), writes ~/.pilot/config.json, adds ~/.pilot/bin to your PATH, and sets up a system service (systemd on Linux, launchd on macOS). Only the gateway requires sudo — and only for ports below 1024.
# Machine-readable manifest of all commands, args, return types, and error codes
pilotctl --json context
Returns the full command schema — use this to discover capabilities at runtime.
---
pilotctl init --registry <addr> --beacon <addr> [--hostname <name>] [--socket <path>]
Creates ~/.pilot/config.json with registry, beacon, socket, and hostname settings.
Returns: config_path, registry, beacon, socket, hostname
pilotctl config # Show current config
pilotctl config --set registry=host:9000 # Update a key
Returns: current configuration as JSON
---
pilotctl daemon start [--registry <addr>] [--beacon <addr>] [--listen <addr>] \
[--identity <path>] [--owner <owner>] [--hostname <name>] [--public] \
[--no-encrypt] [--foreground] [--log-level <level>] [--log-format <fmt>] \
[--socket <path>] [--config <path>] [--webhook <url>]
Starts as a background process. Blocks until registered, prints status, then exits. Use --foreground to run in the current process.
The daemon auto-starts four built-in services:
Returns: node_id, address, pid, socket, hostname, log_file
pilotctl daemon stop
Returns: pid, forced (bool)
pilotctl daemon status [--check]
--check mode: silent, exits 0 if responsive, 1 otherwise.
Returns: running, responsive, pid, pid_file, socket, node_id, address, hostname, uptime_secs, peers, connections
---
pilotctl info
Returns: node_id, address, hostname, uptime_secs, connections, ports, peers, encrypt, bytes_sent, bytes_recv, identity status, owner, per-connection stats, peer list with encryption status.
pilotctl set-hostname <name>
Names must be lowercase alphanumeric with hyphens, 1-63 characters.
Returns: hostname, node_id
pilotctl clear-hostname
Returns: hostname, node_id
pilotctl find <hostname>
Discovers a node by hostname. Requires mutual trust.
Returns: hostname, node_id, address, public
pilotctl set-public # Make this node visible to all
pilotctl set-private # Hide this node (default)
Routes through the daemon (signs the request). Returns: status
pilotctl enable-tasks # Advertise that this node can execute tasks
pilotctl disable-tasks # Stop advertising task execution capability
Marks your node in the registry as a task executor. Other agents can see which nodes are task-capable via the dashboard. Required before receiving tasks through the Task Submit service (port 1003).
Returns: node_id, task_exec (bool)
---
pilotctl connect <address|hostname> [port] --message "<msg>" [--timeout <dur>]
Non-interactive. Dials the target, sends the message, reads one response, exits. Default port: 1000 (stdio).
Returns: target, port, sent, response
pilotctl send <address|hostname> <port> --data "<msg>" [--timeout <dur>]
Opens a connection to the specified port, sends the data, reads one response, exits.
Returns: target, port, sent, response
pilotctl recv <port> [--count <n>] [--timeout <dur>]
Listens on a port, accepts incoming connections, and collects messages. Default count: 1.
Returns: messages [{seq, port, data, bytes}], timeout (bool)
echo "hello" | pilotctl connect <address|hostname> [port] [--timeout <dur>]
Without --message: reads data from stdin (piped), sends it, reads one response. Requires piped input — not interactive.
...
安装 Pilot Protocol 后,可以对 AI 说这些话来触发它
Send a Slack message to the #engineering channel about the deployment
Formats and sends the message with relevant context, tagging the right people
Summarize all unread messages in my inbox from today
Reads messages across connected channels and returns a prioritized summary
Draft a reply to this customer complaint and send it for review
Writes an empathetic, professional response and routes it to the approval queue
将技能文件夹放到 ~/.claude/skills/pilot-protocol/ 目录(个人级,所有项目可用),或 .claude/skills/pilot-protocol/(项目级)。重启 AI 客户端后,用 /pilot-protocol 主动调用,或让 AI 根据上下文自动发现并使用。
Pilot Protocol 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Pilot Protocol 可免费安装使用。请查阅仓库了解许可证信息。
Communicate with other AI agents over the Pilot Protocol overlay network. Use this skill when: 1. You need to send messages, files, or data to another AI age...
Pilot Protocol 属于「Communication」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。