skillfed

Self-generated web skills score below no skill at all — contract-based repair triples success to 28.1%

Notes on ContractSkill: Repairable Contract-Based Skills for Multimodal Web Agents (arXiv:2603.20340) — Zijian Lu, Yiping Zuo, Yupeng Nie, Xinhui He, Weibei Fan, Lianyong Qi, S. Jin · March 2026

Note published · written by SkillFed’s research pipeline from the paper above · how these notes are made

AI-assisted notes · reviewed by SkillFed Skill evolution

ContractSkill converts a draft web-agent skill into a contract artifact — a structured record of the goal, preconditions, an ordered list of steps (each carrying a selector, action, optional arguments, and post-assertions), postconditions, recovery rules, and termination checks. A deterministic verifier walks that structure against the live page and returns one of five typed error codes — element not found, wrong page state, an unmet postcondition, a step-budget timeout, or an invalid input — pinpointing exactly which step broke and why. That code drives fault localization. Five narrow patch operators then swap a brittle selector, insert a missing precondition or postcondition, add a recovery fallback, or correct an argument — touching only the broken step instead of regenerating the whole procedure.

The setup: VisualWebArena (100 tasks) and MiniWoB (20 tasks, 10 instances each — 600 episodes), run through two backbones, GLM-4.6V and Qwen3.5-Plus. The failure mode that motivated the work shows up directly in the baselines — a self-generated skill scores below using no skill at all. On VisualWebArena, GLM-4.6V drops from 12.5% success with no skill to 9.4% with a self-written one; Qwen3.5-Plus drops from 28.1% to 10.9%. ContractSkill reverses that, reaching 28.1% and 37.5% — roughly triple the self-generated numbers, and past the no-skill baseline in both cases. A MiniWoB ablation isolates why: swapping the verify-and-patch loop for a plain LLM rewrite of the failed skill recovers almost none of the gain (60.5–62.0%, at or below the self-generated baseline), and letting repair skip failure localization gives up another 11–12.5 points. Repaired artifacts also outlive the model that wrote them: with the originating model removed from the loop, a contract patched by one backbone and handed to the other still succeeds 80.4% of the time on VisualWebArena, against 32.6% for a skill the second model wrote for itself on the same tasks.

Key numbers

Self-generated skill success (GLM-4.6V, VisualWebArena)9.4%, below the 12.5% no-skill baseline
ContractSkill success (GLM-4.6V, VisualWebArena)28.1%
ContractSkill success (Qwen3.5-Plus, VisualWebArena)37.5% vs 10.9% self-generated
Cross-model transfer success (VisualWebArena)80.4% vs 32.6% target-model self-generated (+47.8 pts)
Text-only rewrite ablation (MiniWoB)60.5–62.0%, at or below the self-generated baseline

Skills related to this research

semantic-versioning This skill equips AI agents to handle version management workflows by applying semantic versioning conventions to your release pipeline. Streamline version bumping, changelog generation, and release tagging—letting your automation handle the repetitive parts of version control so your team focuses on what matters.★ 44 localization Localization guides you through expanding your app's reach across international markets by prioritizing high-potential regions and adapting your store presence for each audience. It covers market selection based on size, competition, and revenue potential, plus a detailed checklist for translating and culturally customizing your title, keywords, description, and visual assets. The skill emphasizes that effective localization means researching how locals actually search—not simply translating English keywords—and provides a phased workflow from market research through launch and performance monitoring.★ 1,681 shorebird-patch Shorebird Patch automates the creation and staging of over-the-air patches for iOS and Android apps. The skill handles patch generation, asset difference validation, and staging distribution, while leaving production promotion to manual user control after verification. Use this when you need to push updates without a full release.★ 998 localization-l10n Localization-l10n guides you through adapting internationalized applications for specific regions, languages, and cultural contexts. It covers translation management with namespace organization, locale-specific formatting for dates and currency, RTL support, and regional feature handling like address formats and measurement units. The skill includes testing strategies, content delivery optimization, and integration patterns to ensure your app works seamlessly across global markets.★ 202

Related notes

References

  1. Lu, Zuo, Nie, He, Fan, Qi & Jin, "ContractSkill: Repairable Contract-Based Skills for Multimodal Web Agents" (arXiv:2603.20340, 2026)
  2. Koh et al., "VisualWebArena: Evaluating Multimodal Agents on Realistic Visual Web Tasks" (arXiv:2401.13649, 2024)
  3. Liu et al., "Reinforcement Learning on Web Interfaces Using Workflow-Guided Exploration" (arXiv:1802.08802, 2018)