arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.04456cs.SE
收藏

智能体技能如何演化:GitHub上技能的大规模实证研究

How Agent Skills Evolve: A Large-Scale Empirical Study of Skills on GitHub

Zhejiang University(浙江大学);The Hong Kong University of Science and Technology(香港科技大学);Hangzhou City University(杭州城市大学)

Jinjun Huang, Jialun Cao, Junxiao Han, Zhonghao Jiang, Shing-Chi Cheung, Zhongxin Liu

AI总结:

本研究针对GitHub上的智能体技能开展大规模实证研究,构建分类体系与自动化标注流水线,揭示技能演化的五项启示,其数据集为自动化技能技术研究提供基础。

摘要:

基于大语言模型的智能体越来越依赖外部技能,以复用特定任务知识而无需重新训练模型。随着技能成为扩展智能体能力的常见方式,理解其创建与演化对构建可靠的智能体系统至关重要。然而,现有研究主要从静态视角考察智能体技能,很大程度上未探索其在真实仓库中的演化过程,这限制了我们对技能变更背后模式与动机的理解。为填补这一空白,我们开展了智能体技能的大规模实证研究,从GitHub中捕获了84200个技能和750898次提交。我们手动构建了技能组件、变更模式和演化动机的分类体系,并搭建了自动化标注流水线以大规模标注变更。基于该分类体系,我们对技能组成和创建后演化频率进行了定量分析,同时对修改后的组件、变更模式和动机进行了定性评估。研究结果揭示了五项启示:(i)可靠性在技能组成和变更中受到的关注较少,推动了纳入验证与恢复机制的执行契约技能设计;(ii)演化变更集中在项目耦合技能中,呼吁建立自动化的即时技能更新机制;(iii)变更模式以增量丰富与优化为主,推动了诊断和改进不完整技能组件的模式引导型技能增强器;(iv)冗余是实际维护问题,凸显了对上下文高效技能表示的需求;(v)安全驱动的变更在风险降低方面效果有限,提出了需客观验证技能功能与安全性的技能回归测试方法。除这些见解外,我们的数据集为未来自动化技能技术研究提供了基础。

英文摘要:

Large language model-based agents increasingly rely on external skills to reuse task-specific knowledge without retraining the model. As skills become common for extending agent capabilities, understanding creation and evolution is critical for reliable agent systems. However, existing studies mainly examine agent skills from a static perspective, leaving their evolution in real-world repositories largely unexplored. This limits our understanding of the patterns and motivations behind skill changes. To fill this gap, we present a large-scale empirical study of agent skills, capturing 84,200 skills and 750,898 commits from GitHub. We manually construct taxonomies of skill components, change patterns, and evolution motivations, and build an automated annotation pipeline to label changes at scale. Based on the taxonomy, we conduct quantitative analyses of skill composition and post-creation evolution frequency, together with qualitative assessments of modified components, change patterns, and motivations. Our findings reveal five implications: (i) reliability receives less attention in skill composition and change, motivating execution-contract skill design that incorporates verification and recovery mechanisms; (ii) evolution changes concentrate in project-coupled skills, calling for automated just-in-time skill updating mechanisms; (iii) change patterns are dominated by incremental enrichment and refinement, motivating pattern-guided skill enhancers that diagnose and improve incomplete skill components; (iv) redundancy is a practical maintenance issue, highlighting the need for context-efficient skill representation; (v) security-motivated changes show limited risk reduction, suggesting skill regression testing methods that objectively verify skill functionality and security. Beyond these insights, our dataset provides a basis for future studies on automated skill techniques.

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

↑