﻿# Cline same-name skills and conflicting rules use different precedence

Understand Cline precedence by artifact type: a global same-name skill wins over a project skill, while conflicting workspace rules take precedence over global rules.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-cline-skill-rule-precedence/
Language: en

## Identify the artifact whose behavior differs

A team puts a customized procedure in its repository, but a developer still gets the globally installed version. The first question is whether that procedure is a skill or a rule. Cline documents different precedence for these artifacts. A file's project location is insufficient to infer that it overrides every personal configuration on the machine.

## Read same-name skill resolution

The [skills guide](https://docs.cline.bot/customization/skills) says a global skill takes precedence over a project skill with the same name. A repository can therefore contain the expected instructions while that developer's active skill comes from elsewhere. Inspect the name and discovered location, then decide whether the project needs a distinct procedure name or a deliberate change to the global installation. Merely rewriting the repository file may leave the selected procedure unchanged.

## Separate metadata visibility from loaded instructions

Cline exposes skill names and descriptions before loading the full instructions when relevant or explicitly invoked. A skill appearing in the menu does not prove which full text was used for a completed task. Check activation and the loaded procedure before diagnosing an implementation failure. Keep descriptions specific enough to distinguish related procedures; identical broad descriptions can make selection ambiguous even after a name collision is removed.

## Contrast the rule precedence contract

The [rules reference](https://docs.cline.bot/customization/cline-rules) says workspace rules take precedence when they conflict with global rules. That is a different contract from same-name skills, not an inconsistency to repair by guessing. The [configuration guide](https://docs.cline.bot/getting-started/config) maps project, global, and compatibility locations. Inventory the relevant artifact in each active path, especially when a historical directory and a current directory coexist. Avoid copying all instructions into every supported folder as a substitute for understanding selection.

## Verify the intended procedure with a bounded task

Use an innocuous difference in a sample procedure to establish which skill was loaded, and a separate rule conflict to confirm the relevant instruction expectation. The [task-contract guide](/journal/learn-codex-task-contract/) makes the outcome concrete; [tool observations](/journal/learn-codex-tool-observation/) distinguish discovery, activation, and execution. Record the artifact type and source location in the handoff. A useful configuration explanation says which instructions actually governed the task rather than asserting that every repository file always has priority.
