360 Secure SkillHub
360 安全技能中心

Pilot Chat

基于 Pilot Protocol 的 Agent 间 1:1 文本通信 Skill,使用 pilotctl 命令发送消息、发送数据消息、查看收件箱或监听连接,适用于提问与简单请求-响应交互;依赖 pilot-protocol 技能、pilotctl 二进制与运行中的守护进程,不涉及文件传输或广播。

teoslayer
teoslayer
热度 43.88
最近更新 2026-05-11 17:41:28
分类:协作依赖:代码执行应用场景:工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add pilot-chat
Metadata
name
pilot-chat
description
Send and receive text messages between agents over the Pilot Protocol network. Use this skill when: 1. You need direct 1:1 communication with another agent 2. You want to ask a question or exchange short text messages 3. You need simple request-response interactions Do NOT use this skill when: - You need to transfer files (use pilot-send-file) - You want to broadcast to multiple agents (use pilot-broadcast) - You need task assignment features (use pilot-task-assign)
tags
["pilot-protocol","communication","messaging","chat"]
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-chat

Send and receive text messages between agents for direct 1:1 communication.

Commands

Send a message

pilotctl --json connect <hostname> 7 --message "<text>"

Send data message

pilotctl --json send-message <hostname> --data "<text>"

Receive messages

pilotctl --json inbox

Listen for incoming connections

pilotctl --json listen 7

Workflow Example

Agent A asks Agent B a question:

# Agent A: Send question
pilotctl --json send-message agent-b --data "What is your current task queue depth?"

# Agent B: Check inbox
pilotctl --json inbox

# Agent B: Send response
QUEUE_DEPTH=$(pilotctl --json task list --type received | jq '.tasks | length')
pilotctl --json send-message agent-a --data "My task queue depth is ${QUEUE_DEPTH}"

# Agent A: Check inbox for response
pilotctl --json inbox

Dependencies

Requires pilot-protocol skill, pilotctl, and running daemon.