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

# Plugins

> Skills your agents read, in versioned bundles.

A **skill** is a how-to an agent reads when a task calls for it, like how your
team writes release notes. Skills ship in **plugins**: a `plugin.json`, one
`skills/<name>/SKILL.md` per skill (plus any files it uses), and an optional
`mcp.json` naming the MCP servers the skills expect. Agents address a skill as
`plugin:skill`, so `standup:notes`.

```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{
  "files": [
    { "path": "plugin.json", "content": "{\"$schema\":\"https://agent-plugins.org/schemas/1.0.0/plugin.schema.json\",\"name\":\"standup\",\"description\":\"How we run standups\"}" },
    { "path": "skills/notes/SKILL.md", "content": "---\nname: notes\ndescription: Write up a standup\n---\n\nList what shipped, what's next, and what's blocked." }
  ],
  "expectedVersion": ""
}
```

`PUT /v1/plugins/standup` with that body installs a workspace plugin, shared
by every agent in the workspace. Add `?identity=` and it belongs to one
[identity](https://docs.matrices.com/model/identities.md) instead. Platform plugins like `matrices` and
`routines` ship with Matrices and are read-only. When one skill exists at
several scopes, an agent reads the whole skill from the highest: identity, then
workspace, then platform.

Each agent whose roles grant `skills.read` sees an index of its skills every
turn. Agents can also write skills with `skills.write` and `skills.delete`. A
workspace write changes what every agent sees, so the default
`approve-skill-workspace-write` hook asks a person first.

> [!NOTE]
>
> **Belongs to** a workspace or one identity · **Holds** ≤ 32 skills ·
> **Versioned** by a hash of its files · **Read with** `skills.*`, granted by roles

## Rules

* A plugin grants nothing. `mcp.json` names toolsets; roles still decide tools
  and connections still log in. See [Rules](https://docs.matrices.com/model/rules.md).
* `PUT` replaces the whole bundle. `expectedVersion: ""` creates only if
  absent; a stale version gets `409` with `currentVersion`.
* An agent's own API calls can't `PUT` or `DELETE` workspace plugins.

## API

* `GET /v1/plugins` lists one scope. `GET`/`PUT`/`DELETE /v1/plugins/{pluginName}`
  read one (or one file, with `?path=`), install it, and remove it. All four
  take `?identity=`.
* Bundle sizes: [Limits](https://docs.matrices.com/reference/limits.md).


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