SuperAPI AI Directory

multi-agent-creator

Agents & models

View repository

Updated 10-16 01:35

About this skill

Multi-Agent Creator

General-purpose multi-sub-agent system creator, quickly build multi-agent systems for any business based on the master-sub interaction pattern.

Core Principles

  • Master-Sub Separation: The master agent is responsible for orchestration, scheduling, and task management, while sub-agents focus on executing specific tasks
  • Task Management: The master agent must use the TodoWrite tool to track the status of all subtasks
  • Output Specification: Sub-agents only return a brief success/failure status and do not output detailed content
  • Generalized Design: Not bound to a specific business, applicable to any scenario
  • Templating: Provides a general prompt template framework, with users filling in the business logic themselves

Quick Start

Creating a multi-sub-agent system takes only 3 steps:

Step 1: 描述业务流程 → Step 2: 智能体分析需求 → Step 3: 生成系统模板

Step 1: Describe the Business Process

Tell Lao Wang your business requirements, for example:

"我要创建一个文章生成系统,流程是:
1. 从多个来源收集资料
2. 整理和提炼内容
3. 生成文章
4. 质量审核"

Step 2: The Agent Analyzes the Requirements

multi-agent-creator will:

  • Analyze your business process and break down the key steps
  • Recommend suitable sub-agent types and quantities
  • Choose the best orchestration mode (parallel/serial/hybrid)
  • Identify data flow and dependencies

Step 3: Generate the System Template

multi-agent-creator will generate:

  • Master agent prompt template (including TodoWrite logic)
  • Prompt templates for each sub-agent (including variable placeholders)
  • Complete workflow diagram (Mermaid)
  • Invocation example code

Workflow

Core Process

  1. Analyze the business process → Break down the key steps and identify task dependencies
  2. Choose the orchestration mode → Choose serial/parallel/hybrid based on dependencies
  3. Generate prompt templates → Prompt frameworks for the master agent and sub-agents
  4. Output the workflow → Mermaid flowchart and invocation examples

Complete workflow details: see workflow.md

Reference Documents

📘 workflow.md

Master-Sub Interaction Pattern details:

  • TodoWrite tool usage specification
  • Task tool invocation examples
  • Error handling and retry mechanisms
  • Best practices

📘 agent-templates.md

General sub-agent prompt templates:

  • Data collection type
  • Content processing type
  • Task execution type
  • Generation type
  • Review type

📘 examples.md

Usage examples:

  • Example 1: Article generation system (serial mode)
  • Example 2: Data processing pipeline (hybrid mode)
  • Example 3: Code review system (parallel mode)
  • Example 4: Document automation generation (complex business)

📘 output-schema.md

General output specification:

  • Success/failure output format
  • Status code definitions
  • Error Code Definitions
  • JSON Schema

📘 faq.md

Frequently Asked Questions:

  • Sub-agent Type Selection
  • Data Flow Methods
  • Error Handling Methods
  • Performance Optimization Suggestions

Relationship with weekly-report-generator

multi-agent-creator is ageneral-purpose creator, and does not contain specific business logic:

weekly-report-generator multi-agent-creator
Specific business: weekly report generation General-purpose creator: any business
Includes Git log scripts ❌ Does not include specific scripts
Includes Word template filling ❌ Does not include specific business
Master-sub interaction pattern implementation ✅ Provides a master-sub interaction pattern framework

The value of multi-agent-creator lies in:

  • Providesa general-purpose master-sub interaction pattern framework
  • Providesreusable prompt templates
  • Supportsany business scenario
  • Usersquickly build based on templatestheir own systems