Subagent Collaboration Analysis & Construction for Openclaw

A comprehensive framework for analyzing subagent capabilities and orchestrating complex multi-agent collaboration patterns within the OpenClaw ecosystem.

nanlinsec-sys
v1.0.0
Mar 30, 2026
0
716
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install subagent-collaboration

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install subagent-collaboration using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Subagent Collaboration Analysis & Construction?

This skill provides a robust toolkit for developers to architect, analyze, and implement sophisticated multi-agent systems. By evaluating the specific strengths of individual subagents, it intelligently recommends and generates the most effective collaboration patterns—including parallel, serial, hierarchical, competitive, consultative, and relay workflows. It ensures that complex task decomposition is handled efficiently while maintaining high performance and logical consistency across all active agents.

Built to enhance the modularity of Openclaw Skills, this tool automates the creation of executable collaboration code and provides deep insights into model distribution and resource utilization. It bridges the gap between simple prompt engineering and complex agentic orchestration, allowing for the creation of "expert committees" and multi-stage processing pipelines with minimal manual effort.

Subagent Collaboration Analysis & Construction Use Cases

  • Comprehensive multi-domain analysis where expert agents operate in parallel for a synthesized report.
  • End-to-end software development workflows that transition from requirements to architecture, implementation, and review.
  • Large-scale strategic planning using hierarchical decomposition from a coordinator to specialized task leads.
  • Solution optimization through competitive collaboration where multiple agents propose and defend different technical approaches.
  • Rapid system diagnostics where a chief officer coordinates input from database, network, and infrastructure experts.

How Subagent Collaboration Analysis & Construction Works

  1. Capability Scanning: The skill analyzes the configured subagents to identify their specialized domains, underlying models, and performance profiles.
  2. Pattern Selection: Based on the complexity and dependency requirements of the input task, the system selects one of six optimized collaboration modes.
  3. Workflow Generation: It automatically generates executable code (Python or JavaScript) that manages session spawning and task distribution.
  4. Security Validation: Every generated workflow is passed through a security engine to ensure compliance with RSG v2.2.0 standards, checking for proper sandboxing and timeout limits.
  5. Execution & Synthesis: The main agent coordinates the subagents, handles concurrency, and synthesizes the individual outputs into a cohesive final result.

Subagent Collaboration Analysis & Construction Setup

To begin using these Openclaw Skills for orchestration, follow these CLI steps:

# Analyze current subagent roles and model distribution
python3 skills/subagent-collaboration/scripts/analyze_subagents.py

# Generate a specific collaboration workflow for a task
python3 skills/subagent-collaboration/scripts/generate_workflow.py --task "Analyze AI industry trends" --mode auto

# Perform a safety and configuration check on a workflow file
python3 skills/subagent-collaboration/scripts/security_check.py --input workflow.json

Subagent Collaboration Analysis & Construction Data Schema & Taxonomy

The skill organizes collaboration metadata and execution logic using a structured approach:

Data Component Description Key Attributes
Workflow JSON Definition of agent roles and tasks mode, agents, synthesizer, safetyCheck
Agent Profile Individual subagent configuration label, model, timeoutSeconds, sandbox
Security Log Audit results of the collaboration logic openclaw-id, severity, status
Cost Strategy Optimization data for model selection taskType, recommendedModel, costLevel

Subagent Collaboration Analysis & Construction Advanced Features

  • Intelligent Support for 6 Distinct Modes: Parallel, Chain (Serial), Hierarchical, Competition, Consultation, and Relay.
  • Automated RSG v2.2.0 Compliance: Built-in checks for sandbox="require", timeout limits, and mandatory labeling for all sub-sessions.
  • Multi-Model Hybrid Strategy: Seamlessly mix high-reasoning models like Qwen-Max with cost-effective models like GLM-4 for non-critical tasks.
  • Concurrency Control: Native protection against resource exhaustion by limiting concurrent subagent spawns (standard limit of 3).
  • Automatic Session Cleanup: Configurable cleanup="delete" logic to ensure local environments remain performant and clutter-free.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*