One Skill Too Many: How Co-Installed Skills Conflict in Coding Agents
Chaoliang Yan, Zihao Xu, Yuekang Li, Shangzhi Xu, Yi Liu, Gelei Deng, Siqi Ma
Abstract
Coding agents are extended with agent skills, directories whose SKILL.md tells the model when and how to perform a task. Because skills come from independent sources (teams, developers, plugins, copied collections), an installed skill can be co-installed with a similar skill doing the same job, and the model picks between them by name and description alone. In a conflict, the installed skill loses core functions (e.g., a ban on touching git) because the similar skill runs instead or changes what it does. The task still passes, so benchmarks that check only task completion miss such cases. We present the first empirical study of such conflicts. From snapshots of 20,947 repositories, we mine 822,109 candidate similar-skill pairs, have an LLM judge a stratified sample of 3,754, and run 312 confirmed pairs on three models (6,368 runs, 169,294 tool calls, 542 agent-hours). We report five findings. (1) Conflict-prone skills are common: nearly one in four installed skills is co-installed with one that does the same job, and 37% of judged skills sit inside copied collections. (2) Most such pairs involve normative skills, then capability skills. (3) Without lowering task completion, a similar skill takes one in five runs from the installed skill, and runs that open the similar skill first lose over a third of the exclusive core functions that only the installed skill fulfills. (4) Install location decides which skill runs, listing order barely matters, and the final reply names the skill used in only 0.9% of substituted runs. (5) Conflicts are decided at the first skill read, almost always before any file is changed, and a pre-tool hook at that read restores fidelity on exclusive core functions to the level of runs that open the installed skill first. Benchmarks should thus score exclusive core functions, and platforms should guard the first read and show which skill ran.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
Related papers
Context Clash: Prevalence and Limits of Lightweight Detectors for Cross-Tool Coding-Agent Instruction Conflicts
Shared title terminologycs.SEAditi Patodiya
HPCAgent-Bench: A Framework for Sound Benchmarking of Code-Optimizing Agents, Harnesses, and Skills
Shared title terminologycs.SEYakup Koray Budanaz, Lorenzo Paleari, Marcin Copik et al.
Skill Roulette: Measuring Skill Invocation Rate Across LLM Coding Agents
Shared title terminologycs.SEJin Rae Lee, Jai Lal Lulla, Sebastian Baltes et al.
Cortex: Measurement-Gated Evolution and Pruning of Coding-Agent Skills and Rules
Shared title terminologycs.SESamuele Giampieri
Agent Skill Evolution: How Revisions Affect Coding Agents
Shared title terminologycs.SEJiajie Wang, Yutong Zhao, Tianlin Li et al.
VeilPRBench: Can Code Review Agents Catch Vulnerabilities in Pull Requests That Resolve Real Issues?
Shared title terminologycs.SEXinhao Song, Xiaofei Yin, Yuxuan Xiao et al.