> ## Documentation Index
> Fetch the complete documentation index at: https://docs.murmur.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# managed-skill catalog resource

> Catalog resource holding one managed skill: a description of when to use it, Markdown instructions, optional supporting files, and the workspaces that may use it.

A `managed-skill` resource stores one [managed skill](https://docs.murmur.dev/concepts/managed-skills.md): the description agents see in their system prompt, the Markdown body they read with [`murmur skill open`](https://docs.murmur.dev/cli/skill), and up to 64 supporting files. In the dashboard, skills are managed under **Settings → Agent configuration → Managed skills**. To publish a `SKILL.md` directory, use [`murmur import-skill`](https://docs.murmur.dev/cli/import-skill).

A bare name such as `pr-style` is an organization skill, usable in the [workspaces](https://docs.murmur.dev/concepts/workspaces.md) its `workspace_use` admits. `{workspace}/{name}`, such as `backend/pr-style`, is a workspace skill, usable only in that workspace and managed through its grants. See [Where a skill is available](https://docs.murmur.dev/concepts/managed-skills.md#where-a-skill-is-available).

## Fields

| Name | Type | Required | Description |
| - | - | - | - |
| `name` | string | yes | `{name}` or `{workspace}/{name}`. Each segment is a DNS label (`[a-z][a-z0-9-]{0,62}`), and the workspace must exist. `murmur` and names starting with `murmur-` are reserved for built-in skills. Fixed after creation. |
| `description` | string | yes | When agents should use the skill. Shown in agents' system prompts and in [`murmur skill list`](https://docs.murmur.dev/cli/skill). At most 1024 bytes, with no control characters; runs of whitespace are collapsed to one space when parsed from `SKILL.md`. |
| `body` | string | yes | Markdown instructions, without `SKILL.md` frontmatter. Agents read it on demand; it is never added to the system prompt. |
| `content` | string | no | The skill as one `SKILL.md` document: YAML frontmatter with `name` and `description`, then the body. Murmur renders it on every read and never stores it. On a full write, Murmur parses it only when `description` and `body` are both empty. See [Writing `content` or structured fields](#writing-content-or-structured-fields). |
| `files` | object\[] | no | Supporting files agents open on demand. At most 64. See [File fields](#file-fields). |
| `workspace_use` | object | no | For an organization skill, which [workspaces](https://docs.murmur.dev/concepts/workspaces.md) may use it: `scope` is `WORKSPACE_USE_SCOPE_NONE` (the default), `WORKSPACE_USE_SCOPE_ALL`, or `WORKSPACE_USE_SCOPE_SELECTED` with a `workspaces` list. Omit it for a workspace skill. Changing it needs `managed-skill.edit` through a [tenant binding](https://docs.murmur.dev/catalog/tenant-binding.md). See [resource admission](https://docs.murmur.dev/catalog/workspace.md#resource-admission-with-workspace_use). |

The description, body, and every file's path and contents together may total at most 1 MiB.

A skill also reaches a workspace only if the workspace's [`tenant_skill_inclusion`](https://docs.murmur.dev/catalog/workspace#fields) setting includes it. That setting lives on the workspace, not the skill.

### File fields

| Name | Type | Required | Description |
| - | - | - | - |
| `path` | string | yes | Relative POSIX path in the skill, such as `references/checklist.md` or `scripts/lint.sh`. At most 255 bytes. No leading `/`, `.` or `..` segments, backslashes, or duplicate paths, and not `SKILL.md`. A path can't also be the directory of another file. |
| `content` | bytes | yes | The file's contents, base64-encoded in YAML and JSON. |
| `executable` | bool | no | Whether the file is executable. Murmur never runs it. Default: `false`. |

### Writing `content` or structured fields

`description` and `body` are what Murmur stores. `content` is a convenience for writing a whole `SKILL.md` at once:

| Write | Result |
| - | - |
| `content` set, `description` and `body` both empty | Murmur parses `content`. Its frontmatter `name` must equal the skill's name without the workspace prefix. Frontmatter fields other than `name` and `description`, such as `allowed-tools`, are dropped. |
| `description` or `body` set | Murmur ignores `content`. Both `description` and `body` are required. |
| None of the three set | Rejected. |

To edit a skill you read with [`murmur get`](https://docs.murmur.dev/cli/get), change `description` or `body`, not `content`. [`murmur patch`](https://docs.murmur.dev/cli/patch) can't set `content`; to replace the body from a file, run `murmur patch managed-skill backend/pr-style --file-field body=body.md`.

## Examples

### Create a workspace skill

```bash theme={null}
cat <<'EOF' | murmur set managed-skill backend/pr-style
name: backend/pr-style
description: Use when opening or updating a pull request in a backend repository.
body: |
  # Backend pull requests

  1. Title the PR in the imperative mood, under 72 characters.
  2. Link the Linear issue in the first line of the description.
  3. List the migrations the change adds, if any.
EOF
```

### Create an organization skill for two workspaces

```bash theme={null}
cat <<'EOF' | murmur set managed-skill release-checklist
name: release-checklist
description: Use when preparing or verifying a production release.
body: |
  Follow references/checklist.md in order and report each step's result.
files:
  - path: references/checklist.md
    content: MS4gVGFnIHRoZSByZWxlYXNlLgoyLiBXYXRjaCB0aGUgZGVwbG95Lgo=
workspace_use:
  scope: WORKSPACE_USE_SCOPE_SELECTED
  workspaces: [backend, frontend]
EOF
```

### Read a skill

```bash theme={null}
murmur get managed-skill backend/pr-style
```

The output includes the stored fields and the rendered `content`. Agents read skills with [`murmur skill open`](https://docs.murmur.dev/cli/skill) instead.

## Manage with Terraform

Managed skills are ordinary JSON-backed kinds in the [Terraform provider](https://docs.murmur.dev/guides/terraform.md): use `payload`, not `markdown`. Keep each skill's body and files in your repository and read them with `file()` and `filebase64()`:

```hcl theme={null}
resource "murmur_catalog_resource" "pr_style" {
  kind = "managed-skill"
  name = "backend/pr-style"
  payload = jsonencode({
    name        = "backend/pr-style"
    description = "Use when opening or updating a pull request in a backend repository."
    body        = file("${path.module}/skills/pr-style/body.md")
    files = [
      for f in fileset("${path.module}/skills/pr-style/files", "**") : {
        path    = f
        content = filebase64("${path.module}/skills/pr-style/files/${f}")
      }
    ]
  })
}

resource "murmur_catalog_resource" "release_checklist" {
  kind = "managed-skill"
  name = "release-checklist"
  payload = jsonencode({
    name        = "release-checklist"
    description = "Use when preparing or verifying a production release."
    body        = file("${path.module}/skills/release-checklist/body.md")
    workspaceUse = {
      scope      = "WORKSPACE_USE_SCOPE_SELECTED"
      workspaces = ["backend", "frontend"]
    }
  })
}
```

Set `description` and `body` rather than `content`, and don't list `content` in `ignore_fields`: Murmur rejects it, because `content` is rendered on read rather than stored. Murmur adds `content` to every read, and Terraform ignores it when comparing.

Set `workspaceUse` explicitly on an organization skill. Without it the skill is usable in no workspace.

To narrow the organization and built-in skills a workspace includes, set `tenantSkillInclusion` on the [workspace](https://docs.murmur.dev/catalog/workspace.md#fields) resource:

```hcl theme={null}
  # In a workspace's payload
  tenantSkillInclusion = {
    scope  = "SELECTED"
    skills = ["release-checklist", "murmur-manage-agents"]
  }
```

The service profile that applies the configuration needs `managed-skill.read`, `.create`, `.edit`, and `.delete`. For a workspace skill, granting the profile the `murmur-workspace-collaborator` role in that [workspace's grants](https://docs.murmur.dev/catalog/workspace.md#access-grants) supplies them. Organization skills need them in the profile's [tenant binding](https://docs.murmur.dev/catalog/tenant-binding.md). Import an existing skill with `managed-skill/<name>`:

```bash theme={null}
terraform import murmur_catalog_resource.pr_style managed-skill/backend/pr-style
```

## Errors

| Message | Meaning | What to do |
| - | - | - |
| `managed skill name is reserved for Murmur` | The name is `murmur` or starts with `murmur-`. | Choose another name. |
| `SKILL.md name must match the skill's catalog name without its workspace prefix` | `content`'s frontmatter `name` differs from the skill's name. | Make the frontmatter `name` the last segment of the catalog name. |
| `skill description must be nonempty UTF-8, at most 1024 bytes, and contain no control characters` | `description` is missing, too long, or contains a control character. | Shorten it to one paragraph. |
| `skill body must be nonempty UTF-8` | `body` is missing. | Add instructions. |
| `managed skill exceeds 64 supporting files` | More than 64 entries in `files`. | Combine files. |
| `managed skill exceeds 1048576 bundle bytes` | The skill totals more than 1 MiB. | Move large assets elsewhere and link to them. |
| `invalid or duplicate supporting file path …` | A path is absolute, uses `..` or a backslash, repeats, or is `SKILL.md`. | Use a unique relative path. |

## Related

* [Managed skills](https://docs.murmur.dev/concepts/managed-skills.md): how agents discover and open skills.
* [Publish a managed skill](https://docs.murmur.dev/guides/managed-skills.md)
* [`murmur skill`](https://docs.murmur.dev/cli/skill) and [`murmur import-skill`](https://docs.murmur.dev/cli/import-skill)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.