# skills

> Every coline skills command, with its flags and the action it runs.

Source: https://docs.coline.app/cli/reference/skills

{/* Generated by apps/docs/scripts/cli-reference.ts from coline's command tree and the cli action catalog. Don't edit it: run `pnpm --filter @colineapp/docs cli:reference`. */}

Every `coline skills` command, 21 in all.

## skills create

Makes a Kairo skill for yourself, or for the whole workspace (admins only), and turns it on for you here.

```text
coline skills create [flags]
```

**Action** `skills.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag                    | What it does                                                                                  |
| ----------------------- | --------------------------------------------------------------------------------------------- |
| `--name <text>`         | The skill's name. Required.                                                                   |
| `--slug <text>`         | Short name in lowercase letters, numbers and hyphens, e.g. release-notes. Required.           |
| `--description <text>`  | What the skill is for; Kairo reads it to decide when to use it. Required.                     |
| `--icon <text>`         | An emoji or icon name.                                                                        |
| `--instructions <text>` | What Kairo does when it uses the skill. Required.                                             |
| `--scope <text>`        | user: only you. workspace: everyone here (admins only). Required. One of `workspace`, `user`. |
| `--tags <list>`         | Up to 10 tags.                                                                                |
| `--input <file>`        | Read the input as JSON from a file; - reads stdin.                                            |

```bash
coline skills create -w acme --name "…" --slug "…" --description "…" --instructions "…" --scope workspace
coline skills create -w acme --json '{"name":"…","slug":"…","description":"…","instructions":"…","scope":"workspace"}' --fields id
```

## skills delete

Deletes a skill with its files, tools and everyone's installs of it. Its creator, or an admin for a workspace skill; prebuilt skills can't be deleted.

It removes or overwrites something, so it runs only with --confirm.

```text
coline skills delete [flags]
```

**Action** `skills.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--skill-id <id>` | The skill's id, from skills.search. Required.      |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline skills delete --skill-id <skill-id> --confirm
coline skills delete --json '{"skillId":"<skill-id>"}' --fields id --confirm
```

## skills get

One skill with its instructions, its files and tools by name, and whether it is on for you in this workspace.

It changes nothing.

```text
coline skills get [flags]
```

**Action** `skills.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--skill-id <id>` | The skill's id, from skills.search. Required.      |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline skills get -w acme --skill-id <skill-id>
coline skills get -w acme --json '{"skillId":"<skill-id>"}' --fields id
```

## skills install

Turns a skill on for you in this workspace, and pins it if asked. Running it again replaces your settings for it here.

Set configJson with --json '\{…}' or --input.

```text
coline skills install [flags]
```

**Action** `skills.install` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** yes, `-w`

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--skill-id <id>` | The skill's id, from skills.search. Required.      |
| `--is-enabled`    | Default true.                                      |
| `--is-pinned`     | Default false.                                     |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline skills install -w acme --skill-id <skill-id>
coline skills install -w acme --json '{"skillId":"<skill-id>"}' --fields id
```

## skills installs list

The skills you turned on or pinned in this workspace, with their settings.

It changes nothing.

```text
coline skills installs list [flags]
```

**Action** `skills.installs.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline skills installs list -w acme
coline skills installs list -w acme --json '{}' --fields id
```

## skills installs update

Turns a skill on or off, or pins or unpins it, for you in one workspace when you name it, or in every workspace where you turned it on. What you leave out stays as it is.

```text
coline skills installs update [flags]
```

**Action** `skills.installs.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                  | What it does                                                                                  |
| --------------------- | --------------------------------------------------------------------------------------------- |
| `--skill-id <id>`     | The skill's id, from skills.search. Required.                                                 |
| `--workspace-id <id>` | Only this workspace; every workspace you are in when left out. Ids come from workspaces.list. |
| `--is-enabled`        | Whether Kairo uses the skill for you.                                                         |
| `--is-pinned`         | Whether it is pinned in your list.                                                            |
| `--input <file>`      | Read the input as JSON from a file; - reads stdin.                                            |

