Day 6, 30 minutes · advanced
Why it matters
A skill that lives only on Odette's laptop helps one person. Jelle, her partner in the shop, writes tickets too, and his should look the same. The good news: a project skill is just a folder in the repository. Commit it, and everyone who clones the repository gets it, with no extra install.
Sharing works the other way too. One day someone sends you a skill, or you find a plugin full of them. A skill is instructions Claude follows, and it can bring scripts that run on your machine. Today you share repair-ticket the plain way, through git, then wrap it in a small plugin to see how that differs, and you learn what to read before you trust a skill from someone else.
Share it through the repository
The skills page lists three ways to share a skill:
- Project skills: commit
.claude/skills/to version control. Anyone who clones the repository gets them. - Plugins: put the skill in a plugin's
skills/folder and share the plugin. - Managed: an organisation deploys skills to every machine through managed settings.
For a two-person shop the first one is enough. You already committed the skill in earlier lessons. Today you prove it: you clone the repository into a second folder, as Jelle would, and see the skill there.
Keep personal settings out of the commit. Your /skills choices from lesson 5 live in .claude/settings.local.json, which is meant for you alone.
A plugin at a glance
A plugin is a folder that bundles skills, subagents, hooks and more into one unit you install. The plugin guide says to keep a standalone setup while it serves one project, and to make a plugin when you want the same setup in several projects, want to share it with others or want to publish versions.
A plugin with one skill has two parts:
pennywhistle-tools/
.claude-plugin/
plugin.json
skills/
repair-ticket/
SKILL.md
template.txt
scripts/check-ticket.sh
plugin.json is the manifest. Its name is required and becomes the prefix of every skill in the plugin, so this skill runs as /pennywhistle-tools:repair-ticket. Only plugin.json goes in .claude-plugin/; the skills/ folder sits next to it. claude plugin validate checks the manifest and the skill files, and claude --plugin-dir loads the plugin for one session without installing it. Because the skill uses ${CLAUDE_SKILL_DIR}, its script path still works inside the plugin.
Plugins usually come from a marketplace, a catalog that lists plugins and where to fetch them. Claude Code adds Anthropic's official marketplace the first time you start an interactive terminal session, and /plugin shows what it offers. Publishing your own marketplace is beyond this course; the plugin guide links to the steps.
Trust: read before you run
The plugin security page is blunt: a plugin you install can run any code on your machine with your user rights. The same care applies to a skill in a repository you clone. Before you run Claude Code in someone else's project, open each SKILL.md and look for:
allowed-tools: tools the skill may use without asking. The skills page warns that a project skill'sallowed-toolsapplies even in aclaude -prun in a folder you never trusted.- An exclamation mark followed by a command in backticks, or a code block whose opening fence ends in an exclamation mark: commands Claude Code runs as the skill loads, before Claude sees the text.
hooksin the frontmatter, and every script in the folder.
For a plugin, the /plugin menu shows a Will install list with its skills, hooks and servers. The security page says to read the plugin's source as well, because that list shows that a hook exists but not what it runs.
Sharing skills with a client team brings more questions: who owns them, how they are reviewed, how they reach every laptop. The course Ship AI at the client covers that side.
The steps
- Check that the skill is committed and that your local settings are not.
- Clone the repository into a second folder, as Jelle would, start Claude Code there and find
repair-ticketin/skills. - Ask Claude to build the plugin folder next to the shop folder, with the manifest and a copy of the skill.
- Validate the plugin in your terminal.
- Load it for one session with
--plugin-dirand run/pennywhistle-tools:repair-ticketon a note. - Review the skill as a stranger would: read its
allowed-tools, its scripts and any!lines, and write down what you found.
Follow the steps for Claude Code below.
Example: Jelle's first morning
Jelle cloned the shop repository on his own laptop, opened Claude Code, accepted the trust question for the new folder and pasted a note about a wobbly back wheel. Claude used repair-ticket, wrote PW-0005, ran the check and showed the OK line. He had installed nothing. Before he started, he spent two minutes reading SKILL.md and the script, because Odette told him to do that with every skill, even hers.
Today's actions
Ticks are not saved without an accountDo it in Claude Code
Claude Code
- In your terminal, list what git tracks under
.claude: the skill files, notsettings.local.json. Then clone the repository as Jelle would and start Claude Code in the copy. Accept the trust question.cd pennywhistle-shop git ls-files .claude cd .. git clone pennywhistle-shop jelle-shop cd jelle-shop claude --permission-mode manual - Type
/skillsand findrepair-ticket: it came with the clone, nothing was installed. Press Esc, then type/exit. - Go back to the shop folder and start Claude Code in Manual mode.
cd ../pennywhistle-shop claude --permission-mode manual - Paste this prompt and press Enter. Approve each write and the copy command.
Create a plugin folder next to this project at ../pennywhistle-tools. Change nothing in this project. 1. Create ../pennywhistle-tools/.claude-plugin/plugin.json with exactly: { "name": "pennywhistle-tools", "description": "Repair ticket skill for Pennywhistle Cycles", "version": "1.0.0", "author": { "name": "Odette" } } 2. Copy the folder .claude/skills/repair-ticket with all its files to ../pennywhistle-tools/skills/repair-ticket. - Type
/exitand validate the plugin from your terminal. It should end with Validation passed.claude plugin validate ../pennywhistle-tools - Start a session with the plugin loaded for this session only.
claude --plugin-dir ../pennywhistle-tools --permission-mode manual - Run the plugin's skill by its full name and approve the ticket file.
/pennywhistle-tools:repair-ticket Make a ticket from this note: Nienke, e-bike, back wheel wobbles, about 30 euro. - Ask Claude to review the skill as a stranger would, read the answer, then type
/exit.Review .claude/skills/repair-ticket as if a stranger had sent it to me. List its allowed-tools, every command it can run without asking, any line that runs a command as the skill loads, and any hooks. Say what each can do on my machine. Change nothing.
Note: Run the commands in PowerShell on Windows or in any terminal on macOS and Linux. --plugin-dir loads the plugin for that session only; nothing is installed. Delete the jelle-shop folder afterwards if you like. Before you install someone else's plugin, read its source, not only the Will install list in /plugin.
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