MMG2Skill: Can Agents Distill In-the-Wild Guides into Self-Evolving Skills?

Xinyu Che, Junqi Xiong, Yunfei Ge, Xinping Lei, Shihao Li, Hang Yan, Han Li, Yuanxing Zhang, Zhiqi Bai, Jinhua Hao, Ming Sun, Jiaheng LiuarXiv 2026

TL;DR

The MMG2Skill framework allows Vision-Language Model (VLM) agents to automatically distill raw, human-oriented internet guides into structured, executable, and self-evolving skills. By iteratively refining these skills based on execution trajectories rather than benchmark scores, MMG2Skill consistently boosts agent performance across GUI control, gaming, and strategy domains while drastically cutting API deployment costs.

What Problem Does This Paper Address?

The web is packed with high-quality procedural knowledge, from WikiHow articles to detailed gaming wikis. However, this information is inherently designed for human consumption: it contains noisy formatting, assumes implicit background knowledge, and lacks the precise grounding required by an AI agent operating in a digital environment.

Simply dumping a raw web guide into a VLM agent's prompt often backfires. Agents struggle to track which steps are completed, misinterpret human-centric instructions, and fail to recover when execution drifts from the ideal path. To bridge this gap, the authors formalize the task of guide-to-skill learning: converting unstructured, multimodal web guides into compact, executable skills that continuously adapt and improve based on the agent's own experiences.

Figure 1: Motivation and high-level finding of MMG2Skill-Bench and MMG2Skill. Public multimodal guides contain useful procedural knowledge for long-horizon agents, but raw guide prompting can hurt performance, motivating guide-to-skill learning.

Methods

The authors introduce MMG2Skill, a closed-loop framework that optimizes an agent's skill set while keeping the underlying VLM policy fixed. The pipeline operates in four distinct stages:

  1. Multimodal Skill Construction: The framework takes a raw web guide (HTML + images) and normalizes it into a structured, editable SKILL.md file. This file explicitly separates reusable procedures, applicability conditions, expected environmental state cues, and recovery strategies.
  2. Skill-Conditioned Execution: The agent executes the task while being conditioned on both the task instruction and the structured skill set.
  3. Trajectory Analysis: After a rollout, an independent Analyzer module reviews the agent-visible trajectory (without access to ground-truth benchmark scores). It diagnoses what worked, what failed, and outputs a success judgment (likely_success).
  4. Skill Refinement: If the task failed, a Refiner module uses the accumulated history of diagnoses to rewrite the SKILL.md file, adding missing verification steps or sharpening state cues to prevent future failures.

An analyzer-based early stopping mechanism halts the loop as soon as a likely_success signal is triggered, preventing unnecessary environment attempts.

Figure 3: MMG2Skill framework. The figure shows the closed-loop pipeline that constructs guide- derived skills, uses them during rollout, and revises the skill cache from trajectory diagnoses across attempts.

Datasets

To evaluate this setup, the authors developed MMG2Skill-Bench, the first benchmark pairing success-inferable interactive tasks with real-world web guides. It features 130 tasks spanning three distinct interaction regimes:

  • MMG2Skill-GUI: Desktop application control tasks built on OSWorld (e.g., Chrome, GIMP, LibreOffice).
  • MMG2Skill-Game: Open-ended crafting and exploration objectives in Minecraft via MineStudio.
  • MMG2Skill-Strategy: Turn-based card games (Doudizhu and Mahjong) using the RLCard engine.
Figure 2: MMG2Skill-Bench composition. Task- family counts and guide coverage by domain.

Key Insights and Ideas

  • Raw Guides Can Hurt Performance: Directly prompting agents with raw tutorials often degrades performance compared to a vanilla baseline. Human guides frequently introduce misleading fragments or irrelevant context that distract the agent.
  • Structure is a Safe Prior: Transforming guides into a structured schema (SKILL.md) before execution provides a safer procedural prior, capturing substantial baseline gains particularly in GUI environments.
  • More Attempts $\neq$ Better Results: Skill revision dynamics are non-monotonic. Left unchecked, agents can over-correct or misinterpret ambiguous failures in later stages, leading to performance regressions. Calibrated early stopping acts as a vital safeguard.
  • Persistent Edits Beat In-Context Memory: Materializing feedback as persistent edits to a dedicated skill file is significantly more effective than carrying a running history of errors in the prompt context (similar to Reflexion-style methods).

Key Results

The framework was evaluated across six prominent VLM backbones (including Claude-Opus-4.6, GPT-5.5, Gemini-3.1-Pro, and Qwen3.6-Plus).

  • Universal Performance Gains: MMG2Skill achieved consistent improvements over vanilla baselines in every single model-domain setting, yielding macro-average gains ranging from +12.8 to +25.3 percentage points.
  • Substantial Cost Savings: By utilizing analyzer-driven early stopping, the framework saved 25%–53% of environment attempts and reduced VLM API call costs by 23%–41% compared to running a full fixed budget of 5 attempts.
  • Fewer Detours: In GUI and gaming domains, the framework improved task success rates while simultaneously reducing the average number of execution steps, proving that the distilled skills make agent behavior more directed and efficient.

Limitations and Future Work

While MMG2Skill effectively refines skills once a guide is provided, it does not address the upstream challenge of guide discovery—the agent assumes a task-relevant guide is already selected. In open-world deployment, an agent would need to search the web, filter out outdated or low-quality instructions, and handle conflicting sources.

Additionally, evaluating interactive VLM agents through iterative closed-loop rollouts remains highly expensive and throttled by commercial API rate limits, highlighting a need for more optimized evaluation protocols in future research.

Summary updated

BibTeX
@misc{che2026mmg,
  author = {Xinyu Che and Junqi Xiong and Yunfei Ge and Xinping Lei and Shihao Li and Hang Yan and Han Li and Yuanxing Zhang and Zhiqi Bai and Jinhua Hao and Ming Sun and Han Li and Jiaheng Liu},
  title = {{MMG2Skill: Can Agents Distill In-the-Wild Guides into Self-Evolving Skills?}},
  year = {2026},
  eprint = {2606.01993},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.01993},
}
Figure