Plugins
A plugin is a directory with a plugin.json manifest. It adds skills, subagents, slash commands, hooks, and MCP servers. A plugin declares its MCP servers in .mcp.json at its root: the mcpServers field in plugin.json is not read. Plugins do not add LSP servers. See Language servers.
Managing plugins
Section titled “Managing plugins”You can install and remove plugins right in the agent, without leaving for the terminal. The /plugin command with arguments mirrors the CLI:
/plugin install <source>/plugin remove <name>/plugin enable <name>/plugin disable <name>/plugin update <name> # or --all/plugin list/plugin marketplace add <source>/plugin marketplace list/plugin marketplace remove <name>/plugin without arguments and /plugin list open the plugin browser, with installed plugins, marketplaces, and load errors on separate tabs.
| Key | Action |
|---|---|
↑ ↓, j k | Move through the list |
Tab, Shift+Tab, ← → | Switch tabs |
Enter | Show what the plugin adds |
PageUp PageDown | Scroll the details |
| Space | Enable or disable |
u | Update the selected plugin |
d, Delete | Remove a plugin or marketplace, with confirmation |
Esc, q | Close |
Plugins installed through Claude Code (in ~/.claude) are visible and work. You can enable and disable them here, and Claude Code’s files stay unchanged. They are updated and removed in Claude Code; removing one from here only disables it.
The same actions in the terminal, plus a few commands that /plugin does not have:
waibee plugin install <source> # plugin@marketplace, owner/repo, git URL, or local pathwaibee plugin list [--json] # what loads in this folderwaibee plugin details <name> # what the plugin addswaibee plugin validate <path> # check before publishingwaibee plugin update <name> # or --allwaibee plugin remove <name>waibee plugin disable <name> # enable to turn it back onlist shows the plugins that load in the current folder, including those installed through Claude Code: the FROM column says where a plugin comes from (waibee or claude-code), and STATE says whether it is enabled. With --json, each plugin has id, name, version, origin, enabled, and path. details lists the plugin’s skills, commands, subagents, hooks, and MCP servers, also with --json.
details, enable, and disable take the plugin name or its ID: for a plugin installed by Claude Code, that is <name>@<marketplace>. enable and disable work on Claude Code plugins too.
Command names from Claude Code work as well. See Names from earlier versions.
Plugins are installed into ~/.waibee/plugins/<name>/. Installing from a git source requires git in PATH.
Start a local path with ./, ../, or ~/, or make it absolute; the directory does not need git init. A name without such a prefix is not treated as a path: the command replies with a hint showing both working forms. The owner/repo form always means a repository on GitHub, never a directory with that name.
Marketplace
Section titled “Marketplace”A plugin marketplace is registered by owner/repo, git URL, or local path. Its name is read from marketplace.json in the .claude-plugin/ or .waibee-plugin/ directory, or at the root of the repository. After registration, plugins install with the short form <plugin>@<marketplace>.
waibee plugin marketplace add <source>waibee plugin marketplace listwaibee plugin marketplace update [<name>] # reread the marketplace from its source; without a name, all of themwaibee plugin marketplace remove <name>Marketplaces added in Claude Code also appear in the list, and you can install plugins from them, but you can remove them only there.
Validating before publishing
Section titled “Validating before publishing”waibee plugin validate <path> checks a plugin or marketplace directory before you publish it:
plugin.jsonin the directory, in.claude-plugin/, or in.waibee-plugin/can be read, or, if there is none, the directory contains at least one ofskills/,commands/,agents/,hooks/hooks.json, or.mcp.json;- the paths the manifest names (
skills,commands,agents,hooks) exist; - the plugin’s
.mcp.jsonandhooks/hooks.jsonare valid JSON; - every plugin in the marketplace’s
marketplace.jsonhas a name and a source that Waibee Code can install, no plugin is listed twice, and local sources (./...) exist.
A missing description, author, or version is a warning. An error ends the command with a nonzero exit code; a warning does so only with --strict. --json prints the report as JSON.
Structure and compatibility
Section titled “Structure and compatibility”Plugins are looked up in project directories whose names end in .waibee-plugin or .claude-plugin, globally in ~/.waibee/plugins/, and among Claude Code plugins in ~/.claude. The plugin.json manifest sits at the plugin root or in its .waibee-plugin/ or .claude-plugin/ subdirectory. It is optional: without it, the plugin name comes from the marketplace entry or the directory name, and skills, commands, and hooks come from the standard subdirectories. The skills/, commands/, and agents/ subdirectories are picked up even if the manifest does not list them. Hooks are read from the object in the manifest’s hooks field and from hooks/hooks.json.
A plugin’s commands, skills, and subagents get its name as a prefix: /<plugin>:<command>. MCP servers get the name plugin_<plugin>_<server>, so their tools are named mcp__plugin_<plugin>_<server>__<tool>. Long names are shortened with a hash appended; in permissions.allow and permissions.deny, write the actual tool name.
A plugin that lives inside a repository provides its skills, commands, and subagents right away, but its hooks and MCP servers start only after the folder is trusted. See Folder trust. An installed plugin is not affected.
plugin.json fields:
| Field | Value |
|---|---|
name | the plugin name, required |
version, description, homepage, license | strings; a marketplace plugin with version updates when the version changes, and without it, when its directory in the source or its marketplace entry changes. A plugin installed straight from a git repository updates with every change to the repository |
author | a string, or an object with name and email |
skills, commands, agents | a path or list of paths to directories beyond the standard ones |
hooks | hooks in the same format as in the settings, or a path to a JSON file with them, relative to the plugin root |
A path from the manifest that leads outside the plugin directory, including through a symbolic link, is not loaded; waibee plugin validate reports an error for such a path.
marketplace.json fields: the marketplace name, description, and the plugins list. Each plugin has name and source. A source is either a string: ./path inside the marketplace, a directory name inside metadata.pluginRoot, owner/repo on GitHub, or a git URL. Or an object:
source | Fields | What gets installed |
|---|---|---|
github | repo, ref, sha | a repository on GitHub |
url (or git) | url, ref, sha | a repository by git URL |
git-subdir | url, path, ref, sha | one directory of a repository; url can be owner/repo |
path | path | a directory inside the marketplace |
url is an https://, http://, ssh://, git://, file://, or user@host:path address. ref is a branch or tag, and sha is a full 40-character commit: with it, exactly that commit is installed. For git-subdir, only that directory is downloaded. Waibee Code does not install npm, archive, or command sources: such a plugin is unavailable, and the rest of the marketplace works. A path that leads outside the marketplace (../, absolute) is not accepted.
The other fields of an entry describe the plugin the same way as the plugin.json fields. If the plugin has no plugin.json of its own, the entry serves as its description. If it has one, skills, commands, and agents from the entry are added to it, and hooks from the entry replace the hooks for the same event. If the plugin has its own plugin.json, an entry with "strict": false cannot name components: installing such a plugin fails.
A plugin that contains only language servers (lspServers, .lsp.json) is not installed: Waibee Code connects the servers itself. See Language servers.
The format is compatible with Claude Code: Claude Code marketplaces and manifests are read as is. A disabled plugin adds nothing: no skills, commands, hooks, or MCP servers.
To see which marketplaces exist and what to check before installing, read Finding extensions.