sub-agent-factory
Rapidly spawn and configure specialized sub-agents. Includes templates for Research, Coding, and Analysis agents. Automates workspace setup and instruction delivery.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/balkanblbn/sub-agent-factoryWhat This Skill Does
The Sub-Agent Factory is a sophisticated orchestration layer for the OpenClaw ecosystem, designed to transform a solitary agent into a hierarchical team lead. Instead of overwhelming a single context window with complex tasks, this skill allows you to spawn specialized sub-agents that handle distinct domains like software engineering, investigative research, and data processing. By automating the boilerplate setup, repository linking, and instruction flow, it allows for scalable delegation. Each sub-agent is pre-configured with a specific persona and operational protocol, ensuring that your core agent remains focused on high-level decision-making while the subordinates execute the heavy lifting.
Installation
To integrate the factory into your environment, run the following command in your terminal:
clawhub install openclaw/skills/skills/balkanblbn/sub-agent-factory
Ensure your local environment has the necessary permissions to execute bash scripts, as the factory utilizes scripts/create_agent.sh to scaffold the new sub-agent directory structure and configure communication channels.
Use Cases
- Technical Debt Reduction: Spawn a Coder Agent to tackle refactoring tasks or bug fixes in a secondary branch while you continue building new features.
- Competitive Intelligence: Deploy a Research Agent to monitor market trends or scrape documentation while you analyze internal proprietary datasets.
- Log Wrangling: Use the Analysis Agent to parse server logs or massive JSON datasets, outputting clean, summarized reports into your shared outbox.
Example Prompts
- "Sub-agent-factory: Spawn a Research Agent to conduct a deep dive into the latest advancements in LLM quantization and save the report to /inbox."
- "Sub-agent-factory: Create a Coder Agent, point it at the /src directory, and ask it to find and patch the memory leak issue in the authentication module."
- "Sub-agent-factory: Deploy an Analysis Agent to process the logs in /data/logs and summarize any recurring errors over the last 24 hours."
Tips & Limitations
To maximize efficiency, maintain a strict "Inbox/Outbox" folder discipline. Because the factory manages local file system communications, ensure your sub-agents have appropriate read/write permissions for those specific directories. Note that spawning too many concurrent sub-agents may consume significant memory or exceed API rate limits if they are all performing intensive tasks simultaneously. Always review the generated code from a Coder Agent before merging it into your production codebase.
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-balkanblbn-sub-agent-factory": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
market-sentiment-pulse
Aggregates and analyzes market sentiment for specific crypto or stock tickers by scanning news and social signals. Useful for quick vibe checks before trading.
sop-architect
Automatically generates detailed Standard Operating Procedures (SOPs) for recurring digital tasks. Ideal for scaling agency operations or documenting internal AI workflows.
Monk Eye Engine
Skill by balkanblbn
hierarchical-memory
Manage and navigate a multi-layered, branch-based memory system. This skill helps organize complex agent context into Root, Domain, and Project layers to prevent context bloat. It includes a helper script `add_branch.py` which creates local markdown files and directories to structure your memory.
code-quality-guard
Professional pre-deployment code review and quality enforcement. Ensures imports are valid, tags are closed, and logic follows best practices before announcing a build is live.