Skip to content

chainabit skills version ​

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 draft version of a cloud skill

Synopsis ​

text
chainabit skills version <id> <tag> --content <text> [options]

Arguments ​

ArgumentDescriptionDefault
<id>Required.—
<tag>Required.—

Options ​

OptionDescriptionDefault
--content <text>Instructions. Required.—
--yesConfirm this change—

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

Behavior ​

Creates a version of the cloud skill with the given ID. <tag> is the version tag, such as 1.0.0, and --content is required and holds the skill's instructions. The new version is a draft: the command does not publish it. 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 version's ID and tag. With --json, the output contains id, version_tag and is_published (false).

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 ​

bash
chainabit skills version 00000000-0000-4000-8000-000000000001 1.0.0 --content "Summarize the notes." --yes

Built with purpose. chainabit.com