cs.SEMar 20, 2026

ContractSkill: Repairable Contract-Based Skills for Multimodal Web Agents

Authors: Zijian Lu, Yiping Zuo, Yupeng Nie, Xin He, Weibei Fan, Lianyong Qi, Shi Jin

Organizations: Nanjing University of Posts and Telecommunications, Nanjing, China · China University of Petroleum (East China), Qingdao, China · Southeast University, Nanjing, China

Abstract

Self-generated skills for web agents are often unstable and can even hurt performance relative to direct acting. We argue that the key bottleneck is not only skill generation quality, but the fact that web skills remain implicit and therefore cannot be checked or locally repaired. To address this, we present ContractSkill, a framework that converts a draft skill into an executable artifact with explicit procedural structure, enabling deterministic verifica tion, fault localization, and minimal local repair. This turns skill refinement from full rewriting into localized editing of a single skill artifact. Experiments on VisualWebArena show that Contract Skill is effective in realistic web environments, while MiniWoB provides a controlled test of the mechanism behind the gain. Under matched transfer layers, repaired artifacts also remain reusable after removing the source model from the loop, providing evi dence of portability within the same benchmark family rather than full-benchmark generalization. These results suggest that the central challenge is not merely generating skills, but mak ing them explicit, executable, and repairable. Code is available at https://github.com/underfitting-lu/contractskill.git.

Figures & tables

Explore similar work

CardsList
  1. WebXSkill: Skill Learning for Autonomous Web Agents

    Apr 14, 2026Zhaoyang Wang, Qianhui Wu, Xuchao Zhang +12LLM Agent Skill LearningLong-Horizon LLM Agents

  2. Contractual Skills: A GovernSpec Design Framework for Enterprise AI Agents

    May 21, 2026Ting LiuLLM AgentsAI Agent Governance

  3. What Keeps Agent Skills from Being Reusable? Evidence from 138K SKILL.md Files

    Aug 9, 2026Chi Zhang, Yimin Liu, Xinze Chen +1LLM Agent Skill Retrieval