chainabit skills create
Published (2.2.0)
This command is not included in Published (2.2.0). It is available in Development (2.2.0).
Development (2.2.0)
Create a cloud skill
Synopsis
chainabit skills create <slug> --name <name> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<slug> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--name <name> | Name. Required. | — |
--description <text> | About | — |
--yes | Confirm this change | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Creates a cloud skill from the required <slug> argument and the required --name; --description is optional. The new skill is a draft; add instructions with chainabit skills version. It works in the selected cloud workspace; if none is selected, the command stops and asks you to choose one first (see chainabit workspace use).
This command changes data, so it asks you to confirm in an interactive terminal. Pass --yes to confirm without a prompt. With --json, or when input or output is redirected, there is no prompt: without --yes the command changes nothing, tells you to add --yes and exits with code 2.
Output
Prints the new skill's ID and name. With --json, the output contains id, name, slug and status (draft).
Authentication and permissions
You must be signed in. The server decides whether your account may make this change; if it refuses, the command prints the error, exits with a non-zero code and changes nothing. If the connected API does not support the operation yet, the command stops before sending anything.
Examples
chainabit skills create reading-log --name "Reading log" --yes
chainabit skills create reading-log --name "Reading log" --description "Collect weekly notes" --yes