🚀 Skill-MAS: Evolving Meta-Skill for Automatic Multi-Agent Systems
🥳 News
- [2026-10-09] Skill-MAS now supports Codex and Claude Code! After installation, it automatically selects the appropriate optimized skill for the current task and orchestrates the workflow alongside your existing agent skills. Quick start.
- [2026-08-21] 🎉 Skill-MAS has been accepted to EMNLP 2026!
- [2026-06-17] We release the code and paper: Skill-MAS: Evolving Meta-Skill for Automatic Multi-Agent Systems.
Table of Contents
1. Overview
Skill-MAS evolves a single meta-agent skill file (SKILL.md) that instructs an LLM to design and orchestrate a Multi-Agent System (MAS) in three stages:
| Stage | Name | Output |
|---|
| 1 | Task Decomposition | Sub-task graph & constraints |
| 2 | Agent Engineering | Sub-agent roles, tools, prompts |
| 3 | Workflow Orchestration | Executable MAS Python code |
Trajectories from each evolution round drive contrastive reflection and skill rewriting; the best skill snapshot is selected across rounds.
Three ways to use this repo
| Path | When to use |
|---|
| 🧩 Codex / Claude Code skill | Import evolved orchestration strategies into your everyday agent workflow |
| 🚀 Demo Inference | One question + existing skill → build & run MAS immediately |
| 🔄 Evolution | Multi-round skill optimization on benchmark validation sets |
Repository Layout
Skill_MAS/
├── assert/ # README figures (background.png, Method.png)
├── core/ # CLI entry, evolution pipeline, resume, task selection
├── evolution/ # Rollout, contrastive reflection, skill optimizer, bench adapters
├── skill_mas/ # 3-stage MAS builder, async LLM client, model_config.json
├── template/ # Generated MAS code templates and SubAgent runtime
├── utils/ # Paths, cost tracking, logging, redaction
├── init_skill/ # Initial (pre-evolution) SKILL.md
├── optimized_skill/ # Pre-evolved skills per benchmark (ready to test)
├── skills/skill-mas/ # Portable agent skill + four adapted task profiles
├── scripts/ # Skill installer + default startup routing
├── .claude-plugin/ # Claude Code plugin and marketplace manifests
├── hooks/ # Claude plugin session-start routing
├── docs/agent-skills.md # Installation, profiles, updates, and adaptation notes
├── dataset/ # Bundled benchmark code + data
│ ├── vitabench/ # VitaBench (src/vita, data/)
│ ├── deep_research_bench/
│ ├── hlemath/
│ └── BrowseComp-Plus/
├── run_*.sh # Evolution wrappers (run from parent of Skill_MAS/)
├── demo_inference.py # Single-question build + inference demo
├── demo_inference.sh # Shell wrapper for demo_inference.py
└── results/ # Generated at runtime (not shipped)
How an evolution round works