sync-starter
Skill1 starsChanged 59 days agoMITView on GitHub
Use when the user asks to pull template improvements into a spawned repo, compare starter drift, or push a generic improvement back to the starter.
2 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- ryanportfolio/Corewise.Academyedited, first seen Oct 3, 2026
- ryanportfolio/HarnessFirmware.comedited, first seen Sep 29, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- ryanportfolio/Corewise.Academy★ 171% same
- ryanportfolio/HarnessFirmware.com★ 069% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- addskillSkill
- adopt-repoSkill
- advocateSkill
- arenaSkill
- astra-reviewSkill
- babysit-ciSkill
- brainstormingSkill
- broSkill
- cavemanSkill
- claude-reviewSkill
- codex-reviewSkill
- dareSkill
- deep-planSkill
- enhance-promptSkill
- external-reviewSkill
- fable-modeSkill
- forge-repo-ui-skillSkill
- handoff-auditSkill
- impartial-reviewSkill
- init-projectSkill
- labSkill
- long-horizonSkill
- optimize-contextSkill
- opus-fullreviewSkill
- perf-loopSkill
- recallSkill
- refineSkill
- serversSkill
- session-hubSkill
- showpieceSkill
- sync-starterSkill
- whySkill
- wow-loopSkill
- wrapupSkill
- writing-plansSkill
- writingSkill
- addskillSkill
- adopt-repoSkill
- advocateSkill
- arenaSkill
- astra-fullreviewSkill
- astra-reviewSkill
- babysit-ciSkill
- brainstormingSkill
- broSkill
- cavemanSkill
- claude-reviewSkill
- codex-fullreviewSkill
- codex-reviewSkill
- compact-reviewSkill
- dareSkill
- deep-planSkill
- enhance-promptSkill
- fable-modeSkill
- forge-repo-ui-skillSkill
- handoff-auditSkill
- impartial-reviewSkill
- init-projectSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 5 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Only these paths are sync candidates:
- Very specific: line 51
Keep supporting resources and licenses.
- Very specific: line 58
After any skill, sync script, compatibility matrix, or skillOverrides change, run node .claude/scripts/sync-codex-skills.mjs --write (it …
- Very specific: line 66
Only when shipping is authorized, branch, stage exactly the selected pulled paths plus .agents/skill-sources.json and deleted adapter …
- Distinctive: line 70
When the user authorized propagation of a generic skill fix / new skill / hook improvement made in THIS project:
- Very specific: line 76
If this machine has the template checked out locally (e.g.
- Very specific: line 88
Don't git checkout starter/main -- .claude wholesale — it clobbers diverged-by-design files.
- Very specific: line 89
Don't overwrite settings.json — union the permission lists.
- Very specific: line 90
Don't pull a templateOnly path from the template's manifest into the project.
- Very specific: line 91
Don't update, replace, or remove a skill the project lists in .agents/skill-locks.json, and don't ignore a lock file you cannot read.
- Distinctive: line 92
Don't push project-flavored content back to the template — genericize or leave it.
- Distinctive: line 93
Don't treat a CLAUDE.md diff as pullable — kernel changes are always a hand-merge.
- Very specific: line 94
Don't ship a generated .agents/skills/ adapter.
- Distinctive: line 96
Don't sync on every session.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
sync-starter — two-way sync with the claude-starter template
Spawned projects freeze the template at spawn date; the template keeps improving. This skill closes the gap in both directions. Template repo: ryanportfolio/Harness-Firmware (formerly claude-starter; the old URL redirects, but use the new one).
Direction A: Pull template improvements into this project
Step 1: Wire the remote (once)
git remote get-url starter || git remote add starter https://github.com/ryanportfolio/Harness-Firmware.git
git fetch starterStep 2: Diff the shared surface
Only these paths are sync candidates:
git diff --stat HEAD starter/main -- AGENTS.md .agents/CODEX-SKILL-COMPATIBILITY.md .agents/skill-modes.json .agents/skill-sources.json .agents/template-manifest.json .agents/skills .claude/skills .claude/hooks .claude/scripts .claude/output-styles .claude/settings.jsonDiverged-by-design — NEVER bulk-pull these:
CLAUDE.md— project-configured (FILL IN sections replaced). If the template's kernel changed, read the template version (git show starter/main:CLAUDE.md), and hand-merge the relevant rule into the project copy..claude/reference/*— project knowledge. Template only ships skeletons.
Template-only: NEVER pull these. Every path under templateOnly in the template's .agents/template-manifest.json (git show starter/main:.agents/template-manifest.json). They maintain or distribute the template itself (its README, changelog, bootstrap scripts, CI workflow, research docs), and new projects are created without them. Leave them out of every selection, even when they differ.
Locked skills: NEVER pull these. Read the project's own .agents/skill-locks.json (not the template's), shape {"version": 1, "locks": {"<skill>": "<reason>"}}. Every skill named under locks stays exactly as the project has it: never update, replace, or remove its .claude/skills/<name>/ or .agents/skills/<name>/ folder, and keep the project's own entries for it in .agents/skill-modes.json and .agents/skill-sources.json. Leave locked folders out of the diff (':!.claude/skills/<name>' ':!.agents/skills/<name>') and out of every selection. A missing file means nothing is locked. A file that exists but cannot be read, is not valid JSON, or has no locks object stops the pull: report the error and pull nothing until it is fixed; never treat it as empty.
Step 3: Present and pick
Group the diff for the user: new skills / changed skills / Codex boundary+compatibility / hooks+scripts+settings, one line each on what changed (read the actual diff, don't guess from filenames). List each locked skill that was skipped with its reason from the lock file, so the user sees what they are not getting. Ask which to take (plain chat, numbered).
Step 4: Apply selectively
Compare maintained native bodies and every referenced resource, together with .agents/skill-modes.json and .agents/skill-sources.json. Reconcile each selected ownership change with its corresponding files. Preserve project customizations and deliberate disables; merge customized native files and registry entries instead of checking out whole directories. Sync never writes Codex skills; every port is maintained by hand. Take a skill's upstream .agents/skill-sources.json hash only with its unchanged upstream Claude skill; for a customized Claude skill registered native, update its Codex port and run node .claude/scripts/sync-codex-skills.mjs --baseline <name>. A disabled skill has no port and no recorded hash. Inspect the registry first to distinguish ownership. When merging registry files, keep every locked skill's entries as the project has them. Apply already-approved selections without another permission round.
git checkout starter/main -- <picked-paths>Handle selected retirements explicitly before running the sync check: checkout does not remove
files absent upstream. For this migration, remove .agents/skills/unslop/SKILL.md
and .claude/skills/writing-skills/SKILL.md, plus any retired counterpart entrypoint
left by an earlier partial sync. First inspect and back up local customizations;
move useful behavior into the replacement skill or preserve it outside discovery.
Keep supporting resources and licenses. Drop the unslop ownership entry; an
inherited writing-skills: disabled entry may remain inert. Confirm no retired
name retains a SKILL.md in either root before running the sync check. A retirement never
removes a locked skill; report it instead.
For settings.json: merge, don't overwrite — the project may have its own permission additions. Read both, union the allow lists, keep project-specific hooks.
After any skill, sync script, compatibility matrix, or skillOverrides change, run
node .claude/scripts/sync-codex-skills.mjs --write (it deletes leftover generated
adapters and warns about unregistered skills or Claude skills that drifted from their port),
and node .claude/scripts/test-codex-contract.mjs. Stage
.agents/skill-sources.json and any deleted adapter files along with the selected pulled paths.
Step 5: Ship
Only when shipping is authorized, branch, stage exactly the selected pulled paths plus .agents/skill-sources.json and deleted adapter paths, commit (Sync from claude-starter: <what>), push, and open a PR, per the project's git rule.
Direction B: Push a generic improvement back to the template
When the user authorized propagation of a generic skill fix / new skill / hook improvement made in THIS project:
A lock in the project's .agents/skill-locks.json changes nothing in this direction. It keeps template changes out of the project; it does not block or require pushing a skill back.
- Genericize first. Strip project-specific names, paths, URLs, stack assumptions — the same scrub discipline the template was built with. If it can't be genericized, it doesn't go back.
- Get the change to the template repo:
- If this machine has the template checked out locally (e.g.
~/code/Harness-Firmware), apply the change there directly. - Otherwise clone it to scratch:
git clone https://github.com/ryanportfolio/Harness-Firmware .tmp/Harness-Firmware, apply, push from there.
- If this machine has the template checked out locally (e.g.
- Commit to the template on a branch, push, open the PR (or follow an explicit user-approved branch strategy). Use a PR for
bootstrap/,.claude/hooks/, orsettings.jsonby default: those are the spawn-critical surface, and thevalidate-templateAction'sgenerator-smokejob exists because spawn time is the worst possible moment for them to fail. Skill or doc prose is a different blast radius; a broken.ps1is not.- CI gates both
pushandpull_request, so direct-to-main is still checked — just after the change is live to everyone spawning a project, which is why PR is the default. - That dual trigger means a PR shows two check runs and sits at
mergeStateStatus: UNSTABLEuntil the second finishes. Wait for it (gh run watch <id> --exit-status); don't merge on the first green. - The template allows squash only:
gh pr merge <n> --squash. - If the change touched a skill registered
native, update its Codex version in.agents/skills/to match, runnode .claude/scripts/sync-codex-skills.mjs --baseline <name>, thennode .claude/scripts/sync-codex-skills.mjs --check. Adisabled(Claude-only) skill takes no port or baseline; run--checkonly. CI runs the same check and warns when a Claude skill changed without a re-baseline, or when a skill has nonativeordisabledentry.
- CI gates both
- Bump the plugin version when the change touches the shared surface (
.claude/skills,.claude/hooks,.claude/output-styles,.claude/settings.json): editversionin the template's.claude-plugin/plugin.json— patch for fixes, minor for new skills. Plugin installs only receive updates when this number changes; spawned projects get changes via Direction A regardless. - Mention that other spawned projects pick it up via Direction A.
Anti-patterns
- Don't
git checkout starter/main -- .claudewholesale — it clobbers diverged-by-design files. - Don't overwrite
settings.json— union the permission lists. - Don't pull a
templateOnlypath from the template's manifest into the project. - Don't update, replace, or remove a skill the project lists in
.agents/skill-locks.json, and don't ignore a lock file you cannot read. - Don't push project-flavored content back to the template — genericize or leave it.
- Don't treat a CLAUDE.md diff as pullable — kernel changes are always a hand-merge.
- Don't ship a generated
.agents/skills/adapter. Write a native port under.agents/skills/<name>/and register itnative, or register the skilldisabled. - Don't sync on every session. This is occasional maintenance, user-triggered.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