```bash
coline skills installs update --skill-id <skill-id>
coline skills installs update --json '{"skillId":"<skill-id>"}' --fields id
```

## skills list

Lists the skills turned on for you in this workspace: how the team does particular kinds of work, with the files each one has.

It changes nothing.

```text
coline skills list [flags]
```

**Action** `skills.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `files.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline skills list -w acme
coline skills list -w acme --json '{}' --fields id
```

## skills read

Reads one skill's instructions and its file list. Follow its instructions when the work matches.

It changes nothing.

```text
coline skills read [flags]
```

**Action** `skills.read` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `files.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--slug <text>`  | A skill's slug from list\_skills. Required.        |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline skills read -w acme --slug "…"
coline skills read -w acme --json '{"slug":"…"}' --fields id
```

## skills read-file

Reads one file of a skill by its path, e.g. reference/style.md.

It changes nothing.

```text
coline skills read-file [flags]
```

**Action** `skills.readFile` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `files.read` · **Workspace** yes, `-w`

| Flag             | What it does                                       |
| ---------------- | -------------------------------------------------- |
| `--slug <text>`  | A skill's slug from list\_skills. Required.        |
| `--path <text>`  | Required.                                          |
| `--input <file>` | Read the input as JSON from a file; - reads stdin. |

```bash
coline skills read-file -w acme --slug "…" --path "…"
coline skills read-file -w acme --json '{"slug":"…","path":"…"}' --fields id
```

## skills resources create

Adds a file to a skill, as text or a link. Its creator, or an admin for a workspace skill.

```text
coline skills resources create [flags]
```

**Action** `skills.resources.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                    | What it does                                                                     |
| ----------------------- | -------------------------------------------------------------------------------- |
| `--skill-id <id>`       | The skill's id, from skills.search. Required.                                    |
| `--name <text>`         | The file's path in the skill, e.g. reference/style.md. Required.                 |
| `--content-type <text>` | What it holds. Required. One of `instructions`, `code`, `reference`, `template`. |
| `--content <text>`      | The text.                                                                        |
| `--file-url <text>`     | An https link to the file instead of text.                                       |
| `--mime-type <text>`    |                                                                                  |
| `--size-bytes <number>` |                                                                                  |
| `--sort-order <number>` | Where it sits in the list, 0 to 100.                                             |
| `--input <file>`        | Read the input as JSON from a file; - reads stdin.                               |

```bash
coline skills resources create --skill-id <skill-id> --name "…" --content-type instructions
coline skills resources create --json '{"skillId":"<skill-id>","name":"…","contentType":"instructions"}' --fields id
```

## skills resources delete

Deletes one file from a skill. Its creator, or an admin for a workspace skill.

It removes or overwrites something, so it runs only with --confirm.

```text
coline skills resources delete [flags]
```

**Action** `skills.resources.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                 | What it does                                         |
| -------------------- | ---------------------------------------------------- |
| `--skill-id <id>`    | The skill's id, from skills.search. Required.        |
| `--resource-id <id>` | The file's id, from skills.resources.list. Required. |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin.   |

```bash
coline skills resources delete --skill-id <skill-id> --resource-id <resource-id> --confirm
coline skills resources delete --json '{"skillId":"<skill-id>","resourceId":"<resource-id>"}' --fields id --confirm
```

## skills resources get

One file of a skill, with its content.

It changes nothing.

```text
coline skills resources get [flags]
```

**Action** `skills.resources.get` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag                 | What it does                                         |
| -------------------- | ---------------------------------------------------- |
| `--skill-id <id>`    | The skill's id, from skills.search. Required.        |
| `--resource-id <id>` | The file's id, from skills.resources.list. Required. |
| `--input <file>`     | Read the input as JSON from a file; - reads stdin.   |

