---
title: Skills
lastModified: '2026-12-06T00:15:47.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 and an administrator publishes; `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, how to save it as a draft, and how an administrator reviews and publishes it.

## 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. An administrator of the namespace who saved no part of a draft publishes it with `skill.decide`, and every reader of the namespace is then served that revision. The same operation rejects a draft and archives a skill, and `skill.delete` deletes a revision or a whole skill.

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

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

| A revision is | When                                             | The dashboard says |
| ------------- | ------------------------------------------------ | ------------------ |
| `draft`       | No decision names it                             | Waiting for review |
| `published`   | It is the served revision                        | Published          |
| `rejected`    | Its last decision is a rejection                 | Sent back          |
| `superseded`  | It was published, and another revision is served | Superseded         |
| `withdrawn`   | It was published, and nothing is served          | Withdrawn          |

The operations, the SDKs and the command line use the names on the left. The dashboard's words are the ones a reviewer reads: its **Send back** is the `reject` decision, and its **Send for review** is a save.

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

| Role on the namespace | Built-in skills | A published revision | Drafts and other unserved revisions             | `skill.save` | `skill.decide`               | `skill.delete` |
| --------------------- | --------------- | -------------------- | ----------------------------------------------- | ------------ | ---------------------------- | -------------- |
| `viewer`              | Lists and reads | Lists and reads      | No row, no count, and `found=false` from a read | Refused      | Refused                      | Refused        |
| `writer`              | Lists and reads | Lists and reads      | Lists and reads                                 | Saves        | Refused                      | Refused        |
| `admin`               | Lists and reads | Lists and reads      | Lists and reads                                 | Saves        | Publishes, rejects, archives | Deletes        |

A reader below `writer` is served what was published and nothing else. Its list row of a published skill is the served revision's, with no open draft, and its read answers the served revision. It reads a superseded revision by its number, as unserved text. A skill that serves nothing does not exist for it.

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

### Name the namespace in a skill

A team's skill usually says where to write: "save the decision to our namespace". Write that namespace as the token `{{loom.skill_namespace}}`, never as its name:

```markdown
Save each decision with `memory.set` in the namespace `{{loom.skill_namespace}}`.
```

The token always means the namespace that holds the skill, so the same text is right in every namespace that saves a copy. Loom stores and serves the token as written and never fills it in: the text a session reads is the text an administrator approved, under the same `content_sha256`. The reader replaces it. `skill.get` answers `binding.namespace`, the namespace the token names, and `binding.writable`, whether the caller may write there. When the text holds the token, `notice` says the same in words, and tells a caller who only reads that namespace that a step writing there is refused.

`skill.check` and `skill.save` report the finding `literal_namespace` when the text holds the checked namespace's own name as a whole word, with the file and the line of up to five such lines. It refuses nothing. A namespace name under four characters is not searched for.

