chainabit skills add
Import a skill package from a folder or an https Git repository at a commit; --to names the destination
Synopsis
text
chainabit skills add <source> --to <destination> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<source> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--to <destination> | local (this computer) or cloud (the active workspace). Required. | — |
--revision <sha> | Git: the 40-character commit to import | — |
--path <dir> | Git: the package folder inside the repository | — |
--sha256 <digest> | Git: refuse unless the package has this digest | — |
--confirm-install | Explicitly approve placing the verified package on this computer | — |
--confirm | Cloud: explicitly approve uploading the shown files to the active workspace | — |
--overwrite | Cloud: publish a new version when the skill already exists | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Imports a skill package; --to is required and names the destination.
--to local: places the package on this computer. The source is a folder or anhttpsGit repository at a 40-character commit (--revision, with--pathfor a folder inside the repository and--sha256to refuse any other digest). The package needs achainabit-plugin.jsonmanifest. The command first shows the package, source, digest, what it requests and what it provides, then needs--confirm-install. A newly imported package stays inactive until you activate it, and activation grants no file, shell, network or account authority.--to cloud: uploads a skill folder (aSKILL.mdat its root) to the active workspace. The command first shows the destination workspace, source, SHA-256 and every file with its size, then needs--confirm. A skill that already exists is refused unless you pass--overwrite, which publishes a new version. A plugin package has no cloud upload.
A plain skill or agent file does not need importing: put it in a .chainabit folder. See Skills, plugins and agents on this computer.
Examples
The folder below is a placeholder; use your own package folder.
bash
chainabit skills add ./my-package --to local
chainabit skills add ./my-package --to local --confirm-install