Skip to content

Skills, plugins and agents on this computer ​

The CLI interface follows your account language. This page quotes the interface text as it appears in English.

Skills, plugins and agents are local first. The CLI finds the definitions on your computer, tells you which ones are in effect, and lets Chao load one only when a task needs it. The cloud workspace is a separate destination: it is listed after your local entries and never becomes local.

Finding and listing definitions runs nothing. No script, hook, connector or shell command is started to show them.

Where definitions live ​

Definitions sit in skills, plugins and agents folders inside a .chainabit folder.

ScopeFolderMeaning
OrganizationA folder owned by an administrator of the computerSet by your organization. It cannot be overridden by project content.
Nested folder<folder>/.chainabit/… for each folder from the project root down to your working folderThe closest folder to where you work is the most specific.
Project<project>/.chainabit/…<project> is the top level of the Git repository, or the working folder when there is none.
YouThe skills, plugins and agents folders of the Chainabit configuration folder, normally ~/.chainabitYours in every project.
Installed packagePackages installed from the marketplace or imported from a folderProvide skills and agents under the package's own name.
text
~/.chainabit/skills/deploy/SKILL.md                 your skill "deploy"
~/.chainabit/agents/reviewer.md                     your agent "reviewer"
repo/.chainabit/skills/deploy/SKILL.md              project skill "deploy"
repo/apps/web/.chainabit/skills/deploy/SKILL.md     nested skill "deploy"
repo/.chainabit/plugins/acme/chainabit-plugin.json  a plugin folder ready to import

A skill is a folder with a SKILL.md: front matter with a name (1 to 64 lowercase letters, digits and single hyphens) and a description (up to 1,024 characters), then the instructions. An agent is one Markdown file with name and description front matter. See Run agents on this computer for agent fields.

Names and which definition wins ​

Every entry has a full name, <scope>:<name>: project:deploy, nested:deploy, user:deploy. A skill or agent from an installed package uses the package ID as its scope, for example plugin-acme:review. You type the short name (/deploy) for the definition that wins; a package's skill or agent is always used by its full name, so it never competes with a short name.

For skills and agents with the same short name, the winner is, in order:

  1. Organization.
  2. The nested folder closest to your working folder.
  3. Project.
  4. You.

Precedence only changes which definition is in effect in the list. It never rewrites, moves or deletes a file. A skill whose name is a built-in command keeps its entry but is offered only by its full name, such as project:help.

StatusMeaning
in useThis definition wins here.
overriddenA definition with higher precedence wins; the entry says which one.
folder not trustedIt sits in a folder you have not trusted. It is listed, never used, and never overrides anything.
invalidIts front matter or manifest is invalid, or the file was unsafe to read.
inactiveAn installed package that is not activated.
ready to installA plugin folder you can import; nothing from it is active.

Project and nested definitions count only in a trusted folder. A cloned repository therefore cannot replace your own skill until you trust it. Reading refuses links, files over 256 KiB, more than 256 entries in a folder and more than 32 nested levels, and reports each refusal instead of failing.

A definition's tools or permissionMode is shown as what it asks for. It never grants anything: local tools keep following your permission mode and organization rules.

See what is in effect ​

bash
chainabit skills status
chainabit plugins status --local
chainabit agents inspect reviewer

status lists the entries on this computer first, then the cloud workspace; --local skips the cloud. inspect <name> explains one entry: its status, the path of its file, its SHA-256 digest, where it came from, what it asks for, and every other definition with the same name. A digest is integrity evidence, not a signature or publisher check.

text
── Skills · this computer, then cloud workspace ──

NAME            SCOPE          STATUS      DETAIL
──────────────  ─────────────  ──────────  ───────────────────────────
/deploy         nested folder  in use
/notes          you            in use
project:deploy  project        overridden  overridden by nested:deploy
user:deploy     you            overridden  overridden by nested:deploy

In the conversation, /skills, /plugins and /agents show the same view, and the command palette offers each effective skill once, by the name you type.

Add a definition ​

A skill or an agent is a file you can put in a .chainabit folder yourself. To bring one in from elsewhere, import it so its files and digest are shown first:

bash
chainabit skills add ./my-package --to local --confirm-install
chainabit skills add ./my-skill --to cloud --confirm
chainabit plugins add ./my-package --to local --confirm-install
chainabit agents import ./reviewer.md --confirm
  • --to local places a package on this computer. The source is a folder or an https Git repository at a 40-character commit; branches, tags and other protocols are refused, as are submodules and links. The command shows the package, source, digest, what it requests and provides, and installs only after --confirm-install. The 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 after showing the destination, the digest and every file, then --confirm. An existing skill needs --overwrite to publish a new version. A plugin package has no cloud upload.
  • agents import copies agent files to your user scope, or with --to project to a trusted project, after --confirm.

Installing, activating and removing marketplace packages are the skills and plugins commands.

How Chao uses local definitions ​

Chao runs in the cloud and loads a local skill or agent only when a task needs it.

  1. While local tools are on, each turn tells Chao the name, a short description (up to 300 characters) and the scope of every effective skill and agent, at most 64 of each. It never sends their contents or paths.
  2. When a task needs one, Chao asks the CLI to load it by name. The CLI answers only for an entry that is in effect: in a trusted folder, in your own folder, or from an active package whose files still match their digest. An untrusted, overridden, invalid or inactive definition is refused with the reason.
  3. The text comes back with its SHA-256 digest as task data. It grants nothing and nothing runs. Loading is a read, so it is allowed in every permission mode.

Local and cloud ​

Local entries are complete without a network or an account. Cloud entries are listed after them; they never become local, and a cloud agent never gains authority over local tools. Without a connection the cloud part says it is unavailable.

Built with purpose. chainabit.com