skl capture
Promote a project skill into the personal library (~/.local/share/skl/skills).
Synopsis
skl capture <path>
skl capture <path> --force --as <name> --keep-copy --project <dir>
Flags
PATHproject skill path or name, resolved under.agents/skillsand sticky extras--forceoverwrite an existing library skill of the same name--as NAMEcapture under a different skill name--keep-copycopy into the library and leave the project dir as a real copy--project DIRproject directory (default cwd)
Does not prompt.
What it writes
Copies the source tree into {data_dir}/skills/<name>/. Indexes state.db. Updates skills.toml with a names-only entry. Without --keep-copy, replaces the project dir with a symlink to the library. May piggyback auto-sync.
A source that already symlinks at the library skill is a no-op after reindex.
Errors
capture path is not a skill directoryskill directory … is missing SKILL.md- skill already exists in the personal library (needs
--forceor--as) skill not foundwhen the argument is neither a path nor a name under project destsinvalid skill nameproject skill … already links … but that library skill is missing