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
Views2
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.

Related Skills

doctorbot-ci-validator

Stop failing in production. Validate your GitHub Actions, GitLab CI & Keep workflows offline with surgical precision. Born from Keep bounty research, perfected for agents.

bamontejano 4473

social-vault

社交平台账号凭证管理器。提供登录态获取、AES-256-GCM 加密存储、定时健康监测和自动续期。Use when managing social media account credentials, importing cookies, checking login status, or automating session refresh. Also covers platform adapter creation and browser fingerprint management.

2019-02-18 4473

arc-shield

Output sanitization for agent responses - prevents accidental secret leaks

arc-claw-bot 4473

undertow

Skill discovery engine for AI coding agents. Recommends and installs the right skill when you need it — code review, test generation, debugging, commit messages, PR preparation, security scanning, dependency audits, Docker setup, CI/CD pipelines, API documentation, refactoring, performance optimization, bundle analysis, git recovery, README generation, license compliance, migration guides, dead code removal, and secret detection. One install gives your agent access to a curated library of 20+ developer workflow skills. Use when the user asks for help with any development workflow, code quality, DevOps, security, testing, documentation, or project setup task.

8co 4473

AURA Security Scanner

Scan AI agent skills for malware, credential theft, prompt injection, and dangerous permissions before installing them

aurasecurity-creator 4473