The Mental Model — One Source, Two Runtimes
Zones and Skill Profiles: What an Update May and May Not Touch
Your Customizations Are Protected by Design
A toolkit that overwrote your project's personality on every update would be unusable. Files are classified into zones, and the updater honors them:
| Zone | Behavior on update |
|---|---|
| Template | Refreshed from the toolkit (workflows, shared skills, core helpers) |
| Project | Never overwritten (local settings, bespoke skills) |
| Mixed | Template parts refresh, your parts are merged (role files, root instructions) |
Merging is the default. --merge is still accepted as a compatible spelling of that default; --no-merge skips the merges, with warnings. Neither is a way to overwrite personalized roles or local settings.
Adding to a Shared Skill Safely
Say you want a project-specific rule inside a toolkit-owned skill. Edit it in place and the next sync clobbers it. Use a marker instead:
<!-- @@project-additions -->
Everything below this line is yours and survives updates.
For a paragraph that must sit inside an existing section, use the paired fence <!-- @@project-additions:start --> and <!-- @@project-additions:end -->. Both forms are only recognized outside fenced code blocks, so documentation that merely shows the marker does not accidentally freeze its section.
Choosing What You Receive: Skill Profiles
New in v6.15. A project picks which shared skills and roles it gets, in .claude/update-config.json:
{ "skillProfile": "knowledge", "skillInclude": ["tailwind-css-patterns"], "skillExclude": ["review-status"] }
| Profile | For | Ships |
|---|---|---|
app |
Application repositories | The full toolkit |
knowledge |
Planning and documentation repositories | Planning, project creation, the builders and the workflow core, without the maintenance chain (sweep, retro, onboard) and several review workflows such as review-check-templates |
agent |
Writing and research | ghostwriting, content-formats, research, remember, with the shadow and product-strategist roles |
- A profile is an allow-list: a new toolkit skill stays out of it until the toolkit adds it there.
skillIncludeadds skills andskillExcluderemoves them. WithoutskillProfile, every skill except the excluded ones ships, and every role ships.- Your project-bespoke skills and roles are never excluded; a profile only governs toolkit skills.
- The selection must be closed. Install, update and
render-shared-agents.js --checkrefuse a selection where a kept skill or role still invokes a dropped one, and list eachcaller → dropped skill (file:line).node .claude/core/skill-profile.js checkshows the effective set;skill-profile.js suggest <skill>shows what else would have to go. - Switching to a leaner selection removes the dropped toolkit outputs on the next update, but only unedited ones.
--dry-runlists them asPRUNElines; an edited generated output stops the update as a conflict.
Role personas, Project Context, bespoke skills, marked project additions and local settings are the things a merge keeps. If you are tempted to customize something not on that list, put it behind a project-additions marker first. And if a profile check refuses your selection, read its caller list: it is telling you which kept workflow still depends on what you dropped.
How do you add a project-specific rule to a toolkit-owned shared skill so updates do not erase it?