TL;DR
MIND-Skill is a novel multi-agent framework that automatically distills high-quality, generalizable procedural skills from successful LLM trajectories. By pairing an induction agent with a frozen deduction agent and optimizing via TextGrad using three distinct textual losses, it guarantees that generated skills are actionable, well-documented, and free from task-specific overfitting.
What Problem Does This Paper Address?
While Large Language Models (LLMs) possess vast declarative knowledge, LLM-powered AI agents frequently stumble on complex, long-horizon tasks that require domain-specific procedural knowledge (e.g., handling multi-step API calls, pagination, or error recovery).
A natural solution is to equip agents with "skills"—structured markdown playbooks detailing standard operating procedures. However, manually curating these skills requires significant human expertise. Existing automated skill-generation methods suffer from three major flaws:
- Open-loop generation: They lack a validation mechanism to verify if the generated skill actually works.
- Poor documentation quality: They rarely evaluate if the playbooks are clear, logical, or human-readable.
- Ground-truth leakage: They often overfit by hardcoding specific identifiers or API paths from training tasks, failing to generalize to new, unseen problems.
Methods
MIND-Skill introduces a closed-loop, multi-agent Induction and Deduction framework to synthesize quality-guaranteed skills.
The framework operates in an iterative cycle:
- Induction Agent ($A_I$): Takes a successful execution trajectory and task specification, then abstracts it into a structured skill document (
SKILL.md). - Deduction Agent ($A_D$): A completely frozen agent that attempts to reconstruct the original trajectory in a live environment using only the task description and the newly induced skill. Because it is frozen, any success or failure is directly attributable to the quality of the skill.
To optimize the induction process, the framework introduces three textual losses evaluated by an LLM judge:
- Reconstruction Loss ($L_{recon}$): Measures tactic-level equivalence (rather than literal step-by-step matching) between the original and reconstructed trajectories.
- Outcome Loss ($L_{outcome}$): Ground-truth environment feedback (pass/fail, execution errors).
- Rubric Loss ($L_{rubric}$): Evaluates the skill against technical writing standards and regularizes the abstraction level to ensure it avoids task-specific details (ground-truth independence).
These losses are backpropagated as textual feedback using TextGrad to iteratively refine the system prompt of the Induction Agent. Crucially, the gradient LLM never sees the original trajectory directly, creating a dual safeguard against ground-truth leakage.
Datasets
The authors evaluated MIND-Skill on two complex, long-horizon agent benchmarks:
- AppWorld: A highly interactive coding benchmark containing 9 daily-life applications and 457 APIs. Skills were extracted from 90 training tasks and evaluated on 168 normal and 417 challenge test tasks.
- BFCL-v3 (Berkeley Function Calling Leaderboard): A multi-turn function-calling benchmark. The authors used the base multi-turn category, splitting it into 50 training and 150 test instances.
Key Insights and Ideas
- The Power of Controlled Reconstruction: By forcing a frozen agent to recreate a trajectory using nothing but the generated skill, the framework cleanly isolates skill quality from the agent's inherent reasoning capacity.
- Weaker Models Can Match Frontier Models via Self-Training: Surprisingly, skills generated by a weaker model (Qwen-3.5-122B) for its own use performed comparably to skills generated by a frontier model (GPT-5.4). This happens because self-generated skills naturally match the model's internal vocabulary and abstraction level, avoiding complex "textbook" jargon that a weaker inference model cannot operationalize.
- Progressive Disclosure Beats Monolithic Playbooks: Unlike baseline methods that pack all training knowledge into a single massive file, MIND-Skill retrieves only the top $K=3$ relevant skills at inference time. This keeps the prompt compact and highly actionable.
Key Results
MIND-Skill consistently outperformed state-of-the-art baselines (including ReAct, In-Context Learning, ACE, and Trace2Skill) across both benchmarks.
- Performance Boost: When using Qwen-3.5, MIND-Skill achieved the highest average score (59.1%), outperforming the closest competitive baseline, ACE, by 3.0% and Trace2Skill by 4.0%.
- Robust Generalization: On the difficult AppWorld-Challenge split, MIND-Skill significantly improved Scenario Goal Completion (SGC) to 39.6%, compared to 34.5% for ACE and 33.1% for Trace2Skill.
- Efficiency: MIND-Skill generated highly compact skills, requiring 3–6× fewer injected tokens at inference time than monolithic alternatives.
Limitations and Future Work
- Dependency on Successful Trajectories: MIND-Skill requires a successful reference trajectory to kickstart the induction process. If an agent cannot solve a task even once, the framework must fall back on human-authored solution scripts as a surrogate.
- Broader Safety Risks: As with any framework that enhances autonomous agent capabilities, automatically generated skills could potentially be misused to automate undesirable or malicious agent behaviors. However, because MIND-Skill outputs human-readable Markdown, it allows for easy auditing and safety oversight before deployment.
Summary updated