Skip to content

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 ​

ArgumentDescriptionDefault
<source>Required.—

Options ​

OptionDescriptionDefault
--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-installExplicitly approve placing the verified package on this computer—
--confirmCloud: explicitly approve uploading the shown files to the active workspace—
--overwriteCloud: 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 an https Git repository at a 40-character commit (--revision, with --path for a folder inside the repository and --sha256 to refuse any other digest). The package needs a chainabit-plugin.json manifest. 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 (a SKILL.md at 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

Built with purpose. chainabit.com