Skills multi-agent-orchestrator
This skill enables one-click generation of multiple AI agents based on a user prompt, outputs their organizational structure, and visualizes their collaboration status using diagrams like swimlane charts. Use this skill to rapidly prototype multi-agent systems, understand their internal dynamics, and facilitate their orchestration.
git clone https://github.com/openclaw/skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/brandon-zhanghaodong/multi-agent-orchestrator" ~/.claude/skills/clawdbot-skills-multi-agent-orchestrator-4316a4 && rm -rf "$T"
skills/brandon-zhanghaodong/multi-agent-orchestrator/SKILL.mdMulti-Agent Collaboration Skill
Overview
This skill streamlines the creation and management of multi-agent AI systems. It allows users to define a task with a natural language prompt, and the skill automatically generates a team of specialized agents, visualizes their organizational structure, and illustrates their collaborative workflows using industry-standard diagrams.
Usage
To use this skill, invoke the
orchestrate_and_visualize.py script with a natural language prompt describing the multi-agent system you wish to generate and visualize.
orchestrate_and_visualize.py
orchestrate_and_visualize.pyThis script takes a user prompt, generates a team of collaborative agents, and then produces visual representations of their organizational structure and collaboration patterns.
Input Parameters:
(string, required): A natural language description of the task or system for which you want to generate agents (e.g., "Create a software development team for an e-commerce platform.", "Conduct market research for a new AI product.").prompt
(string, optional): The directory where the generated Mermaid files and PNG images will be saved. Defaults to the current directory.output_dir
Output:
The script will output the following files to the specified
output_dir:
: Mermaid code for the organizational chart.org_chart.mmd
: PNG image of the organizational chart.org_chart.png
: Mermaid code for the swimlane diagram.swimlane.mmd
: PNG image of the swimlane diagram.swimlane.png
Example Usage:
python /home/ubuntu/skills/multi-agent-orchestrator/scripts/orchestrate_and_visualize.py \ --prompt "Design a marketing campaign for a new sustainable energy product." \ --output_dir "/home/ubuntu/marketing_agents"
This will generate the agent team, their organizational chart, and a swimlane diagram showing their collaboration, saving all outputs to
/home/ubuntu/marketing_agents/.
Resources
This skill includes the following resources:
scripts/
scripts/
: Generates a set of agents and their initial configurations based on a given prompt.generate_agents.py
: Generates Mermaid organizational charts and swimlane diagrams from agent data.visualize_collaboration.py
: Orchestrates the agent generation and visualization process, rendering Mermaid diagrams to PNG images.orchestrate_and_visualize.py
references/
references/
: (Placeholder) This file can be used for detailed API documentation or specific guidelines for agent interaction protocols.api_reference.md
templates/
templates/
: (Placeholder) This file can be used for boilerplate code or standard output formats for agents.example_template.txt