Skillator
Read skillator --help and the relevant subcommand's help for the installed version's syntax and options.
Workflow
- Inspect the requested scope using
target list,user list,targets list, orlibrary locations. Resolve the project path and skill folder from the request and current directory. Useuseronly for account-wide changes. For inspection requests, report the findings and finish here. - For a skill change, find its source key and source-relative path with
skillator library list [filter] --format json. Use those fields as its selector. If multiple results still fit the request, ask the user to choose. For a project missing configuration, preview and applyskillator initbefore changing skills. - Preview each change with
--check --format json. Account for every affected path. If a change is blocked or needs recovery, resolve the reported cause before applying it. When--forceis required, proceed only if the user has authorized replacing or removing the affected content; otherwise ask with the path and reason. - Apply the previewed command without
--check, keeping the same scope and selector. Add--forceonly when step 3 permits it. - Verify with the corresponding list or check command. Finish when saved choices and installed skills match the request. Report any remaining mismatch and its affected path.
Linking and copying
Prefer link so library edits appear immediately. Use copy when the user wants an independent snapshot. Preserve edits to a copied skill unless replacing them is authorized.
Library and registry changes
For a remote collection, clone it with Git, then register its local folder with library add. Registration makes skills available for selection; linking or copying activates them.
Removing a library folder unregisters it and leaves its files and saved skill choices in place. Report any choices that will lose their source. When pruning library or worktree registrations, review every path the preview would forget. Verify the resulting registrations with library locations or targets list.
Worktree sync
Use Git to create a linked worktree when requested. Preview and apply skillator sync worktree for that destination, then verify its skills and its entry in targets list.
Worktree sync uses the primary worktree's choices and this machine's library. Use sync target when the intent is to apply a checkout's own saved choices. Sync reads existing settings; use the setup and selection commands when those settings need to change.
An optional repository-local post-checkout hook can run this sync automatically after a populated linked worktree is created. Check it with skillator hook status. Do not rely on it for agent or CI completion: use the explicit sequence below so the workflow is visible and works when hooks are absent or disabled.
git worktree add <directory> <branch-or-commit>
skillator sync worktree <directory>
Use skillator hook install --check before enabling the hook. An existing hook needs explicit --force to be preserved and chained. git worktree add --no-checkout bypasses post-checkout, and SKILLATOR_NO_AUTO_SYNC=1 skips the automatic step for one operation. If an automatic sync reports a failure, retry the explicit command and verify with targets list.