Agent skill

Subagent Creator

by greatSumini in greatSumini/cc-system

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

MITAuto-check passedAgent Workflows

Install Subagent Creator

skills CLI
$ npx skills add greatSumini/cc-system --skill subagent-creator -a claude-code

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

GitHub CLI
$ gh skill install greatSumini/cc-system subagent-creator --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/greatSumini/cc-system.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/subagent-creator .claude/skills/subagent-creator && 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-creator
GitHub stars
438
Token cost
~958 tokens
SKILL.md length
263 words
Files
4 (incl. references, assets)
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 5 steps: Gather requirements: Ask about the… → Choose scope: Project (.claude/agents/)… → Define configuration: Name, description,… → …
  • Users ask to create a new sub-agent
  • SKILL.md covers Sub-agent File Format, Creation Workflow, Writing Effective Sub-agents and Example Sub-agents, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Subagent Creator is an agent skill from greatSumini/cc-system. Create specialized Claude Code sub-agents with custom system prompts and tool configurations. Use when users ask to create a new sub-agent, custom agent, specialized assistant, or want to configure task-specific AI workflows for Claude Code.

Its SKILL.md is about 960 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files and assets (for example `assets/subagent-template.md`, `references/available-tools.md` and `references/examples.md`).

It sits in Agent Workflows, covering Subagents and Prompt engineering. The licence is MIT.

When your agent uses it

  • Users ask to create a new sub-agent
  • Specialized assistant
  • Want to configure task-specific AI workflows for Claude Code

Example prompts

  • “/subagent-creator”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Gather requirements: Ask about the sub-agent's purpose, when to use it, and required capabilities
  2. Choose scope: Project (.claude/agents/) or user (~/.claude/agents/)
  3. Define configuration: Name, description, tools, model
  4. Write system prompt: Clear role, responsibilities, and output format
  5. Create file: Write the .md file to the appropriate location

What it can do on your machine

Read from SKILL.md and the folder at commit 172bdd4. 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 markdown, yaml and bash).

    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 Creator loads about 958 tokens when it runs, and up to ~2.7k if it reads all its reference files. Until then it costs about 65 tokens; SKILL.md has 263 words of instructions outside code blocks.

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

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

The full file from greatSumini/cc-system at commit 172bdd4, republished under its MIT licence (© greatSumini). 263 words, ~958 tokens.

Download SKILL.mdSave it as .claude/skills/subagent-creator/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
subagent-creator
description
Create specialized Claude Code sub-agents with custom system prompts and tool configurations. Use when users ask to create a new sub-agent, custom agent, specialized assistant, or want to configure task-specific AI workflows for Claude Code.

Sub-agent Creator

Create specialized AI sub-agents for Claude Code that handle specific tasks with customized prompts and tool access.

Sub-agent File Format

Sub-agents are Markdown files with YAML frontmatter stored in:

  • Project: .claude/agents/ (higher priority)
  • User: ~/.claude/agents/ (lower priority)
Structure
markdown
---
name: subagent-name
description: When to use this subagent (include "use proactively" for auto-delegation)
tools: Tool1, Tool2, Tool3  # Optional - inherits all if omitted
model: sonnet               # Optional - sonnet/opus/haiku/inherit
permissionMode: default     # Optional - default/acceptEdits/bypassPermissions/plan
skills: skill1, skill2      # Optional - auto-load skills
---

System prompt goes here. Define role, responsibilities, and behavior.
Configuration Fields
FieldRequiredDescription
nameYesLowercase with hyphens
descriptionYesPurpose and when to use (key for auto-delegation)
toolsNoComma-separated tool list (omit to inherit all)
modelNosonnet, opus, haiku, or inherit
permissionModeNodefault, acceptEdits, bypassPermissions, plan
skillsNoSkills to auto-load

