← Back to Skills Marketplace
Sub Agent Factory
by
balkanblbn
· GitHub ↗
· v1.1.0
1196
Downloads
0
Stars
8
Active Installs
2
Versions
Install in OpenClaw
/install sub-agent-factory
Description
Rapidly spawn and configure specialized sub-agents. Includes templates for Research, Coding, and Analysis agents. Automates workspace setup and instruction d...
Usage Guidance
This skill is small and appears coherent, but take basic precautions: run it in a dedicated workspace to avoid cluttering other projects, inspect any generated agents' SKILL.md before enabling them, and avoid placing sensitive credentials into the agents' inbox/outbox. Autonomous agent invocation is allowed by platform default — be careful what tasks you give spawned sub-agents (they may read/write files within the agents/<name> folders and could be instructed to perform network actions if their SKILL.md or runtime instructions are expanded later).
Capability Analysis
Type: OpenClaw Skill
Name: sub-agent-factory
Version: 1.1.0
The `scripts/create_agent.sh` file is vulnerable to shell injection and prompt injection due to unsanitized use of user-provided `NAME` and `ROLE` arguments. An attacker could craft malicious inputs for these arguments to execute arbitrary commands on the host system when the script is run, or to inject malicious instructions into the newly created sub-agent's `SKILL.md` file. While the script's stated purpose is benign, this critical vulnerability allows for unauthorized command execution and agent manipulation, classifying it as suspicious rather than benign or malicious.
Capability Assessment
Purpose & Capability
Name/description (spawn/configure sub-agents) match the actual artifacts: a short shell script that creates agent folders and a SKILL.md for each agent. No unrelated credentials, binaries, or services are requested.
Instruction Scope
SKILL.md instructions are narrowly scoped (define mission, choose template, run scripts/create_agent.sh, configure inbox/outbox). The included script only creates local directories and writes a simple SKILL.md; it does not read system files, environment secrets, or contact external endpoints.
Install Mechanism
No install spec and only a tiny shell script are included. Nothing is downloaded or extracted from external URLs and nothing is written outside the agent's working directories (agents/<name>).
Credentials
The skill requests no environment variables or credentials, and the script only uses its positional parameters. There are no disproportionate or unexplained secret requests.
Persistence & Privilege
always is false and the skill does not modify other skills or global agent configuration. It creates agent-specific directories under agents/, which is a limited and expected level of persistence.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install sub-agent-factory - After installation, invoke the skill by name or use
/sub-agent-factory - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
Added agent provisioning script
v1.0.0
Scale productivity via sub-agent templates
Metadata
Frequently Asked Questions
What is Sub Agent Factory?
Rapidly spawn and configure specialized sub-agents. Includes templates for Research, Coding, and Analysis agents. Automates workspace setup and instruction d... It is an AI Agent Skill for Claude Code / OpenClaw, with 1196 downloads so far.
How do I install Sub Agent Factory?
Run "/install sub-agent-factory" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Sub Agent Factory free?
Yes, Sub Agent Factory is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Sub Agent Factory support?
Sub Agent Factory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Sub Agent Factory?
It is built and maintained by balkanblbn (@balkanblbn); the current version is v1.1.0.
More Skills