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. |