A sophisticated role orchestration skill for agent swarms that enables dynamic, capability-based assignment and hierarchical coordination.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install pilot-role-assign
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install pilot-role-assign using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
pilot-role-assign is a technical skill designed to manage complex hierarchical structures within agent swarms. It allows developers to move beyond homogeneous agent groups by assigning specific responsibilities—such as leaders, workers, or monitors—based on the unique capabilities of each node. By integrating with the Openclaw Skills framework, it provides a robust protocol for ensuring that the right agent is always performing the right task.
The skill is particularly effective for large-scale deployments where manual role configuration is impractical. It utilizes a publish-subscribe model to advertise agent hardware and software capabilities, allowing a coordinator to make intelligent, real-time decisions about role distribution and swarm organization.
This skill requires the pilot-protocol to be active and the pilotctl binary to be available in your system path. Ensure the daemon is running before attempting role assignments.
# Initialize the daemon
pilotctl daemon start
# Publish agent capabilities to the registry
pilotctl --json publish "registry-hostname" "capabilities:$SWARM_NAME" \
--data "{\"agent\":\"$AGENT_ID\",\"capabilities\":{\"cpu_cores\":16,\"gpu\":true}}"
The skill manages data through JSON payloads categorized into two primary registry topics. This structured approach allows for easy integration with external monitoring tools.
| Topic | Purpose | Key Metadata Fields |
|---|---|---|
| capabilities:$SWARM_NAME | Hardware/Software stats | agent, cpu_cores, ram_gb, gpu |
| roles:$SWARM_NAME | Active assignments | agent, role, assigned_by, assigned_at |
Querying the role distribution returns a grouped JSON object representing the count of agents per role, facilitating quick audits of swarm health.
Loading
A robust end-to-end speech recognition skill for converting local audio files into accurate text using Alibaba DashScope.

A secure file system utility that executes file operations within a WebAssembly sandbox for enhanced privacy and control.

An AI-powered diagnostic tool for A-share companies that generates interactive financial reports across six key performance dimensions.

An immersive career planning system that generates high-fidelity HTML reports and facilitates emotional dialogues with a simulated future version of yourself.

An automated visualization tool for generating gene expression bubble plots categorized by cell type and disease state.

Advanced reputation analytics and trend tracking for Pilot Protocol agent scoring.








