```bash
coline skills resources get --skill-id <skill-id> --resource-id <resource-id>
coline skills resources get --json '{"skillId":"<skill-id>","resourceId":"<resource-id>"}' --fields id
```

## skills resources list

Every file of a skill you can read, with its content.

It changes nothing.

```text
coline skills resources list [flags]
```

**Action** `skills.resources.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--skill-id <id>` | The skill's id, from skills.search. Required.      |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline skills resources list --skill-id <skill-id>
coline skills resources list --json '{"skillId":"<skill-id>"}' --fields id
```

## skills resources update

Renames one of a skill's files or replaces its content. Its creator, or an admin for a workspace skill.

```text
coline skills resources update [flags]
```

**Action** `skills.resources.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                    | What it does                                            |
| ----------------------- | ------------------------------------------------------- |
| `--skill-id <id>`       | The skill's id, from skills.search. Required.           |
| `--resource-id <id>`    | The file's id, from skills.resources.list. Required.    |
| `--name <text>`         |                                                         |
| `--content <text>`      | The new text; replaces the old.                         |
| `--content-type <text>` | One of `instructions`, `code`, `reference`, `template`. |
| `--mime-type <text>`    |                                                         |
| `--size-bytes <number>` |                                                         |
| `--input <file>`        | Read the input as JSON from a file; - reads stdin.      |

```bash
coline skills resources update --skill-id <skill-id> --resource-id <resource-id>
coline skills resources update --json '{"skillId":"<skill-id>","resourceId":"<resource-id>"}' --fields id
```

## skills search

The Kairo skills you can use in this workspace: prebuilt ones, the workspace's and your own, with whether each is on for you. Filter by who it belongs to, status and words in its name or description.

It changes nothing.

```text
coline skills search [flags]
```

**Action** `skills.search` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** yes, `-w`

| Flag              | What it does                                                              |
| ----------------- | ------------------------------------------------------------------------- |
| `--scope <text>`  | Whose skills. Default all. One of `prebuilt`, `workspace`, `user`, `all`. |
| `--status <text>` | Default active. One of `active`, `disabled`, `draft`, `all`.              |
| `--search <text>` | Words in the name or description.                                         |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin.                        |

```bash
coline skills search -w acme
coline skills search -w acme --json '{}' --fields id
```

## skills tools create

Adds a custom tool to a skill: a prompt template or generated code. Its creator, or an admin for a workspace skill.

Set parametersSchema, handlerConfig with --json '\{…}' or --input.

```text
coline skills tools create [flags]
```

**Action** `skills.tools.create` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                    | What it does                                                                                 |
| ----------------------- | -------------------------------------------------------------------------------------------- |
| `--skill-id <id>`       | The skill's id, from skills.search. Required.                                                |
| `--name <text>`         | In snake\_case, e.g. draft\_release\_notes. Required.                                        |
| `--description <text>`  | What the tool does; Kairo reads it. Required.                                                |
| `--handler-type <text>` | prompt\_template or code\_generation. Required. One of `prompt_template`, `code_generation`. |
| `--input <file>`        | Read the input as JSON from a file; - reads stdin.                                           |

```bash
coline skills tools create --skill-id <skill-id> --name "…" --description "…" --handler-type prompt_template
coline skills tools create --json '{"skillId":"<skill-id>","name":"…","description":"…","parametersSchema":"…","handlerType":"prompt_template","handlerConfig":"…"}' --fields id
```

## skills tools delete

Deletes one of a skill's custom tools. Its creator, or an admin for a workspace skill.

It removes or overwrites something, so it runs only with --confirm.

```text
coline skills tools delete [flags]
```

**Action** `skills.tools.delete` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--skill-id <id>` | The skill's id, from skills.search. Required.      |
| `--tool-id <id>`  | The tool's id, from skills.tools.list. Required.   |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline skills tools delete --skill-id <skill-id> --tool-id <tool-id> --confirm
coline skills tools delete --json '{"skillId":"<skill-id>","toolId":"<tool-id>"}' --fields id --confirm
```

