Manuscript Offprint

arXiv:2610.25064

One Skill Takes Over: Clashing Agent Skills and a One-File Fix

Parsa Razmara, Seyedarmin Azizi, Ardalan Aryashad

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Agent Skills are instruction files that tell a coding agent how to do one job. Users install skills from many authors, so two skills for the same job can be active at the same time. We ask what a model does when both skill files are in its context: does it combine their compatible rules, or follow one skill and drop the other? We build SKILLCLASH, 16 pairs of same-job skills in which code checks every rule and a reference output shows the best result that can be reached. On seven models from five families, from 4B open models to Qwen3-235B and GPT-4.1, a skill's rules are followed 93 to 99% of the time when it is loaded alone and 61 to 62% when a same-job skill is loaded next to it. Most outputs show takeover: every rule that only one skill asks for is followed, and every rule that only the other skill asks for is dropped. The worked examples inside the skills drive this. When each skill file instead ends with one example that follows both skills, takeover falls to 1 to 15% on the six models we tested. Telling the model which skill has priority does not bring the dropped skill back, and telling it to apply both skills brings the dropped skill back only on the two strong models and leaves the interacting rules broken. One merged skill file written by the strongest model we used, Claude Opus 5.5, lets all seven models follow 96 to 99% of the achievable rules. Most of its gain over a plain list of both skills' rules comes from its one worked example, and such an example helps only when it is correct. Code and data: https://github.com/prazmara/skillclash.

1 Introduction

Agent Skills give coding agents reusable instructions for jobs such as writing commit messages, reviewing code or documenting an API [4]. A skill is a small folder with a SKILL.md file that holds a short description and free-form instructions, and the agent loads it when a matching task comes in [1]. In practice the instructions are a list of rules, often followed by a worked example. Skills come from many authors and are installed side by side, and nothing stops two skills for the same job from being active together. A developer may have a personal commit-message skill and a team one, or a vendor's code-review skill and a house one. Some of their rules conflict, but most can be followed together. When both skills are available, does the model combine their compatible rules, or does it follow one skill at the expense of the other?

Yan et al. [22] measured this situation in practice. They installed pairs of public same-job skills in Claude Code and found that the second skill took about one run in five away from the first. The first skill's own requirements were met less often, while the tasks were still completed. Their fix is a hook that blocks the competing skill. In their harness the agent opens skill files on demand, most of the loss comes from runs that never open the first skill, and only the first skill is scored. This leaves two questions open: what does a model do when both skill files are actually in its context, and can a fix keep the rules of both skills instead of blocking one?

∗^{*}Corresponding author: prazmara@usc.edu.

Preprint.

Skill A: conventional-commits

subject starts with "feat:(", "fix:(", ... contradictory a line "Why: ..." exclusive a line "Risk: low|medium|high" exclusive a line "BREAKING CHANGE: ..." exclusive a line "Tested: yes|no" shared the last line is "Signed-off-by: <name>" entangled

Skill B: ticket-first-commits

subject starts with the ticket, "[PAY-311]" contradictory body is a list of two or more bullets exclusive a line "Component: <name>" exclusive a line "Rollback: ..." exclusive a line "Tested: yes|no" shared ends with a trailer line "Refs: <ID>" entangled

Both skills loaded: skill B takes over

[AUD-77] Add pagination to audit log API

  • Introduce limit and offset parameters to control the number of records returned
  • Update API response format to include pagination metadata (total, page, pages) Component: audit-api Rollback: Remove pagination parameters and revert response format changes Tested: yes

Refs: AUD-77

One merged meta-skill: both skills followed

feat: add pagination to audit log API

Why: users can now navigate through large volumes of audit log entries without loading all data at once.

  • Introduce pagination parameters (page and page_size) in the audit log API endpoint
  • Update the response format to include pagination metadata (total, page, page_size)

Component: audit-api Risk: low BREAKING CHANGE: none Rollback: revert this commit Tested: yes

Refs: AUD-77 Signed-off-by: Omar Haddad

Figure 1: A case from SKILLCLASH. Top: two skills for the same job, with each rule shortened and labeled by its kind (Section 3). Bottom: outputs of Qwen3-4B for the request “Write the commit message: add pagination to the audit log API. Ticket AUD-77. Author: Omar Haddad. Component: audit-api.” Lines are shaded by the skill whose rule they follow (blue for A, orange for B, gray for the shared rule). Left: with both skills loaded, the model follows all six rules of B and only the shared rule of A, in either load order. Right: with one meta-skill written by Claude Opus 5.5 (Section 5), with A as the primary, the output follows all ten achievable rules.

Figure 1 shows what we find on one case. With both skills loaded, the model writes skill B's format in full and ignores skill A, including the rules of A that conflict with nothing. We call this pattern takeover. With the two skills merged into one file, the same model follows the rules of both. Yan et al. [22] already report that one skill can take the place of another. We measure takeover with both files in the context and both skills scored, so the choice of which file to open plays no role.

References (22)