SkillMOO: Multi-Objective Optimization of Agent Skills for Software Engineering
SkillMOO is a multi-objective optimization framework that automatically evolves LLM-based agent skill bundles using an iterative process of failure analysis and NSGA-II selection, achieving significant improvements in coding task success rates and cost efficiency while revealing that minimal, focused instructions outperform accumulated ones.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a brilliant but slightly chaotic personal assistant (an AI coding agent) who is trying to fix bugs, translate code, or update software for you. To help this assistant do a better job, you give them a "toolbox" filled with instruction manuals, cheat sheets, and scripts. These are called Agent Skills.
However, there's a problem:
- The Toolbox is Cluttered: Sometimes the manuals contradict each other or contain outdated advice.
- It's Expensive: Reading through a huge, messy toolbox takes time and costs money (since AI usage is billed by the word).
- Manual Tuning is Hard: Trying to manually pick the perfect combination of instructions for every single job is like trying to fix a watch with a sledgehammer. It's slow, fragile, and requires a master watchmaker.
Enter SkillMOO. Think of SkillMOO as a smart, automated "Toolbox Refiner" that uses two specialized AI robots to constantly upgrade your assistant's toolbox.
How SkillMOO Works: The "Solver" and the "Optimizer"
The system runs a loop involving two AI agents working together:
- The Solver (The Worker): This robot tries to do the actual coding job using the current toolbox. It reports back: "Did I succeed? How much did it cost? Where did I fail?"
- The Optimizer (The Editor): This robot looks at the Solver's failures and the current toolbox. It says, "Ah, this instruction is confusing," or "We don't need this 5-page guide on something we never use." It then edits the toolbox:
- Pruning: Cutting out useless pages (like deleting a manual for a tool you never use).
- Substitution: Swapping a bad instruction for a better one (like replacing a blurry map with a GPS).
- Rewriting: Clarifying confusing steps.
The "Multi-Objective" Magic: The Tightrope Walk
The tricky part is that you want two things at once, and they often fight each other:
- Goal A: Get the job done perfectly (High Success Rate).
- Goal B: Do it as cheaply and quickly as possible (Low Cost/Time).
Usually, if you add more instructions to help the AI, it might succeed more often, but it becomes slower and more expensive. If you cut too much to save money, the AI might fail.
SkillMOO uses a mathematical strategy called NSGA-II (think of it as a smart filter). It doesn't just look for one perfect toolbox. Instead, it finds the "Pareto Front"—a set of "Goldilocks" toolboxes where you can't improve the success rate without making it more expensive, and you can't make it cheaper without risking failure. It evolves these toolboxes over several generations, keeping only the best versions.
What Did They Find? (The Results)
The researchers tested this on three tough software engineering tasks (fixing build errors, translating Python to Scala, and updating old software frameworks).
- The Big Win: In one task, SkillMOO doubled the success rate (from 16% to 37%) while saving money and speeding up the process.
- The Secret Sauce: The most successful toolboxes weren't the ones with more instructions. They were the ones where the AI cut out the noise.
- Pruning (removing useless info) and Substitution (fixing bad info) were the winners.
- Adding new instructions rarely helped and often made things slower.
- Analogy: It's like a chef realizing that removing a confusing, unnecessary ingredient makes the dish taste better and cook faster, rather than adding more spices.
The Bottom Line
SkillMOO is a system that automatically "trims the fat" off AI instruction manuals. Instead of a human spending hours trying to guess which instructions work best, this system uses AI to experiment, fail, learn, and refine the instructions until it finds the perfect, lean, and efficient set of rules.
It proves that for AI agents, less is often more: a focused, clean set of instructions works better than a massive, cluttered library of advice.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.