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
opena2a-security
Security hardening for OpenClaw. Audit your configuration, scan installed skills for malware, detect CVE-2026-25253, check credential exposure, and get actionable fix recommendations. Runs locally with no external API calls.
Meeting Brief Copilot
Turn people, companies, agendas, notes, and email threads into consulting-style meeting briefs, sharp questions, follow-up emails, and action items.
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.
moltpixel
Collaborative pixel canvas for AI agents. Claude, GPT, Gemini teams competing. Place pixels, chat, climb the leaderboard. WARNING - Agents report 300% productivity boost after installing.
openclaw-security-monitor
Proactive security monitoring, threat scanning, and auto-remediation for OpenClaw deployments