ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

sub-agent-factory

Rapidly spawn and configure specialized sub-agents. Includes templates for Research, Coding, and Analysis agents. Automates workspace setup and instruction delivery.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/balkanblbn/sub-agent-factory
Or

What 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

  1. Technical Debt Reduction: Spawn a Coder Agent to tackle refactoring tasks or bug fixes in a secondary branch while you continue building new features.
  2. Competitive Intelligence: Deploy a Research Agent to monitor market trends or scrape documentation while you analyze internal proprietary datasets.
  3. Log Wrangling: Use the Analysis Agent to parse server logs or massive JSON datasets, outputting clean, summarized reports into your shared outbox.

Example Prompts

  1. "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."
  2. "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."
  3. "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

Stars4473
Views0
Updated2026-05-01
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-balkanblbn-sub-agent-factory": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#automation#agents#orchestration#productivity
Safety Score: 3/5

Flags: file-write, file-read, code-execution