Creation Workflow

  1. Gather requirements: Ask about the sub-agent's purpose, when to use it, and required capabilities
  2. Choose scope: Project (.claude/agents/) or user (~/.claude/agents/)
  3. Define configuration: Name, description, tools, model
  4. Write system prompt: Clear role, responsibilities, and output format
  5. Create file: Write the .md file to the appropriate location

Writing Effective Sub-agents

Description Best Practices

The description field is critical for automatic delegation:

yaml
# Good - specific triggers
description: Expert code reviewer. Use PROACTIVELY after writing or modifying code.

# Good - clear use cases
description: Debugging specialist for errors, test failures, and unexpected behavior.

# Bad - too vague
description: Helps with code
System Prompt Guidelines
  1. Define role clearly: "You are a [specific expert role]"
  2. List actions on invocation: What to do first
  3. Specify responsibilities: What the sub-agent handles
  4. Include guidelines: Constraints and best practices
  5. Define output format: How to structure responses
Tool Selection
  • Read-only tasks: Read, Grep, Glob, Bash
  • Code modification: Read, Write, Edit, Grep, Glob, Bash
  • Full access: Omit tools field

See references/available-tools.md for complete tool list.

Example Sub-agents

See references/examples.md for complete examples:

  • Code Reviewer
  • Debugger
  • Data Scientist
  • Test Runner
  • Documentation Writer
  • Security Auditor

Template

Copy from assets/subagent-template.md to start a new sub-agent.

Quick Start Example

Create a code reviewer sub-agent:

bash
mkdir -p .claude/agents

Write to .claude/agents/code-reviewer.md:

markdown
---
name: code-reviewer
description: Reviews code for quality and security. Use proactively after code changes.
tools: Read, Grep, Glob, Bash
model: inherit
---

You are a senior code reviewer.

When invoked:
1. Run git diff to see changes
2. Review modified files
3. Report issues by priority

Focus on:
- Code readability
- Security vulnerabilities
- Error handling
- Best practices

© greatSumini, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references, assets) in .claude/skills/subagent-creator of greatSumini/cc-system.

  • SKILL.md
  • assets/subagent-template.md
  • references/available-tools.md
  • references/examples.md

Open the folder on GitHubat commit 172bdd4

Compare with similar skills

Subagent Creator 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 Creator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Subagent Creator this skillgreatSumini/cc-system438—~958Automated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k8 repos~2.8kAutomated safety check: PassApache-2.0
Prompt OptimizerCranot/roam-code517—~1.1kAutomated safety check: PassApache-2.0
Tapd Story ValidateTencentBlueKing/bk-bcs840—~1.7kAutomated safety check: PassCustom licence
Tapd Story PlanTencentBlueKing/bk-bcs840—~886Automated safety check: PassCustom licence
Tapd Story TasksTencentBlueKing/bk-bcs840—~900Automated safety check: PassCustom licence

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 8 repos~2.8k tokens
    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 5 days ago
    Agent WorkflowsAuto-check passed
  • Tapd Story Validate

    TencentBlueKing/bk-bcs

    迭代执行流水线校验阶段。对 implement 产出的代码做四维度并行校验(架构 / 安全 / CodeReview / 测试覆盖), 再按汇总结果原地修复(fullstack 需求按受影响文件路径分派 backend-developer / frontend-developer)。

    840 GitHub stars~1.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Tapd Story Plan

    TencentBlueKing/bk-bcs

    迭代执行流水线开发计划阶段。基于 spec.md 调用 /speckit.plan 以测试驱动开发模式构建 开发计划、技术调研与数据模型,并在同一 subagent 内就地做文档级合规自检,产出 plan-report.md。

    840 GitHub stars~886 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Tapd Story Tasks

    TencentBlueKing/bk-bcs

    迭代执行流水线任务生成阶段。基于 plan.md / research.md 调用 /speckit.tasks 生成全量任务, 随后调用 /speckit.analyze 验证产物合规。两段命令通过两次 subagent 隔离执行。

    840 GitHub stars~900 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Agent Orchestration

    LeoYeAI/openclaw-master-skills

    Multi-agent orchestration patterns for production deployments.

    2.2k GitHub stars~4.4k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed

