360 Secure SkillHub
360 安全技能中心

Pilot Chat

核心功能是为Agent提供基于Pilot Protocol的1:1直接文本通信,支持发送、接收消息及监听连接。典型场景包括一对一问答、简单请求响应交互。通过Bash执行pilotctl命令操作,输出JSON格式结果。需依赖pilot-protocol skill、pilotctl工具及运行的守护进程,不适合文件传输、多Agent广播等场景。

teoslayer
teoslayer
热度 43.84
最近更新 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.