Plugins
Plugin support is experimental and under active development. The plugin format and the features on this page will change, and an update can break existing plugins.
A plugin is a directory that bundles extensions for Vibe Code: skills, MCP servers, knowledge folders, subagents, and more. Use plugins to share a complete setup with your team, or to install one from another source, without merging it into your own config.toml, skills, and agent files.
Vibe reads plugins in the Agent Plugins 1.0 format. Every plugin has a plugin.json manifest. Vibe-specific components live in an ai.mistral.vibe/ directory and need the ai.mistral.vibe extension in the manifest.
Vibe ships one built-in plugin, vibe, which provides skills such as /vibe:skill-creator, /vibe:worktree, and /vibe:import. Run /vibe:import to bring your instructions, skills, subagents, hooks, MCP servers, and permissions over from Claude Code, Codex, or OpenCode.
Plugin locations
Each subdirectory of a plugins directory is one plugin:
Scope | Location | Loaded |
|---|---|---|
| Project | ./.vibe/plugins/<plugin>/ in the working directory, and in directories added with --add-dir | Working directory: only when trusted. --add-dir directories: always |
| User | ~/.vibe/plugins/<plugin>/ (or $VIBE_HOME/plugins/) | Always |
| Built-in | Shipped with Vibe | Always |
When two plugins share a name, the project plugin wins over the user plugin, which wins over the built-in one. If two plugins with the same name sit at the same scope, Vibe loads neither.
Create a plugin
This example creates a user-level plugin with one skill.
1.
Create the plugin directory and its skill directory:
mkdir -p ~/.vibe/plugins/release-tools/skills/changelog
1.
Create ~/.vibe/plugins/release-tools/plugin.json:
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "release-tools",
"version": "1.0.0",
"description": "Skills for cutting releases."
}
1.
Create ~/.vibe/plugins/release-tools/skills/changelog/SKILL.md:
---
name: changelog
description: Draft a changelog entry from the commits since the last release tag.
---
# Draft a changelog entry
1. Find the latest release tag with `git describe --tags --abbrev=0`.
2. List the commits since that tag.
3. Group the changes under Added, Changed, and Fixed.
1.
Start a new session, or run /reload-plugins in a running one.2.
Run /plugins and check that release-tools is listed. Run the skill with /release-tools:changelog.
The skill prefix is the plugin's name. The plugin's tools use a namespace instead. Vibe derives it from the name: it replaces every character other than letters, digits, _, and $ with _, and adds a leading _ when the name starts with a digit. To choose your own, set toolNamespace in the Vibe extension.
Plugin layout
Only plugin.json is required:
release-tools/
├── plugin.json # Manifest (required)
├── mcp.json # MCP servers
├── libraries.json # Python and Node libraries (Vibe extension)
├── connectors.json # Required connectors (Vibe extension)
├── skills/
│ └── changelog/
│ └── SKILL.md
└── ai.mistral.vibe/ # Vibe-specific components (Vibe extension)
├── hooks.toml
├── knowledge/
│ └── release-policy/
│ └── KNOWLEDGE.md
└── agents/
└── release-checker.toml
Without the ai.mistral.vibe extension in plugin.json, Vibe loads only skills/ and mcp.json and ignores the other components.
Every path must stay inside the plugin directory. A file or symbolic link that resolves outside it is rejected.
Manifest (plugin.json)
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "release-tools",
"version": "1.0.0",
"description": "Skills, reference material, and a subagent for cutting releases.",
"author": { "name": "Example Team", "url": "https://example.com" },
"license": "MIT",
"keywords": ["release"],
"extensions": {
"ai.mistral.vibe": {
"schemaVersion": 1,
"displayName": "Release tools",
"toolNamespace": "release"
}
}
}
Field | Required | Details |
|---|---|---|
| $schema | yes | Exactly https://agent-plugins.org/schemas/1.0.0/plugin.schema.json. Vibe rejects other schema versions. |
| name | yes | 1 to 64 characters: lowercase letters, digits, ., and -. Starts and ends with a letter or digit, and contains no -- or ... Identifies the plugin. |
| version | no | Shown in /plugins. |
| description | no | Shown in /plugins. Vibe also lists it in the agent's context, so describe what the plugin is for. |
| author | no | Object with optional name, email, and url. |
| homepage, repository, license | no | Strings. |
| keywords | no | List of strings. |
| extensions | no | Extension blocks keyed by extension ID. Vibe reads ai.mistral.vibe. |
Vibe ignores any other top-level field or unknown extension field, and shows a warning for it in /plugins.
Vibe extension
The extensions."ai.mistral.vibe" block turns on hooks, knowledge, subagents, libraries, and connectors for the plugin:
Field | Required | Details |
|---|---|---|
| schemaVersion | yes | 1. |
| displayName | no | Title of 1 to 100 characters. name stays the plugin's identity. |
| toolNamespace | no | Namespace for the plugin's tools. Must be a valid identifier: letters, digits, _, and $, not starting with a digit. Defaults to the plugin name with other characters replaced by _. Vibe prefixes skills, knowledge, and subagents with the plugin name instead. |
| defaultEnabled | no | false keeps the plugin off until its name is in enabled_plugins. Defaults to true. See Turn plugins on or off. |
| toolOverrides | no | Renames a tool (name) or sets its exposure (exposure: programmatic, direct, or direct_and_programmatic). Keys have the form <server-or-connector-id>/<tool-name>, such as tracker/create_issue. In the current version, overrides only change the tool catalog shown in /plugins, not the tools the agent sees. |
These namespaces are reserved: agent, agents, collaboration, file_system, process, self, skill, subagent, and vibe. Vibe doesn't load a plugin whose namespace is reserved, and it doesn't load any of the plugins that share a namespace.
What a plugin can ship
Skills
Place each skill in skills/<skill-name>/SKILL.md. The format is the same as for standalone skills, and the name in the frontmatter must match the directory name.
Vibe exposes each skill as <plugin-name>:<skill-name>. A user-invocable skill becomes the slash command /<plugin-name>:<skill-name>. To filter plugin skills with enabled_skills or disabled_skills, use the same name, such as release-tools:*.
MCP servers
Declare MCP servers in mcp.json at the plugin root:
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
"mcpServers": {
"release-notes": {
"type": "stdio",
"command": "./bin/release-notes-server",
"args": ["--cache", "${PLUGIN_DATA}/cache"],
"env": { "LOG_LEVEL": "info" }
},
"tracker": {
"type": "streamable-http",
"url": "https://mcp.example.com/mcp",
"headers": { "X-Team": "release" }
}
}
}
The $schema must be exactly https://agent-plugins.org/schemas/1.0.0/mcp.schema.json, and mcpServers is the only other top-level key. If either rule fails, for example an mcp.json copied from a Claude Code .mcp.json without adding $schema, Vibe loads none of the file's servers.
Transport | Fields |
|---|---|
| stdio | command (required): a bare executable found on PATH, such as node or uvx, or a path inside the plugin that starts with ./. args, env, and cwd are optional. |
| streamable-http | url (required) and static headers. |
Vibe doesn't support the sse transport in plugins. Keep these rules in mind:
- ${PLUGIN_ROOT} (the plugin directory) and ${PLUGIN_DATA} (a writable data directory that Vibe creates for the plugin) expand in args, env values, and cwd, but not in command.
- Vibe sets PLUGIN_ROOT and PLUGIN_DATA in the server's environment. Don't define them in env.
- cwd must start with ./, ${PLUGIN_ROOT}, or ${PLUGIN_DATA}. Without it, the server runs in the plugin directory.
Plugin servers appear in /mcp, tagged with their plugin, and you sign in to them with /mcp login <name>. If an MCP server in your config.toml has the same name, Vibe disables the plugin's server and shows a warning, so the two never share credentials. See MCP servers.
Knowledge
A knowledge folder holds reference material that the agent reads when it's relevant, such as policies, runbooks, or API notes. Place each folder in ai.mistral.vibe/knowledge/<name>/, with a KNOWLEDGE.md entry point and any other files the entry point refers to:
---
name: release-policy
description: Versioning rules, release branches, and freeze windows for this team.
display_name: Release policy
---
# Release policy
- Follow semantic versioning.
- Cut releases from `release/<major>.<minor>` branches.
Field | Required | Details |
|---|---|---|
| name | yes | Must match the folder name. Lowercase letters, digits, and -, up to 64 characters. |
| description | yes | 5 to 300 characters. The agent decides from it whether to read the folder. |
| display_name | no | Up to 100 characters. |
| icon | no | Up to 16 characters. |
Vibe copies each folder into the plugin's data directory and lists it in the agent's context as a read-only folder named <plugin-name>:<name>, with its description and the path of its KNOWLEDGE.md. Vibe doesn't add the content itself to the context: the agent reads KNOWLEDGE.md when a folder is relevant to the task.
A plugin can ship up to 100 knowledge folders. Each KNOWLEDGE.md is limited to 256 KB, and knowledge folders can't contain symbolic links.
Subagents
Define subagents in ai.mistral.vibe/agents/<name>.toml, one file per subagent. Use a lowercase, hyphenated file name, such as code-reviewer.toml. Vibe names the subagent <plugin-name>:<name>:
# ai.mistral.vibe/agents/release-checker.toml
schema_version = 1
agent_type = "subagent"
display_name = "Release checker"
description = "Checks that a branch is ready to release and reports blockers."
safety = "safe"
instructions = "Check the changelog, version numbers, and CI status. Don't modify files."
enabled_tools = ["read_file", "bash"]
[tools.bash]
permission = "ask"
Field | Required | Details |
|---|---|---|
| schema_version | yes | 1. |
| agent_type | yes | "subagent". Plugins can't define user-selectable agents. |
| description | yes | 1 to 300 characters. Tells the agent when to delegate to this subagent. |
| display_name | no | Up to 100 characters. |
| safety | no | safe, neutral (default), destructive, or yolo. |
| instructions | no | Instructions for the subagent. |
| active_model | no | Model alias the subagent runs on. Defaults to the session's model. |
| enabled_tools, disabled_tools | no | Tool names, without duplicates. |
| [tools.<tool>] | no | permission (always, ask, or never), allowlist, and denylist. They apply on top of the session's rules, as for custom subagents. |
Plugin subagents follow the same rules as custom subagents. A plugin can ship up to 128 subagent files of up to 64 KB each.
Hooks
A plugin can declare hooks in ai.mistral.vibe/hooks.toml, with the same fields as a hooks.toml file. Vibe prefixes each hook name with the plugin name, such as release-tools:audit-bash. A plugin can declare up to 128 hooks, in a file of up to 64 KB.
Plugin hooks run with the hooks from your hooks.toml files, in the session's pinned copy of the plugin, with PLUGIN_ROOT and PLUGIN_DATA set. See Plugin hooks for the order. A running session keeps the hooks it started with: after /reload-plugins, hook changes apply to new sessions.
Libraries
Declare Python and Node libraries in libraries.json at the plugin root:
{
"schemaVersion": 1,
"python": { "release_utils": "./python/release_utils" },
"node": { "@example/release-utils": "./node/release-utils" }
}
Each key is the import name, and each value is a path inside the plugin that starts with ./. A Python library is a package directory or a single .py file, and a Node library is a directory. Vibe copies the libraries to the plugin's data directory and adds them to PYTHONPATH and NODE_PATH for the commands the agent runs, so scripts in the plugin's skills can import them.
Node libraries need Node.js on your machine. If two plugins declare the same import name, Vibe loads neither library.
Connectors
Declare the connectors and connector tools that the plugin relies on in connectors.json at the plugin root:
{
"schemaVersion": 1,
"connectors": [{ "id": "github", "tools": ["list_issues", "create_issue"] }]
}
A declaration doesn't connect anything. Vibe checks the declared connectors against your account and reports any that aren't available. Connect them as described in Connectors.
Manage plugins in a session
Command | Action |
|---|---|
| /plugins | Browse the plugins of the current session. Select one to see its author, version, location, scope, format, pinned digest, and components. Files that Vibe couldn't load, whether a whole plugin or a single component, appear under Not loaded with the reason, as do warnings such as ignored unknown fields. Press / to search and r to reload. |
| /reload-plugins | Read the plugin directories again, switch the session to what they contain now, and report the plugins that were added (+), removed (-), or updated (~). |
/reload doesn't reload plugins. Both plugin commands run only while the agent is idle.
Turn plugins on or off
To turn off an installed plugin without removing it, list its name in disabled_plugins in config.toml. A disabled plugin stays on disk but adds nothing to your sessions:
disabled_plugins = ["release-tools"]
A plugin can ship off by default by setting "defaultEnabled": false in its Vibe extension. Turn it on with enabled_plugins. When a plugin is in both lists, disabled_plugins wins.
The built-in vibe plugin can't be turned off. Start or resume a session, or run /reload-plugins, to apply a change.
Pinned plugins
When a session starts, Vibe pins the content of each plugin it loads. The session keeps using that content until you run /reload-plugins:
- Editing, upgrading, or removing a plugin on disk doesn't change a running session. Run /reload-plugins to pick up the change, or start a new session.
- A resumed session uses the plugin content it pinned, even if a plugin has changed since. When plugins were added, removed, turned on, or turned off since the session last ran, Vibe pins the current set again when you resume it.
- MCP servers and connectors aren't pinned: Vibe reconnects to them when a session starts, resumes, or reloads, so their tools can differ.
Trust and security
A plugin can start local MCP servers and add tools, instructions, and reference material to your sessions. Review a plugin the same way you review code before you install it.
- Project plugins in ./.vibe/plugins/ load only when you trust the working directory. Vibe loads project plugins from directories added with --add-dir without asking, so add only directories you trust.
- User plugins in ~/.vibe/plugins/ load in every session, in every project.
- Plugin MCP servers follow the same rules as configured MCP servers. When your administrator sets enable_mcp = false, Vibe doesn't load them either.
- Plugins don't change approvals. Tools from plugins go through the same approval policies and per-tool permissions as other tools.
Plugins for other agents
Vibe also loads plugins written for other coding agents. It detects the format from these markers:
Format | Marker | What Vibe loads |
|---|---|---|
| Claude Code | .claude-plugin/plugin.json | Skills and MCP servers |
| Codex | .codex-plugin/plugin.json | Skills and MCP servers |
| Kimi Code | kimi.plugin.json or .kimi-plugin/plugin.json | Skills and MCP servers |
| OpenCode | .opencode/ content or opencode.json | Skills and MCP servers declared in opencode.json. Vibe doesn't run executable OpenCode plugins or custom tools. |
A plugin.json with the Agent Plugins 1.0 $schema takes precedence over these markers. If a directory has markers for more than one other format, Vibe doesn't load it. Write new plugins in the Agent Plugins 1.0 format.
Troubleshooting
The plugin doesn't appear in /plugins. The session started before you created the plugin, the plugin is in a project that isn't trusted, or the plugin is turned off. Run /reload-plugins, check that the working directory is trusted, and check that the plugin isn't in disabled_plugins. A plugin that sets "defaultEnabled": false also needs its name in enabled_plugins.
A file appears under Not loaded. Vibe couldn't load that plugin or component, or loaded it with a warning, such as an unknown field it ignored. The reason appears next to the file. Common causes for a whole plugin: a $schema other than the 1.0.0 URL, a name with uppercase letters or --, a reserved namespace, two plugins with the same name in the same scope, or two plugins with the same namespace. Fix the cause, then run /reload-plugins.
Knowledge, subagents, or libraries are missing. plugin.json has no ai.mistral.vibe extension, or the extension is invalid, for example because schemaVersion is missing. Add the extension and reload.
A subagent file is rejected. Plugin subagent files use snake_case keys, such as schema_version and agent_type. Vibe rejects camelCase keys, such as schemaVersion, and any unknown key.
A plugin MCP server doesn't start. Check command and cwd. command must be a bare executable name or start with ./, and cwd must start with ./, ${PLUGIN_ROOT}, or ${PLUGIN_DATA}, so absolute paths and . are rejected. Also check that mcp.json has the exact 1.0.0 $schema and only mcpServers, and that no MCP server in config.toml uses the same name.
Next steps
- Write the skills your plugin ships: Skills.
- Configure and sign in to MCP servers: MCP servers.
- Define subagents and their tools: Agents.
- Enforce policies with hooks: Hooks.