subagent-architecture
Advanced patterns for specialized subagent orchestration with production-ready reference implementations. Security isolation, phased implementation, peer collaboration, and cost-aware spawning.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/donovanpankratz-del/subagent-architectureAdvanced 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.shthat 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:
- JS code in a skill package looks like an execution surface — it is, but only when you explicitly
require()it - The security proxy documents injection attack patterns as test examples — pattern matchers don't distinguish documentation from intent
- 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 workspacelib/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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-donovanpankratz-del-subagent-architecture": {
"enabled": true,
"auto_update": true
}
}
}Tags
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.
arc-shield
Output sanitization for agent responses - prevents accidental secret leaks
AURA Security Scanner
Scan AI agent skills for malware, credential theft, prompt injection, and dangerous permissions before installing them
sbom-explainer
把依赖清单或 SBOM 翻译成非技术可读的风险说明,按影响面排序。;use for sbom, dependencies, risk workflows;do not use for 伪造 CVE 状态, 替代专业漏洞扫描.
securityvitals
Security vitals checker for OpenClaw. Scans your installation, scores your setup, and shows you exactly what to fix. First scan in seconds.