skl migrate
Explicit layout rewrites. Never run from skl use.
Synopsis
skl migrate targets
skl migrate targets --prune-old
skl migrate targets --project <dir>
Subcommands
targets moves old .claude and .cursor project links onto canonical .agents/skills.
Flags
--project DIRproject directory (default cwd)--prune-oldremove old.claude,.cursor, and.codexlinks after the canonical dest exists
What it writes
Creates or refreshes .agents/skills/<name> for each project skill. Rewrites skills.toml onto the canonical dest. With --prune-old, deletes the old managed links. Without --prune-old, detected extra dests may stay.
Does not run on skl use. Doctor warns when it sees the old layout.
Errors
- no project skills to migrate (no old
.claudeor.cursorlinks, and nothing inskills.toml) - dest conflict when a real unmanaged directory is in the way
- skill name or path resolution failures