TL;DR
Computer-use agents (CUAs) often struggle with complex software because existing skill libraries rely purely on text to describe graphical user interfaces (GUIs) that are inherently visual. This paper introduces VISUALSKILL, a hierarchical multimodal skill library that integrates text instructions with actual UI screenshots, fetched on-demand via a custom tool interface. By retaining visual context, VISUALSKILL delivers a massive +15.3 point absolute performance boost over baseline agents across standard desktop automation benchmarks.
What Problem Does This Paper Address?
While large language models have made massive strides in desktop automation, computer-use agents still falter when navigating complex, long-horizon tasks or unfamiliar software interfaces. To solve this, researchers have built "skill libraries"—modular repositories of procedural knowledge that agents can consult at decision time. However, existing skill libraries are strictly text-based.
This text-only approach creates two major bottlenecks:
- Ambiguity in Identification: Describing a specific, unlabeled icon or a complex spatial layout in text is verbose and prone to misinterpretation.
- State Verification Failures: Multi-step workflows require an agent to verify that an action succeeded before moving to the next step. Textual descriptions struggle to capture subtle or "silent" UI changes (e.g., a dropdown menu opening or a field rejecting an input), leading to compounding errors.
Methods
The authors propose VISUALSKILL, a framework that structures application-specific knowledge into a two-layer multimodal hierarchy. Instead of loading an entire software manual into the context window up front, the agent is initialized with a compact index (skill.md). When the agent encounters a specific sub-goal, it uses a Model Context Protocol (MCP) tool called load_topic to fetch interleaved text and images for just that topic.
To build these libraries without manual human effort, the authors designed a two-stage construction pipeline:
- Stage 1: Documentation Mining: The pipeline automatically parses official user manuals (PDFs or HTML) to extract the existing topic structure, procedural text, and vendor-drawn figures.
- Stage 2: Live UI Exploration: To patch the gaps left by outdated or incomplete documentation, VISUALSKILL deploys two types of automated explorer agents in a live application environment:
- Free Explorer: Partitions the application's idle window into regions and systematically interacts with elements to record their behavior and capture cropped screenshots.
- Trajectory-Targeted Explorer: Reviews failed training rollouts to identify specific UI regions where the agent fumbled (e.g., confusing a combo box text field with its dropdown arrow) and deploys worker agents to capture the exact missing visual knowledge.
Finally, an assembler agent merges these notes and screenshots into the final hierarchical skill library.
Datasets
The framework was evaluated across 177 tasks from two prominent computer-use agent benchmarks:
- CUA-World: Five diverse domains including LibreOffice (Writer, Calc, Impress), QGIS, and OpenToonz.
- OSExpert-Eval: Three complex domains focusing on long-horizon compositional workflows (LibreOffice, GIMP, Tableau).
Additionally, the authors performed cross-model replication using the OSWorld benchmark's LibreOffice domain.
Key Insights and Ideas
- Visual Grounding is Irreplaceable: Simply translating a screenshot into a text description loses critical spatial and structural information. For example, an agent told to "click the dropdown" might click the text area of a combo box instead of the arrow icon, wasting actions and failing the task.
- Tool-Based Fetching Beats Direct Reading: Exposing skills via an MCP tool (
load_topic) ensures that images are delivered inline with text exactly when needed. Ablation studies showed that if agents are given direct file-system access, they tend to read the text once at the start and skip fetching individual images due to the extra tool-call overhead. - The Context Burden of Multimodality: While multimodal skills drastically improve powerful models like Claude 4.6 Opus, they can degrade the performance of weaker or smaller models (like Qwen3.5-397B). Dumping multiple images into the context window creates high context-length pressure, leading to malformed tool calls.
Key Results
- Substantial Performance Gains: Backed by Claude Opus 4.6, an agent equipped with the full Stage 2 VISUALSKILL achieved an average score of 0.456 across all domains, a +15.3 point absolute lift over the no-skill baseline (0.303).
- Modality Matters: To isolate the impact of images, the authors compared VISUALSKILL against a text-only control generated from the exact same source material. VISUALSKILL outperformed the text-only control by +8.3 points absolute (0.456 vs 0.373), proving that retaining visual figures provides unique value over text descriptions.
- Creative Tools Benefit Most: The largest improvements occurred in visually intensive creative applications like GIMP (+16.6% absolute lift over Stage 1) and OpenToonz (+12.9%).
Limitations and Future Work
- Coarse-Grained Loading: Currently, the
load_topictool returns all figures associated with a topic at once. This coarse granularity inflates the per-call context cost significantly. - Model Sensitivity: Weaker base models struggle to filter relevant visual information from a loaded topic, sometimes performing worse than the no-skill baseline due to context bloat.
- Future Work: Developing more fine-grained visual retrieval mechanisms to deliver specific figures dynamically within a tighter context budget remains an open challenge.
Summary updated