Day 4, 20 minutes · advanced
Why it matters
Where you save a skill decides who gets it. Save it in the project and everyone who clones the repository has it. Save it in your home folder and it follows you into every project, but nobody else sees it. Install it with a plugin and it gets a new name. When two skills share a name, only one of them runs when you type it, and it may not be the one you expect.
Today you learn the places a skill can live, which one wins when names clash, how Claude Code picks up a change while a session runs, and how to switch a skill off without deleting it. You test the name clash yourself with a throwaway personal copy of repair-ticket, and you clean it up again so it does not get in the way later.
The places a skill can live
The skills page lists where skills load from. The three you will use:
| Place | Path | Loads in |
|---|---|---|
| Personal | ~/.claude/skills/<skill-name>/SKILL.md |
All your projects on this machine |
| Project | .claude/skills/<skill-name>/SKILL.md |
Sessions in this repository; commit it to share it |
| Plugin | <plugin>/skills/<skill-name>/SKILL.md |
Wherever the plugin is enabled, as /plugin-name:skill-name |
~ is your home folder. On Windows that is your user folder, such as C:\Users\<you>.
Two more exist. An organisation can deploy enterprise skills to every machine through managed settings. And if you sign in with a claude.ai account, Claude Code can sync the skills turned on for that account. The skills page notes that Cowork and cloud sessions do not read the skills on your own machine at ~/.claude/skills/: for those, turn the skill on for your claude.ai account, or, for cloud sessions, commit it to the repository.
Project skills also load from parent folders up to the repository root, so starting Claude Code in a subfolder still finds the root's skills. A .claude/skills/ folder deeper down loads once Claude works on files there.
Which one runs when names clash
When two skills share a name, the skills page sets the order:
- Enterprise over personal, and personal over project. With
repair-ticketin both~/.claude/skills/and the project,/repair-ticketruns your personal one. - A skill over an older command file. The older format, a single file in
.claude/commands/, still works, but a skill with the same name wins. - Plugin skills never clash. They carry the plugin name as a prefix, so both load.
- Your skill over a bundled skill or built-in command of the same name, with exceptions the skills page lists. Pick names that do not copy a built-in command.
This matters for teams. If a colleague has an old personal repair-ticket, the shared project version never runs for them, and they will tell you the skill is broken.
Changes while a session runs
Claude Code watches the personal and project skill folders. When you add, edit or remove a skill there, the running session picks up the change. If a new skill does not show, run /reload-skills, which scans the folders again and reports how many skills were added or removed.
There is one catch with editing a skill mid-task. Once a skill has run, its text sits in the conversation. Claude Code does not re-read the file on later turns, so an edit counts from the next time the skill starts.
Switching a skill off without deleting it
Three switches, from narrow to broad:
disable-model-invocation: truein the frontmatter: Claude cannot start the skill on its own, only you can with/name. Use it for skills with side effects. It also keeps the description out of Claude's context.- The
/skillsmenu: highlight a skill and pressSpaceto cycle how visible it is, thenEscto save. Claude Code stores your choice underskillOverridesin.claude/settings.local.json, your personal settings for this project, so it does not change the shared skill file. You will use this in lesson 5. - Permission rules:
Skill(name)in a deny rule blocks one skill. The skills page shows the full syntax under "Restrict Claude's skill access", and the permissions page explains deny rules.
The steps
- Start Claude Code in Manual mode and open
/skills: findrepair-ticketand its source. - Ask Claude to create a throwaway personal copy with the same name in
~/.claude/skills/. Claude Code asks before it writes in your~/.claudefolder: read it and approve. - Type
/repair-ticket: the personal copy answers, not the project skill. - Ask Claude to delete the personal copy and approve it. Both the new copy and its removal are picked up without a restart.
- Run
/repair-ticketon Nienke's note to check that the project skill is back. - Write down where each of your own skill ideas should live.
Follow the steps for Claude Code below.
Example: Jelle's old copy
Jelle, Odette's partner in the shop, once made his own repair-ticket in his home folder to try things out. When Odette shared the project skill, his tickets still came out in the old format. /repair-ticket ran his personal copy, because personal wins over project. He deleted his copy and the shared one took over. Now the rule in the shop is simple: shop procedures live in the project, personal habits live in your home folder, and no two skills share a name.
Deeper dive
Today's actions
Ticks are not saved without an accountDo it in Claude Code
Claude Code
- Start Claude Code in Manual mode in the practice folder.
cd pennywhistle-shop claude --permission-mode manual - Type
/skills, then typerepairto filter the list. Read whererepair-ticketcomes from, then press Esc. - Paste this prompt. Claude Code asks before it writes in your
~/.claudefolder: read the file and choose Yes.Create a personal skill at ~/.claude/skills/repair-ticket/SKILL.md with exactly this content: --- name: repair-ticket description: Test copy for a name clash. Do not use. disable-model-invocation: true --- Say only: This is the personal copy of repair-ticket. Do nothing else. - Type the skill name on its own. The personal copy answers with one line, because personal skills win over project skills. If the project skill runs instead, type
/reload-skillsand try again./repair-ticket - Ask Claude to delete the personal copy, only that folder, and approve it.
Delete the folder ~/.claude/skills/repair-ticket and nothing else. - Check that the shared skill is back by running it on Nienke's note. Approve the ticket file; the check runs and shows the OK line.
/repair-ticket Make a ticket from notes/nienke.txt - Type
/exitand write down two skill ideas of your own. For each, say whether it belongs in your personal folder or in a project, and why.
Note: ~ is your home folder; on Windows that is your user folder. Delete the personal copy before lesson 5, or it hides the project skill. Your /skills choices are saved in .claude/settings.local.json, which Claude Code keeps out of git when it creates the file.
Paid planNeeds a paid Claude plan (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account. The free Claude plan does not include Claude Code.
Create a free account to save your progress
Free, and no payment details. Your ticks and finished lessons are kept, on every device.
Create a free account I already have an accountCreate a free account to save your progress. Sign in or sign up