## skills tools list

A skill's custom tools.

It changes nothing.

```text
coline skills tools list [flags]
```

**Action** `skills.tools.list` · **Effect** read, changes nothing · **Can wait for your approval** no · **Scope** `tools.read` · **Workspace** no

| Flag              | What it does                                       |
| ----------------- | -------------------------------------------------- |
| `--skill-id <id>` | The skill's id, from skills.search. Required.      |
| `--input <file>`  | Read the input as JSON from a file; - reads stdin. |

```bash
coline skills tools list --skill-id <skill-id>
coline skills tools list --json '{"skillId":"<skill-id>"}' --fields id
```

## skills tools update

Changes one of a skill's custom tools. Its creator, or an admin for a workspace skill.

Set parametersSchema, handler with --json '\{…}' or --input.

```text
coline skills tools update [flags]
```

**Action** `skills.tools.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                   | What it does                                       |
| ---------------------- | -------------------------------------------------- |
| `--skill-id <id>`      | The skill's id, from skills.search. Required.      |
| `--tool-id <id>`       | The tool's id, from skills.tools.list. Required.   |
| `--name <text>`        | In snake\_case, e.g. draft\_release\_notes.        |
| `--description <text>` | What the tool does; Kairo reads it.                |
| `--input <file>`       | Read the input as JSON from a file; - reads stdin. |

```bash
coline skills tools update --skill-id <skill-id> --tool-id <tool-id>
coline skills tools update --json '{"skillId":"<skill-id>","toolId":"<tool-id>"}' --fields id
```

## skills uninstall

Turns a skill off for you by removing your install of it in one workspace when you name it, or in every workspace you are in. The skill itself stays.

It removes or overwrites something, so it runs only with --confirm.

```text
coline skills uninstall [flags]
```

**Action** `skills.uninstall` · **Effect** destructive, runs only with `--confirm` · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                  | What it does                                                                                  |
| --------------------- | --------------------------------------------------------------------------------------------- |
| `--skill-id <id>`     | The skill's id, from skills.search. Required.                                                 |
| `--workspace-id <id>` | Only this workspace; every workspace you are in when left out. Ids come from workspaces.list. |
| `--input <file>`      | Read the input as JSON from a file; - reads stdin.                                            |

```bash
coline skills uninstall --skill-id <skill-id> --confirm
coline skills uninstall --json '{"skillId":"<skill-id>"}' --fields id --confirm
```

## skills update

Changes a skill's name, short name, description, icon, instructions, tags or status. What you leave out stays as it is. Its creator, or an admin for a workspace skill; prebuilt skills can't be edited.

```text
coline skills update [flags]
```

**Action** `skills.update` · **Effect** write · **Can wait for your approval** no · **Scope** `tools.write` · **Workspace** no

| Flag                    | What it does                                                                            |
| ----------------------- | --------------------------------------------------------------------------------------- |
| `--skill-id <id>`       | The skill's id, from skills.search. Required.                                           |
| `--name <text>`         | The skill's name.                                                                       |
| `--slug <text>`         | Short name in lowercase letters, numbers and hyphens, e.g. release-notes.               |
| `--description <text>`  | What the skill is for; Kairo reads it to decide when to use it.                         |
| `--icon <text>`         | An emoji or icon name.                                                                  |
| `--instructions <text>` | What Kairo does when it uses the skill.                                                 |
| `--tags <list>`         | Up to 10 tags; replaces the skill's tags.                                               |
| `--status <text>`       | active, disabled (Kairo stops using it) or draft. One of `active`, `disabled`, `draft`. |
| `--input <file>`        | Read the input as JSON from a file; - reads stdin.                                      |

```bash
coline skills update --skill-id <skill-id>
coline skills update --json '{"skillId":"<skill-id>"}' --fields id
```
