Skip to content

chainabit plugins add ​

Import a plugin package from a folder or an https Git repository at a commit; --to names the destination

Synopsis ​

text
chainabit plugins add <source> --to <destination> [options]

Arguments ​

ArgumentDescriptionDefault
<source>Required.—

Options ​

OptionDescriptionDefault
--to <destination>local (this computer); plugins have no cloud destination. 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—

Options shared by every command are described in Global options and shared behavior.

Behavior ​

Imports a plugin 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: refused. A plugin package has no cloud upload; use chainabit skills add <skill folder> --to cloud for a skill, or chainabit plugins import for a marketplace plugin.

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 plugins add ./my-package --to local
chainabit plugins add ./my-package --to local --confirm-install

Built with purpose. chainabit.com