R157 Do not install project skills into a user-level skills directory

On by default

Install a project’s skills only inside the project, never into a user-level skills directory.

Reason

A skill in a user-level directory takes effect in every project, and shadows a project skill of the same name. A project’s skill installed there acts in other projects too, though it was reviewed only as closely as its own project asks (Art. VII §3).

Verification

A user-level skills directory is one from which an agent tool loads skills in every project, for example ~/.claude/skills or ~/.agents/skills.

Violated when a project’s skill (a file, a directory or a symlink) is put in such a directory.

Provisions of the constitution it cites

Relations

Parent
R149 Agents
Requires
none
Conflicts with
none

Metadata

ID
157
Revision
2
Kind
rule
Status
trial
Slug
project-skills-stay-in-repo
Default level
project
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh