skill operations
The exact fields each skill.* operation takes and returns.
The exact fields each skill.* operation takes and returns.
Every op is POST /v1/<op> over HTTP and the MCP tool loom_<op>. The identity fields (org, namespace, agent, user_id, session_id) are filled from the token and the MCP session when a transport can; for an HTTP call with no token on a single-user server, the install’s org on every op but code.* and tracker.* (which keep their plane’s), and on some ops its namespace and agent; see identities and namespaces. The operations index explains role, kind and the MCP all listing. Unknown input fields are served and named in ignored_args, and a response served from a fallback or a partial read names it in degraded (degraded answers).
skill.check
Report whether a skill folder passes the package rules (not whether its text is safe to follow) and which operations it names.
POST /v1/skill.check · MCP loom_skill_check · role viewer · read · not listed under the MCP all toolset
| Input field | Type | Default | Meaning |
|---|---|---|---|
org |
str |
required | The tenant (first element of the identity tuple). |
namespace |
str |
required | The namespace the op reads or writes. |
files |
list[SkillFile] |
required | Every file of the folder: SKILL.md at the root and the text files beside it. |
| Output field | Type | Meaning |
|---|---|---|
ok |
bool |
Whether the package rules pass (refusals is empty), never whether the text is safe to follow. |
refusals |
list[SkillNote] |
Every rule the package breaks. |
findings |
list[SkillNote] |
What a reviewer may want to read; a finding refuses nothing. |
name |
str |
The frontmatter’s name; empty when the frontmatter did not load or the name rule refuses the value. |
description |
str |
The frontmatter’s description; empty when the frontmatter did not load. |
content_sha256 |
str |
SHA-256 of the manifest <sha256 of the file's UTF-8 bytes> <path>\n over every file, sorted by the path’s UTF-8 bytes; empty when a path rule refused or the package is over its byte or file limit. |
bytes |
int |
The package’s size in UTF-8 bytes. |
file_count |
int |
How many files the package holds. |
operations |
list[SkillOperation] |
The operations and MCP tools the text names in code spans, each at its first mention; empty for a package over its byte or file limit, whose text is not read. |
skill.get
Read one skill: its SKILL.md, its frontmatter and the files beside it.
POST /v1/skill.get · MCP loom_skill_get · role viewer · read · not listed under the MCP all toolset
| Input field | Type | Default | Meaning |
|---|---|---|---|
org |
str |
required | The tenant (first element of the identity tuple). |
namespace |
str |
required | The namespace the op reads or writes. |
name |
str |
required | The skill’s name, as skill.list answers it. |
kind |
Literal['team', 'builtin'] |
'team' |
builtin reads a skill the server image holds, team one a namespace holds; default team. |
include_files |
bool |
False |
Fill text on every entry of files; default false answers each file’s size and digest without its text. |
path |
str |
'' |
Answer in files only this file, with its text; a path the skill does not hold answers no file, and empty (the default) lists every file. |
| Output field | Type | Meaning |
|---|---|---|
found |
bool |
Whether the skill exists and the caller may read it; when false, every other field is empty. |
namespace |
str |
The namespace that holds the skill; empty for a built-in. |
name |
str |
The frontmatter’s name. |
kind |
Literal['', 'team', 'builtin'] |
builtin for a skill the server image holds, team for one a namespace holds. |
description |
str |
The frontmatter’s description. |
frontmatter |
dict[str, Any] |
The mapping the frontmatter of SKILL.md loads to. |
notice |
str |
What to know before reading the text: for a built-in, the server’s version and how this server serves the skill (mentor.guide, the MCP skills extension, or not at all while mcp_skills_enabled is off), never what a client loaded. |
content |
str |
SKILL.md, as stored. |
files |
list[SkillFileEntry] |
Every other file of the skill, by path, each as {path, bytes, sha256, text}; with path, that file alone. |
origin |
SkillOrigin |
Where the files come from, as source: {repo, path, commit}; for a built-in, its tracked path at the serving build’s commit, with repo empty. |
build_commit |
str |
The commit of the serving build; empty when the build does not know it. |
skill.list
List the skills this server holds: the ones built into its image.
POST /v1/skill.list · MCP loom_skill_list · role viewer · read · not listed under the MCP all toolset
| Input field | Type | Default | Meaning |
|---|---|---|---|
org |
str |
required | The tenant (first element of the identity tuple). |
namespace |
str |
required | The namespace the op reads or writes. |
kind |
Literal['team', 'builtin', 'all'] |
'all' |
Which skills: builtin (the ones the server image holds), team (the ones a namespace holds) or all; default all. |
query |
str |
'' |
Keep the skills whose name or description holds this text, in any case; empty (the default) keeps every skill. |
limit |
int |
50 |
Skills per page; default 50. |
cursor |
str |
'' |
The next_cursor of the previous page; empty (the default) for the first page. |
count_only |
bool |
False |
Answer total and no rows; default false. |
| Output field | Type | Meaning |
|---|---|---|
skills |
list[SkillRow] |
The page’s skills, by name, each as {namespace, name, kind, description}; empty with count_only. |
total |
int |
How many skills match kind and query, over every page. |
next_cursor |
str |
Pass as cursor for the next page; empty on the last page and with count_only. |