Plugin manifests, component layouts and distribution formats checked November 16, 2026. Agent Plugins 1.0 is the published portable format for skills and MCP; 1.1 portable hooks remain a working draft. Vendor formats and executable extensions have separate contracts. Source inspection and documentation review do not establish runtime conformance.
| Question | OpenCodechecked at 2.3.0 |
|---|---|
| Manifest and format | 2.3.0 loads executable npm or local modules. package.json exports resolve |
| Required and optional fields | Config uses |
| Components and default layout | Server modules can register tools, skills, agents, commands, providers and MCP behavior through host APIs. TUI, RPC and experimental GUI have separate package entrypoints. Config roots discover plugin/ and plugins/ directories and legacy .ts/.js files. SDK and instance plugins are contributed in code. |
| Paths and variables | Configured relative or file:// paths resolve from the config document; explicitly configured local files are skipped because a directory is required. Auto-discovered legacy files remain accepted. Module imports and package exports resolve executable dependencies, rather than plugin-relative JSON component paths. |
| MCP configuration | Executable plugins receive MCP and other host APIs; MCP configuration/registration is separate from a portable root mcp.json package. Runtime contributions can supply custom behavior, so a filesystem scan alone cannot bound all hosts. |
| Distribution and marketplaces | npm package targets resolve/install through the module loader; local directories resolve package parts. Internal, configured, SDK and instance generations are assembled by the supervisor, then activated by plugin identity. This audit does not establish a portable marketplace catalog format. From 2.4.0, plugin specs using @latest, a version range, a Git branch or a Git semver range update at startup and every 24 hours. A failed reload keeps the previous version running. Bare names, exact versions, other dist-tags, Git tags and commit pins support manual update. |
| Compatibility and verification limits | Partly Keep 2.3.0 module objects and plugins configuration separate from historical 1.x named function exports and singular plugin configuration. Root Agent Plugins package support remains unknown here; SDK contribution hooks mean module discovery is not the entire host surface. |
Commands
From your shell
Commands you run in a terminal or script, outside a session.
| Task | OpenCode 2.xchecked at 2.0.28 |
|---|---|
| Set up | |
| Install | Install a plugin package and add it to the global configuration. 1 noteAccepts npm names with versions or ranges, and Git specs. |
| Use | |
| List |
List plugins, optionally including built-in ones. |
| Show details | |
| Change | |
| Update |
Update one or all outdated package plugins. |
| Remove | |
| Remove |
Remove a plugin from the global configuration. |
Inside a session
Slash commands you type into an open session.
| Task | OpenCode 2.xchecked at 2.0.28 |
|---|---|
| Use | |
| Open the manager | Switch plugins on or off, check for and apply updates, and view errors. |