adaptive_mas_converter

Convert multi-agent systems into single-agent skills based on evaluation metric freedom.

2|1|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/Tencent/AdaSkill --skill adaptive-mas-converter-tencent
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: adaptive_mas_converter
Source: https://github.com/Tencent/AdaSkill/tree/main/skills/adaptive_mas_converter
Command: npx skills add https://github.com/Tencent/AdaSkill --skill adaptive-mas-converter-tencent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Multi-agent systems incur coordination overhead, context fragmentation, and brittle phase ordering, but blindly distilling them into single-agent skills can either over-constrain or under-guide the agent. This Skill analyzes the target task's evaluation metric to determine how much structure the converted skill should retain. ## Core Features & Use Cases - Metric Freedom Analysis: Scores each evaluation metric across five dimensions (equivalence strictness, output constraints, solution density, perturbation sensitivity, knowledge-to-metric distance) to produce a freedom score F. - Component Extraction: Inventories MAS agents, tools, domain knowledge, and communication patterns, then classifies each component as keep, convert, or discard based on F. - Adaptive Skill Generation: Produces a complete skill package with SKILL.md, Python tools, and evaluation test cases, with structure and length scaled to the F estimate. - Use Case: Given a multi-agent Text-to-SQL pipeline with generator, critic, and voter agents, convert it into a single-agent skill that keeps the SQL execution tools and dialect knowledge while discarding the debate and voting mechanisms. ## Quick Start Invoke /adaptive_mas_converter with the path to your multi-agent system source code and its benchmark evaluation code to generate an adaptive single-agent skill.

Frequently Asked Questions about adaptive_mas_converter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a multi-agent system into a single-agent skill?▼

Analyze the target task's evaluation metric to estimate a freedom score F, then inventory the MAS components and classify each as tool, knowledge, or discard. Generate a SKILL.md whose structure and detail level scale with F, keeping tools always and discarding coordination mechanisms.

What is metric freedom and how is it estimated?▼

Metric freedom F measures how tightly output variation couples with score variation, estimated across five dimensions: equivalence strictness, output constraints, solution density, perturbation sensitivity, and knowledge-to-metric distance. Low F favors structured guidance; high F favors agent exploration.

Which MAS components should always be discarded during conversion?▼

Agent-to-agent coordination protocols, voting and debate mechanisms, retry-and-route loops, and LLM-based input parsers or output formatters are always discarded regardless of F. These solve coordination problems, not task problems.

How does the freedom score affect the generated skill structure?▼

Low F produces 120-200 line skills with prioritized knowledge and recommended workflow phases. Mid F yields 80-150 lines with factual knowledge only and no workflow. High F produces 50-100 line skills with just tools and brief reference facts.

When should a MAS component become a tool versus knowledge?▼

A component becomes a tool when it is LLM-independent, returns results the agent cannot derive by reasoning, and its removal forces guessing. Components expressible as readable rules become knowledge items instead.