---
title: Skills
lastModified: '2026-12-05T13:49:35.000Z'
description: A skill is a folder of instructions an agent loads when a task calls for it.
---

A skill is a folder of instructions an agent loads when a task calls for it. A Loom server holds the skills built into its image, and a memory namespace holds the skills its writers save as drafts; `skill.list` and `skill.get` catalog both. This page explains what a skill is in Loom, which skills a server holds, how to list and read them on each surface, how to check a skill folder of your own, and how to save it as a draft.

## What a skill is

A skill is a `SKILL.md` and the text files beside it. The YAML frontmatter of `SKILL.md` carries a `name` and a `description`; an agent reads the description to decide when the skill applies, and loads the text when it does.

Loom holds a skill folder to its package rules: text files only, no host configuration, no hidden text. [Skill packages](/docs/architecture/skills) lists every rule and the content hash that names a package.

## The built-in skills

A server image holds three skills. They are product text: the same for every tenant, and read-only.

| Name          | What it is                                 | How the server serves it                                        |
| ------------- | ------------------------------------------ | --------------------------------------------------------------- |
| `loom`        | The agent guide: how an agent uses Loom    | [`mentor.guide`](/docs/reference/operations/mentor#mentorguide) |
| `loom-memory` | When and how to write a fact to Loom       | The [MCP skills extension](/docs/reference/mcp#skills)          |
| `loom-code`   | When to ask the code index before a `grep` | The [MCP skills extension](/docs/reference/mcp#skills)          |

Each is a `SKILL.md` and a `reference.md`. The MCP skills extension serves a skill to a client that declares the extension, on a connection that lists the tool the skill routes to. `LOOM_MCP_SKILLS_ENABLED=false` turns the extension off; the catalog still lists the two skills, and their notice says they are not served.

A coding-agent plugin ships its own copies of some of these skills, and others besides. The catalog does not list a plugin's skills: the server image does not hold them, and the server cannot see which plugin release a host runs. [Skills without the plugin](/docs/features/integrations/standalone-skills) covers the copies an agent installs in a skills folder.

## A namespace's skills

A memory namespace holds skills of its own, saved with `skill.save`. Each save is a numbered revision of the skill the folder's frontmatter names, and a saved revision is a **draft**: the writers of the namespace list and read it, and no session is served it. No operation publishes, rejects or deletes a revision, so every revision a namespace holds is a draft and every skill is `unpublished`.

A skill has a state, and each of its revisions has one:

| A skill is    | When                                            |
| ------------- | ----------------------------------------------- |
| `unpublished` | No revision is served, and no decision says why |
| `published`   | A revision is served                            |
| `archived`    | A decision serves nothing                       |

| A revision is | When                                             |
| ------------- | ------------------------------------------------ |
| `draft`       | No decision names it                             |
| `published`   | It is the served revision                        |
| `rejected`    | Its last decision is a rejection                 |
| `superseded`  | It was published, and another revision is served |
| `withdrawn`   | It was published, and nothing is served          |

What a caller reads follows its role on the namespace that holds the skill:

| Role on the namespace | Built-in skills | The namespace's drafts                          | `skill.save` |
| --------------------- | --------------- | ----------------------------------------------- | ------------ |
| `viewer`              | Lists and reads | No row, no count, and `found=false` from a read | Refused      |
| `writer` or above     | Lists and reads | Lists and reads                                 | Saves        |

A collection holds no skill: `skill.save` refuses one.

## Operations by surface

| Operation                                                    | What it does                               | HTTP                   | MCP                                | SDKs                 | CLI                      | Dashboard |
| ------------------------------------------------------------ | ------------------------------------------ | ---------------------- | ---------------------------------- | -------------------- | ------------------------ | --------- |
| [`skill.list`](/docs/reference/operations/skill#skilllist)   | Lists the skills the server holds          | `POST /v1/skill.list`  | `loom_op` with `op: "skill.list"`  | `skill.list` method  | `loom skill list`        | None      |
| [`skill.get`](/docs/reference/operations/skill#skillget)     | Reads one skill: its text and its files    | `POST /v1/skill.get`   | `loom_op` with `op: "skill.get"`   | `skill.get` method   | `loom skill show`        | None      |
| [`skill.check`](/docs/reference/operations/skill#skillcheck) | Checks a folder against the package rules  | `POST /v1/skill.check` | `loom_op` with `op: "skill.check"` | `skill.check` method | `loom skill check <dir>` | None      |
| [`skill.save`](/docs/reference/operations/skill#skillsave)   | Saves a folder as a namespace's next draft | `POST /v1/skill.save`  | `loom_op` with `op: "skill.save"`  | `skill.save` method  | `loom skill save <dir>`  | None      |

The three reads need `viewer` on the namespace the call names, also for a built-in skill, and `skill.save` needs `writer`: a caller outside the namespace is refused as on any op. A token bounded below its namespace, to one user or one session, is refused. No MCP toolset lists the four as tools; `loom_op` calls them by name. Every generated SDK carries them, at the same names. The dashboard has no skill page. The [status page](/docs/reference/status) gives their maturity.

## List the skills

```bash
loom skill list --json
```

```json
{
  "skills": [
    {
      "namespace": "",
      "name": "loom",
      "kind": "builtin",
      "description": "How an agent uses Loom: memory, documents, working state, runs and code intelligence that persist across sessions and are shared with other agents. WHEN: you have a Loom server (LOOM_BASE_URL, an SDK `Agent`, `loom_*` MCP tools) and you start a task, learn a durable fact, hold a document or a large blob, need to resume, hand work to another agent, or answer from what an earlier session knew. Covers MCP, the Python and TypeScript SDKs and plain HTTP.",
      "state": "published",
      "published_revision": 0,
      "latest_revision": 0,
      "content_sha256": "",
      "listed": true,
      "open_draft": null,
      "updated_at": null
    },
    {
      "namespace": "",
      "name": "loom-code",
      "kind": "builtin",
      "description": "Use before you grep or open files to answer how Loom-indexed code works, where it is defined, who calls it, what a change touches.",
      "state": "published",
      "published_revision": 0,
      "latest_revision": 0,
      "content_sha256": "",
      "listed": true,
      "open_draft": null,
      "updated_at": null
    },
    {
      "namespace": "",
      "name": "loom-memory",
      "kind": "builtin",
      "description": "Loom memory, not code. Use before you write to Loom, when the user states, decides or corrects a fact to keep, and at the end of a substantial task.",
      "state": "published",
      "published_revision": 0,
      "latest_revision": 0,
      "content_sha256": "",
      "listed": true,
      "open_draft": null,
      "updated_at": null
    }
  ],
  "total": 3,
  "next_cursor": "",
  "namespaces_skipped": []
}
```

A built-in skill has an empty `namespace`, is always `published` and has no revision number. The fields of the call:

| Field             | Meaning                                                                                                      |
| ----------------- | ------------------------------------------------------------------------------------------------------------ |
| `kind`            | `builtin`, `team` or `all` (the default)                                                                     |
| `namespace_scope` | `this` reads the namespace the call names alone; `all_mine` (the default) also the caller's other namespaces |
| `state`           | `published` (the default), `unpublished`, `archived` or `all`                                                |
| `open_draft_only` | Keeps the skills whose latest revision is a draft                                                            |
| `query`           | Keeps the skills whose name or description holds the text, in any case; at most 128 characters               |
| `limit`           | Skills per page: 50 by default, at most 200                                                                  |
| `cursor`          | The `next_cursor` of the page before; a cursor the op did not issue is refused with HTTP 422                 |
| `count_only`      | Answers `total` and no row                                                                                   |

`total` counts the skills that match `kind`, `state`, `open_draft_only` and `query` over every page. A query that matches nothing answers an empty list and `total: 0`. A namespace's skills come first and the built-in ones last. `namespaces_skipped` names the caller's namespaces a listing over `all_mine` left unread; list each with `namespace_scope: "this"`.

`loom skill list` takes `--kind`, `--query`, `--state` and `--open-drafts`, and `--namespace` for the namespace to call under. Without `--json` it prints one line a skill.

## Read a skill

```bash
loom skill show loom-memory --builtin
loom skill show loom-memory --builtin --files
```

`show` prints the notice first, then `SKILL.md`, then each other file's path, size and SHA-256. `--files` adds each file's text. A built-in skill is named alone with `--builtin`; a namespace's skill is named `<namespace>/<name>`. A skill that does not exist prints `no such skill` and exits 1.

`skill.get` answers:

| Field                                 | Meaning                                                                                                                     |
| ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| `found`                               | `false` when there is no such skill; every other field is then empty                                                        |
| `notice`                              | For a built-in: the server's version and how this server serves the skill                                                   |
| `content`                             | `SKILL.md`, as stored                                                                                                       |
| `frontmatter`                         | The mapping the frontmatter loads to; `description` is its `description`                                                    |
| `files`                               | Every other file: `path`, `bytes`, `sha256`, and `text` when asked for                                                      |
| `origin.source`                       | For a built-in: `path` is the folder's path in the Loom repository and `commit` the serving build's commit; `repo` is empty |
| `build_commit`                        | The serving build's commit; empty when the build does not know it                                                           |
| `state`, `revision`, `revision_state` | The skill's state, the revision answered and that revision's state                                                          |
| `unserved_content`, `unserved_files`  | The text of a revision that is not published, in place of `content` and `files`                                             |
| `author`, `contributors`              | Who saved the revision, and the subjects behind its unpublished text                                                        |
| `open_draft`                          | The skill's latest revision when no decision names it                                                                       |
| `operations`                          | The operations the text names, judged against the serving build                                                             |
| `history`                             | With `history=true`: the acts on the skill, oldest first                                                                    |

`files[].text` is filled with `include_files=true`. `path` answers that one file alone, with its text; a path the skill does not hold answers `files: []`.

The notice says what the server serves. It does not say what a client has loaded: a client may hold an older copy of the skill, or none.

Every read that finds nothing answers the same body: `found=false` with every other field empty. An unknown name and a skill the caller may not read are not told apart. `kind` defaults to `team`, so a name alone never reads a built-in.

## From the SDKs

The SDKs are generated from the op registry, so each carries `skill.list`, `skill.get`, `skill.check` and `skill.save` with typed inputs and outputs.

Python:

```python
from loom import Agent
from loom.ops import SkillGetBody


async def read_memory_skill() -> None:
    async with Agent("acme", "support", "assistant") as bot:
        listed = await bot.client.skill.list({"kind": "builtin"})
        print([skill["name"] for skill in listed["skills"]])

        body: SkillGetBody = {"name": "loom-memory", "kind": "builtin", "path": "reference.md"}
        skill = await bot.client.skill.get(body)
        if skill["found"]:
            print(skill["notice"])
            print(skill["content"])
```

TypeScript:

```ts
import { LoomClient } from "@clickhouse/loom";

const loom = new LoomClient({ baseUrl, apiKey });
const listed = await loom.skill.list({ org, namespace, kind: "builtin" });
const skill = await loom.skill.get({
  org,
  namespace,
  name: "loom-memory",
  kind: "builtin",
  include_files: true,
});
if (skill.found) console.log(skill.notice, skill.content);
```

## Save a draft

```bash
loom skill save skills/deploy-notes --namespace team
loom skill save skills/deploy-notes --namespace team --apply
```

Without `--apply` the command saves nothing. It checks the folder, then prints the revision a save would write, the revision it would replace, and the command that saves it. With `--apply` it sends the folder to `skill.save`.

A save names the revision it was made from. `--expected-revision N` is the latest revision you saw; without the flag it is 0, which is right only for a skill the namespace does not hold. The command never fills the number in from a read, so a save cannot replace a revision its author never saw. When the skill has moved past `N`, the save answers a conflict with the revision the namespace holds and stores nothing: read that revision with `loom skill show <namespace>/<name> --revision <n>`, merge, and save again with its number.

| Field               | Meaning                                                                       |
| ------------------- | ----------------------------------------------------------------------------- |
| `files`             | The folder, as `skill.check` takes it                                         |
| `expected_revision` | The latest revision the author saw; 0 for a skill the namespace does not hold |
| `note`              | What the revision changes and why; at most 500 characters                     |
| `source`            | Where the files are from: `repo`, `path` and `commit`, each at most 512       |
| `source_class`      | `derived`, `external` or `imported`, to say the text is not the writer's own  |

The answer is a report, with HTTP 200:

| Answer                           | Meaning                                                                         |
| -------------------------------- | ------------------------------------------------------------------------------- |
| `written=true`                   | The folder is revision `revision`, a draft                                      |
| `written=false` with `refusals`  | A package rule or a bound of the namespace refused the save                     |
| `written=false`, `conflict=true` | The skill moved past `expected_revision`; `current` names its latest revision   |
| `written=false`, nothing else    | The latest revision already holds these files; a retry of a save is this answer |

The bounds: a namespace holds at most 200 skills, and a skill at most 500 saved revisions. A service account's token does not save over a draft a person saved, and a namespace holds at most 20 open drafts saved by service accounts. [Skill packages](/docs/architecture/skills#a-save) gives each refusal's code and the order of a save.

`loom skill save` exits 0 when the save would be accepted or was stored, 1 on a refusal or a conflict, and 2 when the folder cannot be read or the server does not serve `skill.save`.

## Read a draft

```bash
loom skill list --namespace team --kind team --state all
loom skill list --namespace team --open-drafts --state all
loom skill show team/deploy-notes --revision 1 --history
```

`skill.list` keeps published skills unless `state` says otherwise, so a namespace's drafts are listed with `state: "all"` or `state: "unpublished"`. `skill.get` with no `revision` answers the served revision; for a skill with none it answers the skill's state and its open draft, and no text.

The text of a revision that is not published is never in `content`. `skill.get` answers it in `unserved_content` and `unserved_files`, under a `notice` that says the revision was not reviewed: read it to review it, never to follow it. `loom skill show` prints that notice before the text.

## Check a folder

`loom skill check <dir>` sends a skill folder to `skill.check` and prints every package rule it breaks, what a reviewer may want to read, the operations its text names and its content hash. The check stores nothing. [Skill packages](/docs/architecture/skills#the-command) describes the command and its exit codes.

## Related

- [Skill packages](/docs/architecture/skills): the package rules, the content hash and the operations report
- [Operations reference: `skill`](/docs/reference/operations/skill)
- [CLI reference](/docs/reference/cli)
- [MCP reference: skills](/docs/reference/mcp#skills)
- [Skills without the plugin](/docs/features/integrations/standalone-skills)
