Optimization of worker workspace size and enablement of headless IPC for ClawTeam
Raw Developer Origin & Technical Request
GitHub Issue
Mar 20, 2026
## Problem
When spawning multiple worker agents in ClawTeam, each worker creates a full copy of the workspace, resulting in:
| Issue | Impact |
|-------|--------|
| **59MB per worker** | Disk space explodes with 5-10 agents |
| **Slow startup** | Copying node_modules/.venv takes 10-30s |
| **Lost env vars** | API keys not inherited by workers |
| **CLI blocking** | Interactive prompts deadlock in headless mode |
## Proposed Solution
1. **Whitelist Protection**: Only preserve essential files (openclaw.json, skills/, scripts/, .env)
2. **Symlink Dependencies**: Share node_modules/.venv via symlinks instead of copying
3. **Headless Wrapper**: Add `scripts/openclaw_worker.sh` for non-interactive execution
### Expected Results
- Workspace size: 59MB → ~700KB (**98.8% reduction**)
- Startup time: 10-30s →
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from HKUDS/ClawTeam.
Frequently Asked Questions
Market intelligence mapped to Optimization of worker workspace size and enablement of headless IPC for ClawTeam.
How is Optimization of worker workspace size and enablement of headless IPC for ClawTeam positioned in the market?
Are engineers actively discussing Optimization of worker workspace size and enablement of headless IPC for ClawTeam?
What are the foundational technologies related to Optimization of worker workspace size and enablement of headless IPC for ClawTeam?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like node_modules and Slow startup by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics