skl sync
Hash-sync the personal library only. Never agent or project dirs.
Synopsis
skl sync
skl sync --keep-local
skl sync --keep-remote
skl sync --allow-warnings
Flags
--keep-localresolves every tree-hash conflict by keeping local (overwrite remote).--keep-remoteresolves every tree-hash conflict by keeping remote (overwrite local).--allow-warningsallows warning-level secret findings. Blocks still refuse upload.
--keep-local and --keep-remote are mutually exclusive. With neither flag, a TTY prompts. A non-TTY requires one of the flags.
What it writes
- Uploads and downloads blobs under
{data_dir}/skills - Updates
state.dbhashes and last-sync meta - Does not write
.agents/skills,skills.toml, or home agent dirs
Requires a device token and an existing state.db. Secret scan runs before upload.
Errors
not logged in; run skl loginno local skill index; run skl init firstupload blocked: …(block-level secrets)conflict: …when unresolvednon-interactive sync needs --keep-local or --keep-remotecannot reach API at <url>