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
sync keeps orphaned symlinks to "external location" after data migration even with --force #28
After the recent data migration from ~/.config/skillshare to AppData/Roaming/skillshare, I uninstalled a skill named skill-creator-claude. However, when running skillshare sync, I get the following warning for multiple targets:
! skill-creator-claude: symlink to external location (C:\Users\25977\.config\skillshare\skills\skill-creator-claude), kept
It seems the symlinks in the target directories (e.g., .cursor/skills/skill-creator-claude, .gemini/skills/skill-creator-claude, etc.) still point to the old .config path, which is now considered an "external location".
Steps to Reproduce
Have skills installed in the old ~/.config/skillshare directory.
Upgrade/Migrate to the new AppData/Roaming/skillshare path.
Uninstall a skill (e.g., skillshare uninstall skill-creator-claude).
Run skillshare sync.
Expected Behavior
skillshare sync should identify that the skill has been uninstalled from the source and prune the corresponding symlinks in the target directories, even if they point to the old path.
Actual Behavior
The symlinks are "kept" because they point to an external location. Even running skillshare sync --force or skillshare sync -g --force does not resolve the issue or prune these orphaned links.
Thank you so much for reporting this — your finding is extremely valuable! 🙏
You're right that after the data migration, symlinks in target directories still point to the old ~/.config/skillshare/skills/ path. Since sync treats those as "external location" symlinks, it preserves them instead of pruning — even with --force.
As you mentioned, uninstalling and reinstalling the skill does resolve the issue since it recreates the symlinks with the correct new path. That's a valid workaround for now.
That said, I still want to make the upgrade experience seamless so users don't have to manually fix things like this. I'll work on a proper fix to handle orphaned symlinks from old paths during migration.
Thanks again for the detailed report and reproduction steps — this helps a lot!
This has been fixed in v0.13.1. After upgrading, skillshare sync will automatically prune broken external symlinks from old paths. Thanks again for reporting!
Activity
leeeezx commentedon Feb 16, 2026
maybe because i run
upgradefirst, then rununinstall,sync, the location already changeleeeezx commentedon Feb 16, 2026
It can be fixed by manually delete every folder
runkids commentedon Feb 16, 2026
Thank you so much for reporting this — your finding is extremely valuable! 🙏
You're right that after the data migration, symlinks in target directories still point to the old
~/.config/skillshare/skills/path. Sincesynctreats those as "external location" symlinks, it preserves them instead of pruning — even with--force.As you mentioned, uninstalling and reinstalling the skill does resolve the issue since it recreates the symlinks with the correct new path. That's a valid workaround for now.
That said, I still want to make the upgrade experience seamless so users don't have to manually fix things like this. I'll work on a proper fix to handle orphaned symlinks from old paths during migration.
Thanks again for the detailed report and reproduction steps — this helps a lot!
fix: prune broken external symlinks after data migration (#28)
docs: add orphan external symlink fix to CHANGELOG (#28)
runkids commentedon Feb 16, 2026
This has been fixed in v0.13.1. After upgrading,
skillshare syncwill automatically prune broken external symlinks from old paths. Thanks again for reporting!