Skip to content
Loom Docs
Esc
↑↓navigate↵open⌘Jpreview
Product
On this page

Skills

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 skill.list and skill.get catalog them. This page explains what a skill is in Loom, which skills a server holds, how to list and read them on each surface, and how to check a skill folder of your own.

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 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
loom-memory When and how to write a fact to Loom The MCP skills extension
loom-code When to ask the code index before a grep The MCP skills extension

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 covers the copies an agent installs in a skills folder.

A namespace holds no skill of its own: kind="team" lists no row, and reading one answers found=false.

Operations by surface

Operation What it does HTTP MCP SDKs CLI Dashboard
skill.list 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 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 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

All three need viewer on the namespace the call names, also for a built-in skill: 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 three as tools; loom_op calls them by name. Every generated SDK carries them, at the same names. The status page gives their maturity.

List the skills

loom skill list --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."
    },
    {
      "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."
    },
    {
      "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."
    }
  ],
  "total": 3,
  "next_cursor": ""
}

A built-in skill has an empty namespace. The fields of the call:

Field Meaning
kind builtin, team or all (the default)
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 and query over every page. A query that matches nothing answers an empty list and total: 0.

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

Read a skill

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

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 and skill.check with typed inputs and outputs.

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:

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

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 describes the command and its exit codes.

Last updated on

Was this page helpful?