ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

subagent-architecture

Advanced patterns for specialized subagent orchestration with production-ready reference implementations. Security isolation, phased implementation, peer collaboration, and cost-aware spawning.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/donovanpankratz-del/subagent-architecture
Or

Advanced Subagent Architecture

Patterns and templates for building robust multi-agent systems with OpenClaw.

Why This Skill Is Complex (Read Before Installing)

This is one of the most feature-dense skills in the ClawHub registry. Security scanners will flag it — not because it's malicious, but because it does a lot. Here's exactly what's in it and why:

Scope:

  • 4 production-ready JS libraries (~1,200 lines total across spawn-security-proxy, spawn-researcher, cost-estimator, quality-scorer)
  • 4 spawn templates covering security proxy, researcher, phased implementation, and peer review patterns
  • A setup.sh that creates local directory scaffolding (no network calls, no package installs)
  • Inline attack vector documentation in spawn-security-proxy.js (test fixtures, not live payloads)

Why the libs exist: These aren't glue code — they implement real patterns: output sanitization with canary tokens, multi-source research validation, cost projection with approval gates, and subagent output scoring. The complexity is the point; simpler skills don't solve these problems.

Why scanners flag it:

  1. JS code in a skill package looks like an execution surface — it is, but only when you explicitly require() it
  2. The security proxy documents injection attack patterns as test examples — pattern matchers don't distinguish documentation from intent
  3. External integration references (Discord, peer agents) appear in templates — they're opt-in workflows, not auto-configured connections

Complexity is not a red flag here. It's the product.


⚠️ Security Transparency Notice

What this skill contains:

  • lib/ — Reference JS libraries (spawn helpers, cost estimator, quality scorer). These are not auto-executed. Copy them to your workspace lib/ directory to use them.
  • templates/ — Markdown spawn templates for common patterns.
  • setup.sh — Creates local directory scaffolding only. Makes no network calls, installs no packages.

External integrations: All optional, none auto-configured.

  • Discord webhooks — Only used in the federated peer-review pattern. You supply your own token manually. This skill does not store or transmit credentials.
  • Peer agent endpoints — Federated review is opt-in. No external calls unless you explicitly configure peer URLs.

Credential requirements: None. No API keys, tokens, or env vars are required or auto-read by this skill.

Overview

This skill provides battle-tested patterns for:

  • Security isolation - Contain high-risk operations with minimal context exposure
  • Specialized research - Multi-perspective data gathering with domain experts
  • Phased implementation - Architecture → Development → Review pipelines
  • Peer collaboration - External validation via federated agent network (opt-in)
  • Cost-aware spawning - Budget estimation and optimization strategies

What's New in v2.0

Metadata

Stars2387
Views0
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-donovanpankratz-del-subagent-architecture": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#subagents#architecture#isolation#security#collaboration#orchestration#reference-implementation
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.