More from greatSumini/cc-system

All 12 skills in this repo
  • Slash Command Creator

    greatSumini/cc-system

    Guide for creating Claude Code slash commands. An agent skill from greatSumini/cc-system.

    438 GitHub stars~773 tokensUpdated 4 mo ago
    Auto-check passed
  • Cc Usage Audit

    greatSumini/cc-system

    한 프로젝트에서 사용자가 Claude Code에 입력한 프롬프트·작업 이력을 분석해 (1) 사용 패턴 정량화, (2) 사용자의 개발 철학 추출(근거 인용), (3) 그 철학을 렌즈로 한 메타 시스템(하니스·게이트·CI·프로세스) audit, (4) 우선순위가 매겨진 개선점 발굴을 수행한다.

    438 GitHub stars~586 tokensUpdated 4 mo ago
    Auto-check passed
  • Hook Creator

    greatSumini/cc-system

    Create and configure Claude Code hooks for customizing agent behavior.

    438 GitHub stars~662 tokensUpdated 4 mo ago
    Auto-check: notes
  • Youtube Collector

    greatSumini/cc-system

    유튜브 채널을 등록하고 새 컨텐츠를 수집하여 자막 기반 요약을 생성하는 skill. An agent skill from greatSumini/cc-system.

    438 GitHub stars~846 tokensUpdated 4 mo ago
    Auto-check passed
  • Ship

    greatSumini/cc-system

    지금까지의 작업을 한 번에 출하한다 — 커밋 → push → PR 생성 → squash merge. An agent skill from greatSumini/cc-system.

    438 GitHub stars~697 tokensUpdated 4 mo ago
    Auto-check passed
  • Gmail

    greatSumini/cc-system

    gogcli를 사용하여 Gmail 메일을 검색, 조회, 발송하는 skill. An agent skill from greatSumini/cc-system.

    438 GitHub stars~838 tokensUpdated 4 mo ago
    Auto-check passed

Questions about Subagent Creator

What does Subagent Creator do?

Create specialized Claude Code sub-agents with custom system prompts and tool configurations. Subagent Creator is an agent skill from greatSumini/cc-system. Create specialized Claude Code sub-agents with custom system prompts and tool configurations.

When should I use Subagent Creator?

Subagent Creator fits situations like: users ask to create a new sub-agent; specialized assistant; want to configure task-specific AI workflows for Claude Code.

How do I install Subagent Creator in Claude Code?

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

How do I install Subagent Creator in Codex?

Run `npx skills add greatSumini/cc-system --skill subagent-creator -a codex`. Or copy the skill folder (.claude/skills/subagent-creator in greatSumini/cc-system) into .agents/skills/subagent-creator in your project. Codex loads it when a task matches its description.

Can I use Subagent Creator 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 greatSumini/cc-system --skill subagent-creator -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-creator, .gemini/skills/subagent-creator, .github/skills/subagent-creator and .opencode/skills/subagent-creator in your project.

What does Subagent Creator need to run?

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

Does Subagent Creator 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 Creator 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 Creator use?

Subagent Creator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Subagent Creator use?

About 958 tokens (SKILL.md is roughly 3.8k 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 1.7k tokens, read only when the agent opens those files.

What are the alternatives to Subagent Creator?

Skills that share tags, products or a category with Subagent Creator: Claude Code Agent Development (anthropics/claude-plugins-official, 38k stars), Prompt Optimizer (Cranot/roam-code, 517 stars), Tapd Story Validate (TencentBlueKing/bk-bcs, 840 stars) and Tapd Story Plan (TencentBlueKing/bk-bcs, 840 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Subagent Creator?

greatSumini (a GitHub user) maintains it in greatSumini/cc-system, which has 438 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on June 9, 2026.

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