Agent 与自动化 4.0 · 优秀 2026-11-19 · 论文

SkillBridge: Cost-Aware Diagnosis and Repair of Cross-OS Compatibility Defects in Agent Skills

LLM 智能体越来越多地以技能复用可执行能力,但同一技能换个 OS 可能就跑不通,OS 假设散布在指南文本, 脚本, 元数据和安装契约里;逐对全跑代价高昂;SkillBridge 用契约化三段流程处理:静态分析筛出 OS 敏感的契约证据(1090 技能, 3270 用例,跨 Linux/macOS/Windows);动态验证加根因评审确认失败确由 OS 假设引起;再修复引发失败的契约字段,如指南文本, 包脚本, 依赖或平台声明;修复把评审判定的目标任务通过率从 30.6% 提到 38.4%;回溯分析显示确认 38 个 OS 问题只需 185 次验证,随机全跑要约 865 次

打开原文回到归档

SkillBridge: Cost-Aware Diagnosis and Repair of Cross-OS Compatibility Defects in Agent Skills

中文导读

LLM 智能体越来越多地以技能复用可执行能力,但同一技能换个 OS 可能就跑不通,OS 假设散布在指南文本, 脚本, 元数据和安装契约里;逐对全跑代价高昂;SkillBridge 用契约化三段流程处理:静态分析筛出 OS 敏感的契约证据(1090 技能, 3270 用例,跨 Linux/macOS/Windows);动态验证加根因评审确认失败确由 OS 假设引起;再修复引发失败的契约字段,如指南文本, 包脚本, 依赖或平台声明;修复把评审判定的目标任务通过率从 30.6% 提到 38.4%;回溯分析显示确认 38 个 OS 问题只需 185 次验证,随机全跑要约 865 次

为什么值得关注

SkillBridge 用契约分析加动态验证定位技能跨 OS 失败根因并修复契约字段,38 个 OS 问题的验证成本不到随机的四分之一

以上判断锚定论文摘要本身,具体数字与说法可在下方 English Abstract 中对照验证。

关键信息

  • 论文标题:SkillBridge: Cost-Aware Diagnosis and Repair of Cross-OS Compatibility Defects in Agent Skills
  • 作者:Anjie Xu, Zixing Wang, Yifeng Cai, Leye Wang
  • arXiv:https://arxiv.org/abs/2611.26256
  • 发布时间:2026-11-19
  • arXiv 分类:cs.SE, cs.AI
  • 关联标签:agents, skills, compatibility, cost

English Abstract

LLM agents increasingly reuse executable capabilities through skills, but a skill that works on one OS may fail on another because OS assumptions are spread across guide text, scripts, metadata, install contracts, and local entrypoints. Diagnosing such failures by running every skill on every OS is expensive: many executions spend model tokens, runner time, and review effort before revealing whether the failure is truly OS-related. We present SkillBridge, a contract-based workflow with three stages: static analysis, dynamic validation, and repair. SkillBridge first screens 3,270 skill-target-OS cases, covering 1,090 skills across Linux, macOS, and Windows, to find OS-sensitive contract evidence. It then runs dynamic tasks and root-cause review on selected cases to confirm whether a failure is caused by an OS assumption, and repairs the contract field that caused the failure, such as guide text, package scripts, dependencies, or platform declarations. Repair raises the reviewer-judged target-task pass rate from 30.6% to 38.4%, a gain of 7.8 percentage points. A retrospective Linux/macOS budget analysis further shows the efficiency effect: SkillBridge reaches 38 confirmed OS issues with 185 dynamic validations, where uniform random selection would require about 865 validations in expectation.

English Summary

Agents increasingly reuse executable capabilities as skills, but a skill that works on one OS can fail on another because OS assumptions hide across guide text, scripts, metadata and install contracts; running every skill on every OS is expensive in tokens, runner time and review effort. SkillBridge is a contract-based workflow: static analysis, dynamic validation, then repair. It screens 3,270 skill-target-OS cases covering 1,090 skills on Linux, macOS and Windows for OS-sensitive contract evidence, runs dynamic tasks and root-cause review on selected cases, and repairs the failing contract field (guide text, scripts, dependencies, platform declarations). Repair raises reviewer-judged target-task pass rate from 30.6% to 38.4%; a retrospective analysis reaches 38 confirmed OS issues with 185 dynamic validations versus about 865 expected under uniform selection. Accepted at ICSE 2027.

Obsidian Notes

  • 内容由 opencli arxiv paper 拉取 arXiv 元数据与摘要生成。
  • 中文导读与价值判断均锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未补充论文摘要之外的实验细节。