Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Agent Swarm Network

БесплатноБез исполняемых скриптовНе проверен

Agent communication protocol skill. Provides: inter-agent messaging, context snapshot/restore, event-driven collaboration, model dispatch notifications…

modbenderот modbender★ 21 звезда на GitHub

Об этом скилле

Agent Swarm Network — Agent Communication Skill

A unified communication backbone for every AI tool in the OpenClaw ecosystem (OpenClaw / Antigravity / Codex).

Analogy: This network = the Agent's nervous system. OpenClaw = the Agent's brain.

Acknowledgments

This Skill is built on top of Pilot Protocol by @TeoSlayer. Pilot Protocol provides the core daemon, encrypted tunnels, NAT traversal, and peer-to-peer addressing that this Skill leverages. Huge thanks to the Pilot Protocol team for building the Internet of Agents.


Permissions & Privacy

This Skill executes local CLI commands and writes files to the ~/.pilot/ directory. Full transparency:

Permission What Why
CLI Exec ~/.pilot/bin/pilotctl All agent operations go through this binary
File Write ~/.pilot/inbox/ Context snapshots and incoming messages land here
File Write ~/.pilot/received/ Received files from peer agents
File Read ~/.pilot/inbox/ Reading snapshots for context restoration
File Read ~/.pilot/received/ Reading transferred files
Network Local Unix socket Daemon communication (localhost only)
Network UDP tunnels (encrypted) Agent-to-agent communication (AES-256-GCM)
Script Exec ~/.pilot/context-snapshot.sh Context snapshot helper script
Script Exec ~/.pilot/pilot-publish.sh Event publishing helper script
Process Daemon lifecycle Start/stop/status of the pilotctl daemon

Privacy Note: All inter-agent traffic is encrypted end-to-end using X25519 key exchange + AES-256-GCM. Agents are private by default and require mutual trust handshake before communication. No data passes through relay servers. The rendezvous registry defaults to localhost (127.0.0.1:9000) — no peer-discovery metadata leaves the machine unless you explicitly change registry_url to a remote address. Snapshots are unencrypted JSON; you must secure the ~/.pilot/ directory (chmod 700).


Prerequisites

Tool Purpose Required?
Pilot Protocol Core daemon + CLI (pilotctl) ✅ Required
OpenClaw Skill host + Agent orchestration ✅ Required

Configuration

Edit config.json after installation:

{
  "pilotctl_path": "~/.pilot/bin/pilotctl",
  "daemon_start_script": "~/.pilot/start-local.sh",
  "snapshot_script": "~/.pilot/context-snapshot.sh",
  "publish_script": "~/.pilot/pilot-publish.sh",
  "inbox_path": "~/.pilot/inbox/",
  "received_path": "~/.pilot/received/",
  "agent_hostname": "keke-agent"
}
Field Description Default
pilotctl_path Path to the pilotctl binary ~/.pilot/bin/pilotctl
daemon_start_script Script to start the daemon ~/.pilot/start-local.sh
snapshot_script Context snapshot helper script ~/.pilot/context-snapshot.sh
publish_script Event publish helper script ~/.pilot/pilot-publish.sh
inbox_path Directory for incoming messages/snapshots ~/.pilot/inbox/
received_path Directory for received files ~/.pilot/received/
agent_hostname This agent's hostname on the Pilot network keke-agent

First-time Setup

  1. Install Pilot Protocol securely: We strongly recommend building from source to eliminate supply-chain risk. Clone https://github.com/TeoSlayer/pilotprotocol, audit the source, compile via go build, and place the binary at ~/.pilot/bin/pilotctl.
  2. Secure your directories: chmod 700 ~/.pilot
  3. Start the daemon: ~/.pilot/start-local.sh
  4. Verify: ~/.pilot/bin/pilotctl --json daemon status

Global Rules

  1. All pilotctl commands use the full path: ~/.pilot/bin/pilotctl
  2. Always append the --json flag for structured output
  3. Check the returned status field: ok = success, error = failure
  4. On failure, read the hint field for remediation guidance

⚠️ Single-Node Mode (Current State)

Currently running with only one node (keke-agent). Cannot send network messages to self (publish/send-message will return connection_failed).

Single-Node Workarounds

Operation Multi-node Command Single-node Alternative
Publish event pilotctl publish keke-agent topic --data ... ~/.pilot/pilot-publish.sh topic '{"key":"val"}'
Send to inbox pilotctl send-message keke-agent --data ... Write file directly to ~/.pilot/inbox/
Context snapshot pilotctl send-message ... ~/.pilot/context-snapshot.sh
Read inbox pilotctl inbox → read ~/.pilot/inbox/ Same (read directory directly)
Check status pilotctl info ✅ Works normally
Set ta
Полный SKILL.md на GitHub

Установить Agent Swarm Network в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdconfig.example.jsonmanifest.json

FAQ

Что делает скилл Agent Swarm Network?

Agent communication protocol skill. Provides: inter-agent messaging, context snapshot/restore, event-driven collaboration, model dispatch notifications, sub-agent management, task routing, file transfer, and network diagnostics. Invoke this Skill when cross-session context persistence, multi-agent coordination, or context overflow handling is needed. Built on top of Pilot Protocol (https://github.com/TeoSlayer/pilotprotocol).

Как установить скилл Agent Swarm Network?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Agent Swarm Network запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Agent Swarm Network с