Agent skill

Subagent Factory

by aiskillstore in aiskillstore/marketplace

Create specialized Claude Code agents on-the-fly. An agent skill from aiskillstore/marketplace.

No licenceAuto-check passedAgent Workflows

Install Subagent Factory

skills CLI
$ npx skills add aiskillstore/marketplace --skill subagent-factory -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace subagent-factory --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/aaronabuusama/subagent-factory .claude/skills/subagent-factory && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
subagent-factory
GitHub stars
430
Token cost
~1.7k tokens
SKILL.md length
614 words
Files
14 (incl. references)
Skills in repo
1,044
Repo updated
First seen
Licence
None found

At a glance

Create specialized Claude Code agents on-the-fly. An agent skill from aiskillstore/marketplace.

  • Works in 5 steps: Single Responsibility → Right Altitude → Explicit Tool Scoping → …
  • User says create agent
  • SKILL.md covers When to Activate This Skill, Two Creation Modes, Quick Reference: Agent Schema and Core Principles, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Subagent Factory is an agent skill from aiskillstore/marketplace. Create specialized Claude Code agents on-the-fly. Guides through agent definition file creation with proper frontmatter, effective prompts, and tool scoping. USE WHEN user says 'create agent', 'new subagent', 'make an agent for', 'build agent', 'spawn agent', or wants to define custom agents for specific tasks.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files, including reference files (for example `references/advanced-features.md`, `references/agent-schema.md` and `references/prompt-patterns.md`).

It sits in Agent Workflows, covering Subagents, Building AI agents and Prompt engineering. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • User says create agent
  • Make an agent for
  • Wants to define custom agents for specific tasks

Example prompts

  • “create agent”
  • “new subagent”
  • “make an agent for”
  • “/subagent-factory”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Single Responsibility
  2. Right Altitude
  3. Explicit Tool Scoping
  4. Progressive Examples
  5. Actionable Instructions

What it can do on your machine

Read from SKILL.md and the folder at commit 755bc35. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Subagent Factory loads about 1.7k tokens when it runs, and up to ~19k if it reads all its reference files. Until then it costs about 82 tokens; SKILL.md has 614 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~19k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 614 words (~1,715 tokens).

“Factory for creating specialized Claude Code agents. Generates agent definition files with proper configuration, effective system prompts, and appropriate tool access.”

— opening of SKILL.md by aiskillstore
name
subagent-factory

Read the full SKILL.md on GitHub

Files

SKILL.md and 13 other files (references) in skills/aaronabuusama/subagent-factory of aiskillstore/marketplace.

  • SKILL.md
  • references/advanced-features.md
  • references/agent-schema.md
  • references/prompt-patterns.md
  • references/task-tool-reference.md
  • research/MANIFEST.md
  • research/configuration.md
  • research/existing-patterns.md
  • research/prompt-engineering.md
  • research/slash-commands.md
  • research/task-tool.md
  • skill-report.json
  • workflows/interview-create.md
  • workflows/quick-create.md

Open the folder on GitHubat commit 755bc35

Compare with similar skills

Subagent Factory next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Subagent Factory compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Subagent Factory this skillaiskillstore/marketplace430—~1.7kAutomated safety check: PassNone
Claude Code Agent Developmentanthropics/claude-plugins-official38k7 repos~2.8kAutomated safety check: PassApache-2.0
Create Agentvectorize-io/hindsight47k—~1.1kAutomated safety check: PassMIT
Subagent CreatorgreatSumini/cc-system438—~958Automated safety check: PassMIT
Deep Agentslangchain-ai/docs426—~1.1kAutomated safety check: PassMIT
Create AgentApocrathia/home-assistant-config179—~1.1kAutomated safety check: PassNone

Similar skills

  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Create Agent

    vectorize-io/hindsight

    Create a new Hindsight-powered subagent with long-term memory.

    47k GitHub stars~1.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Subagent Creator

    greatSumini/cc-system

    Create specialized Claude Code sub-agents with custom system prompts and tool configurations.

    438 GitHub stars~958 tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check passed
  • Deep Agents

    langchain-ai/docs

    Official

    Build batteries-included agents with planning, context management, subagent delegation, and sandboxed execution.

    426 GitHub stars~1.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Create Agent

    Apocrathia/home-assistant-config

    Create a new agent persona under .agents/agents/. An agent skill from Apocrathia/home-assistant-config.

    179 GitHub stars~1.1k tokensUpdated 18 days ago
    Agent WorkflowsAuto-check passed
  • Prompt Optimizer

    Cranot/roam-code

    Optimize a vague subagent brief into a structured Agent task brief carrying falsifier, invariant, source-citation rule, and concrete-noun anchors.

    517 GitHub stars~1.1k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed

More from aiskillstore/marketplace

All 1,044 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 1 repo~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Project Planner

    aiskillstore/marketplace

    Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~504 tokens
    Auto-check passed

Questions about Subagent Factory

What does Subagent Factory do?

Create specialized Claude Code agents on-the-fly. An agent skill from aiskillstore/marketplace. Subagent Factory is an agent skill from aiskillstore/marketplace. Create specialized Claude Code agents on-the-fly.

When should I use Subagent Factory?

Subagent Factory fits situations like: user says create agent; make an agent for; wants to define custom agents for specific tasks.

How do I install Subagent Factory in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill subagent-factory -a claude-code`. Or copy the skill folder (skills/aaronabuusama/subagent-factory in aiskillstore/marketplace) into .claude/skills/subagent-factory in your project. Claude Code loads it when a task matches its description.

How do I install Subagent Factory in Codex?

Run `npx skills add aiskillstore/marketplace --skill subagent-factory -a codex`. Or copy the skill folder (skills/aaronabuusama/subagent-factory in aiskillstore/marketplace) into .agents/skills/subagent-factory in your project. Codex loads it when a task matches its description.

Can I use Subagent Factory in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill subagent-factory -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/subagent-factory, .gemini/skills/subagent-factory, .github/skills/subagent-factory and .opencode/skills/subagent-factory in your project.

What does Subagent Factory need to run?

SKILL.md names no scripts, command-line tools or credentials: Subagent Factory is instructions for the agent only.

Does Subagent Factory access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Subagent Factory safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Subagent Factory use?

No licence was found for Subagent Factory or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Subagent Factory use?

About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 17k tokens, read only when the agent opens those files.

What are the alternatives to Subagent Factory?

Skills that share tags, products or a category with Subagent Factory: Claude Code Agent Development (anthropics/claude-plugins-official, 38k stars), Create Agent (vectorize-io/hindsight, 47k stars), Subagent Creator (greatSumini/cc-system, 438 stars) and Deep Agents (langchain-ai/docs, 426 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Subagent Factory?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,044 skills in this directory. The repository was last updated on October 9, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.