Skip to main content

Module skill_installer

Module skill_installer 

Source
Expand description

Install the embedded skills into agent skill directories.

The destinations live outside any instance — under the invoking user’s home — so nothing here touches an instance manifest. Two references decide what a destination holds: the embedded payload, and the record of what a previous apply wrote there. Bytes matching either are the tool’s own and may be replaced; anything else is the user’s and refuses.

The preview-by-default, list-every-conflict, and restore-on-failure conventions mirror the instance installer, and for the same reason: a partial apply across two roots leaves an agent reading one version of a skill and another agent reading a different one.

Structs§

Layout
Where one run writes: the agent roots, the shared root, and the record.

Functions§

install
Install every embedded skill under each root, previewing by default.
uninstall
Remove every installed skill under each root, previewing by default.