The token is the only one. Other values of a team, such as a channel or a tracker project, belong in the [namespace's guide](/docs/features/namespaces-and-sharing#a-namespaces-guide): the skill tells the agent to read it with `namespace.guide_get` on `{{loom.skill_namespace}}`.

## 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`                         | The Skills page's list |
| [`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`                         | A skill's own page     |
| [`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>`                  | **Check a folder**     |
| [`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>`                   | The editor, the import |
| [`skill.delete`](/docs/reference/operations/skill#skilldelete) | Deletes a revision or a whole skill        | `POST /v1/skill.delete` | Not served                         | `skill.delete` method | `loom skill delete <namespace>/<name>`    | **Delete…**            |
| [`skill.decide`](/docs/reference/operations/skill#skilldecide) | Publishes, rejects or archives             | `POST /v1/skill.decide` | Not served                         | `skill.decide` method | `loom skill publish`, `reject`, `archive` | A skill page's review  |

The three reads need `viewer` on the namespace the call names, also for a built-in skill, `skill.save` needs `writer`, and `skill.delete` and `skill.decide` need `admin`: 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 reads and the save as tools; `loom_op` calls them by name. MCP does not serve `skill.delete` or `skill.decide`: a session must not remove a team's reviewed text, and a session that read a draft must not publish it, so `loom_op` refuses both and names no other operation. Every generated SDK carries the six, at the same names. The [status page](/docs/reference/status) gives their maturity.

The dashboard's [Skills page](/docs/features/dashboard#skills) lists the built-in skills and the skills of your namespaces: to a writer with their drafts, to any other reader the published ones. It opens each skill on its own page, checks a folder picked in the browser, saves a draft from its editor or from a picked folder, and deletes a revision or a whole skill for an administrator. A writer's page of a skill is its review: what changed against the published revision, what a check finds, and the skill's history. On it an administrator publishes a draft, sends it back with a note, or archives the skill.

## 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                                                   |
| `binding`                             | For a namespace's skill: the namespace `{{loom.skill_namespace}}` names, and whether the caller may write there             |
| `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                                                        |
| `approved_by`, `published_at`         | For the served revision: who published it, and when                                                                         |
| `open_draft`                          | For a writer: the skill's latest revision when no decision names it                                                         |
| `operations`                          | The operations the text names, judged against the serving build                                                             |
| `history`                             | For a writer, with `history=true`: the acts on the skill, oldest first, each decision with its note                         |

`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`, `skill.save`, `skill.decide` and `skill.delete` 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`, and says the saved draft waits for an administrator other than its author, signed in as a person.

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 deleted skill or revision counts under neither bound from the moment its delete answers. 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.

## Review a draft

```bash
loom skill diff team/deploy-notes
loom skill publish team/deploy-notes --revision 2 --sha256 <content_sha256>
loom skill publish team/deploy-notes --revision 2 --sha256 <content_sha256> --apply
loom skill reject team/deploy-notes --revision 2 --note "Names the wrong tag." --apply
loom skill archive team/deploy-notes --apply
```

`loom skill diff` compares the open draft with the published revision, file by file, on your machine. `--from N` and `--to M` name two revisions, and a folder in place of `--from` compares a revision with files on disk. Its last lines are the revision and the `content_sha256` it showed, and the command that publishes them.

`loom skill publish` takes both `--revision` and `--sha256` and fills neither from a read: the hash is the one of the text you read. The server publishes only when the revision still holds those files, so a draft that changed after your review is not published by your approval of the earlier one. Without `--apply` the three commands change nothing: each prints the revision, its hash and author, the state now and after, and the command that acts.

| Decision  | Takes                         | What it does                                                                    |
| --------- | ----------------------------- | ------------------------------------------------------------------------------- |
| `publish` | `revision`, `approved_sha256` | Serves the latest revision to every reader; the one served before is superseded |
| `reject`  | `revision`, `note`            | Records that the open draft is not to be published, and why                     |
| `archive` | An optional `note`            | Stops the skill being served; its revisions stay                                |

Who may publish:

- **An administrator of the namespace, signed in as a person.** A service account's token and a call with no sign-in are refused with HTTP 403. A deployment with sign-in off publishes nothing.
- **Not a contributor.** `contributors` on `skill.get` names who saved the unpublished text: each saver, and for a token the person who made it. A caller it names, under any alias the org's directory ties to them, is refused with HTTP 403 and told which entries match. Another administrator publishes.
- **Of the text they read.** An `approved_sha256` that is not the revision's hash answers HTTP 409: read the revision again.

Rejecting and archiving need `admin` only, for a person or a service account. A rejected revision is kept, and it can be published later. Only the latest revision is published: to serve an earlier text again, save it as a new revision.

A decision the skill is already in changes nothing and answers the current state, so a retry is safe. A skill or a revision that does not exist answers HTTP 404, and a decision the skill's state refuses answers HTTP 409: publishing a revision that is not the latest, rejecting anything but the open draft, archiving a skill that serves nothing.

The rule compares accounts. Two accounts of one person that the directory does not tie together count as two people, and a draft saved only by service accounts with no person behind their tokens is published by one administrator. [Skill packages](/docs/architecture/skills#a-decision) gives the order of a decision and what the rule does not cover.

The audit log gets a row for each decision, written before it, with the revision, its hash, author and contributors, and the note as a hash and a length. When that row cannot be written, the decision answers 503 and nothing changes: retry it.

A fetch of a published skill leaves a [read receipt](/docs/architecture/read-receipts) that names the revision and hash it served. `loom skill show`, `loom skill diff` and the plans of the other commands are inspections: they leave no receipt, and reports that count a namespace's use leave them out.

The three commands exit 0 when they printed a plan or the decision was answered, 1 when there is no such skill or revision or the plan shows the server would refuse, and 2 when the name lacks its namespace or the server does not serve `skill.decide`.

## Delete a revision or a skill

```bash
loom skill delete team/deploy-notes --revision 2
loom skill delete team/deploy-notes --revision 2 --apply
loom skill delete team/deploy-notes --apply
```

Without `--apply` the command deletes nothing. It reads the skill, then prints what a delete would remove, whether the published revision is among it, and the command that deletes. With `--apply` it calls `skill.delete`. Without `--revision` the delete covers every revision and the skill.

A delete needs `admin` on the namespace. No read answers a deleted revision from the moment the call answers, and no later save is given its number. A delete that takes the published revision away archives the skill: nothing is served, and no older revision is served in its place.

| Answer              | Meaning                                                                               |
| ------------------- | ------------------------------------------------------------------------------------- |
| `deleted_revisions` | The revisions this call deleted; 0 for a name or a revision that is not there         |
| `archived`          | This call took the served revision away                                               |
| `text_removed`      | The table holds no row of the deleted text; `false` while the removal is still to run |

The text leaves the table in the background, in a rewrite ClickHouse runs after the call answers. Run the command again to confirm it: a repeat deletes nothing more and answers `text_removed`. A delete does not reach a backup taken before it, a folder someone already pulled, or a session that already loaded the skill.

The audit log gets a row for each delete, written before it. When that row cannot be written, the delete answers 503 and nothing changes: retry it. A namespace deletes 10 times in a burst and once a minute after that, and a call past the limit answers 429 with `Retry-After`. [Skill packages](/docs/architecture/skills#a-delete) gives the order of a delete and what it costs.

`loom skill delete` exits 0 when it printed a plan or the delete was answered, 1 when the plan finds no such skill or revision, and 2 when the name lacks its namespace, `--revision` is below 1 or the server does not serve `skill.delete`.

## 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)
