You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 missing_sibling errors when Claude skill scripts are pre-existing or shared between skills #628
mocactl promote expects skill scripts to be in its own directory. I tried this on a project where the skills were a mix of human and Claude written skills. Skills can refer to scripts in the repo, and Claude will even create scripts outside of the skill if it thinks multiple skills could use them.
I reproduced this and the warnings are correct — but the message was misdescribing them, which is why they looked wrong. PR #685 fixes the wording.
I rebuilt your layout locally (12 skills under .claude/skills/, plus the scripts/ directory at the repo root) and ran the real check against it. It produces exactly 4 findings:
skill
reference
detect-missing-figures
scripts/build.sh
detect-missing-tables
scripts/build.sh
fix-ocr
scripts/build.sh
restore-lists
scripts/fix_list_starts.rb
All four point at files that live at the repository root, not inside a skill. A config bundle carries each skill's own directory and nothing else, so those files do not travel — a promoted turn that runs scripts/build.sh would fail on a read miss. The files being present in your checkout is exactly what made the message misleading: it said "is not in its directory", which sounds like you put the file in the wrong place, when the real statement is that it will not be in the bundle.
New message:
skill 'fix-ocr' references 'scripts/build.sh', which is not included in the bundle
— only files under the skill's own directory travel
On the requested behavior — searching the whole repo and reporting success — I'd push back: that would silence a warning for a turn that still fails remotely, trading a confusing local warning for a silent run-time failure. The actionable fix for these four is to move or copy the scripts into the skills that use them (or inline the commands), so they actually ship.
Worth noting for the other two cases in the issue: references into .claude/skills/shared/ and across sibling skills do not warn today — the ownership rule filters them before they become findings. The repo-root scripts/ case is the only thing firing here.
And since this is a warn, not an error, it never blocked your promotion — promote only refuses on errors.
Activity
cwiklik commentedon Nov 3, 2026
I reproduced this and the warnings are correct — but the message was misdescribing them, which is why they looked wrong. PR #685 fixes the wording.
I rebuilt your layout locally (12 skills under
.claude/skills/, plus thescripts/directory at the repo root) and ran the real check against it. It produces exactly 4 findings:detect-missing-figuresscripts/build.shdetect-missing-tablesscripts/build.shfix-ocrscripts/build.shrestore-listsscripts/fix_list_starts.rbAll four point at files that live at the repository root, not inside a skill. A config bundle carries each skill's own directory and nothing else, so those files do not travel — a promoted turn that runs
scripts/build.shwould fail on a read miss. The files being present in your checkout is exactly what made the message misleading: it said "is not in its directory", which sounds like you put the file in the wrong place, when the real statement is that it will not be in the bundle.New message:
On the requested behavior — searching the whole repo and reporting success — I'd push back: that would silence a warning for a turn that still fails remotely, trading a confusing local warning for a silent run-time failure. The actionable fix for these four is to move or copy the scripts into the skills that use them (or inline the commands), so they actually ship.
Worth noting for the other two cases in the issue: references into
.claude/skills/shared/and across sibling skills do not warn today — the ownership rule filters them before they become findings. The repo-rootscripts/case is the only thing firing here.And since this is a
warn, not anerror, it never blocked your promotion —promoteonly refuses on errors.fix(config-bundle): say why a missing_sibling reference is absent (#628)
Merge pull request #685 from cwiklik/fix/preflight-missing-sibling-wo…