arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.26256cs.SEcs.AI
收藏

SkillBridge:感知成本的智能体技能跨操作系统兼容性缺陷诊断与修复

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

Anjie Xu, Zixing Wang, Yifeng Cai, Leye Wang

AI总结:

SkillBridge是一种基于契约的三阶段工作流,通过静态分析、动态验证和修复,将跨OS技能的目标任务通过率从30.6%提升至38.4%,且效率远高于均匀随机选择。

摘要:

大语言模型(LLM)智能体越来越多地通过技能复用可执行能力,但某一操作系统(OS)上正常工作的技能可能在另一OS上失效,因为OS假设分布在指南文本、脚本、元数据、安装契约和本地入口点中。在每个OS上运行每个技能来诊断此类故障成本高昂:许多执行会消耗模型令牌、运行器时间和审查精力,才能确定故障是否真正与OS相关。我们提出SkillBridge,这是一种基于契约的工作流,包含三个阶段:静态分析、动态验证和修复。SkillBridge首先筛选3270个技能-目标-OS案例,涵盖Linux、macOS和Windows上的1090个技能,以查找OS敏感的契约证据;随后对选定案例执行动态任务和根本原因审查,确认故障是否由OS假设导致,并修复导致故障的契约字段,如指南文本、包脚本、依赖项或平台声明。修复将审查员判定的目标任务通过率从30.6%提升至38.4%,增幅7.8个百分点。回顾性Linux/macOS预算分析进一步显示了效率效果:SkillBridge通过185次动态验证确认了38个OS问题,而均匀随机选择预计需要约865次验证。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

相关深度报道

↑