TL;DR
WebXSkill bridges the "grounding gap" in autonomous web agents by introducing executable skills that pair parameterized action programs with step-level natural language guidance. By decoupling a skill's procedural knowledge from its execution strategy, the framework offers two flexible deployment modes (grounded and guided) that significantly improve agent success rates and enable cross-website skill transfer.
What Problem Does This Paper Address?
Large Language Model (LLM) web agents excel at simple tasks but remain brittle when tackling long-horizon browser workflows. Typically, these agents plan every low-level action (clicking, typing, scrolling) from scratch, leading to compounding errors over long sequences.
To solve this, researchers have tried introducing "skills"—reusable units of interaction knowledge. However, existing approaches suffer from a grounding gap:
- Textual workflows provide natural language instructions (e.g., "search for the product, then add it to cart") that help with high-level planning but cannot be executed directly, leaving the agent prone to low-level grounding errors.
- Code-based skills compile actions into executable scripts or APIs, but treat them as opaque black boxes. If a webpage layout changes slightly mid-execution, the agent cannot see inside the skill to adapt or recover, causing the entire task to fail.
Methods
WebXSkill introduces a three-stage framework to extract, organize, and deploy transparent, executable skills:
- Skill Extraction: The framework mines reusable action subsequences from low-cost, synthetically generated agent trajectories (avoiding test-time data leakage). An LLM abstracts concrete values into typed parameters (e.g., converting a specific search term into a
query: strparameter) and annotates each step with natural language guidance. Candidate skills undergo online deduplication and rigorous execution verification in a test environment. - Skill Organization: Instead of maintaining a flat API library that could overwhelm the LLM's context window, WebXSkill structures skills into a URL-based skill graph. At inference time, the agent matches its current page URL against the graph to retrieve context-aware, state-relevant skill candidates, which are further filtered by verifying the presence of required DOM elements.
- Skill Deployment: WebXSkill uniquely decouples the skill's logic ("what to do") from its execution ("how to do it") by offering two deployment modes:
- Grounded Mode: The skill is exposed as an atomic tool call. The runtime automatically executes the underlying action sequence for maximum efficiency, while keeping the step-level text guidance visible as a planning aid.
- Guided Mode: The skill acts purely as a step-by-step instructional guide. The automated execution is disabled, and the agent uses its native actions to follow the steps, preserving full autonomy to adapt if the page state deviates from expectations.
Datasets
The authors evaluated WebXSkill across three popular web agent benchmarks:
- WebArena: A highly reproducible, self-hosted environment containing complex multi-page workflows across five distinct websites (evaluated on a cleaned 154-task subset).
- WebVoyager: A live-website benchmark where the authors retained 11 real-world online services.
- Online-Mind2Web: A live-site benchmark featuring 300 tasks spread across more than 100 web domains.
For skill extraction, the authors utilized 2,500 synthetic trajectories for WebArena and 600 for WebVoyager, generated independently of the evaluation tasks to prevent evaluation leakage.
Key Insights and Ideas
- Decoupling Logic from Execution is Crucial: Making the internal logic of code-based skills transparent to the agent prevents execution failures from becoming catastrophic dead-ends.
- Model-Dependent Mode Preference: The optimal deployment mode depends heavily on the underlying LLM's capabilities. Stronger models (like GPT-5 or Qwen3.6-35B) thrive in grounded mode, leveraging the efficiency of macro-like tool execution. Conversely, weaker models (like Qwen3.5-9B) perform significantly better in guided mode, where breaking down the workflow into explicit intermediate steps prevents reasoning failures.
- Cross-Site Skill Transfer: Because guided mode relies on natural language instructions rather than rigid element selectors, skills learned on one set of websites (e.g., WebArena) can successfully generalize and transfer to entirely different live websites (e.g., WebVoyager), surviving structural DOM changes.
Key Results
WebXSkill demonstrated consistent performance gains over strong baselines, including Vanilla ReAct agents and Multi-Action Prediction (MAP) models:
- WebArena: Using GPT-5, WebXSkill achieved a 69.5% success rate in grounded mode and 68.8% in guided mode, comfortably outperforming Vanilla (59.7%) and MAP (63.0%).
- WebVoyager: Grounded mode reached an overall success rate of 86.1% (a 14.2% absolute improvement over Vanilla). Remarkably, deploying WebArena-extracted skills in guided mode on WebVoyager (cross-site transfer) still yielded 85.1% success.
- Online-Mind2Web: Grounded mode consistently achieved the highest task success rates across three different LLM evaluation judges (reaching 72.0% on WebJudge compared to MAP's 68.67%).
Limitations and Future Work
- Upstream Dependency: The quality and coverage of the skill library are fundamentally bounded by the synthetic trajectory generator. If the upstream synthesizer fails to explore certain complex web interactions, the resulting skill library will be sparse.
- Graph Locality: The URL-based skill graph is optimized primarily for in-site retrieval. While guided mode mitigates this for cross-site transfer, mapping functional web contexts across structurally disparate domains remains an open challenge.
Future work could focus on improving the underlying trajectory synthesis and exploring more dynamic, domain-agnostic skill retrieval mechanisms.
Summary updated