Skip to content

About

Opencode plugin that allows installing Agent Plugins (see the spec here: agent-plugins.org)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opencode-agent-plugins

CI npm version

An Agent Plugins client for OpenCode: loads, validates, and registers Agent Plugins packages, turning their skills and MCP servers into OpenCode capabilities.

Description

An Agent Plugin is a portable, self-contained package that bundles agent capabilities: a directory with a plugin.json manifest, optionally a skills/ directory and an mcp.json file. opencode-agent-plugins lets OpenCode use such packages as-is, without converting them to OpenCode's native configuration.

The package has two parts:

  • An OpenCode V2 plugin that runs at OpenCode startup: it resolves each configured source, validates the package against the specification, and registers its skills and MCP servers through OpenCode's plugin context. stdio MCP servers receive PLUGIN_ROOT and a persistent PLUGIN_DATA directory; streamable-http servers become remote entries; unsupported sse servers are skipped with a warning. MCP tools are available through Code Mode by default, like natively-configured servers. User-authored configuration always wins: a colliding name is never overwritten, and the host keeps the user entry. An MCP collision is reported as a warning and the plugin's entry is skipped; a skill collision with user config is invisible to transforms and is not reported by the client.
  • A CLI that installs, updates, and removes plugin sources and manages the client store.

Installation

The CLI ships in the opencode-agent-plugins npm package. Run it with npx — no global install is required:

npx opencode-agent-plugins --help

Requirements: OpenCode 2 (the client is verified against the release pinned in package.json), Node.js >= 26 for the CLI, and git for the git-backed commands (install from a URL, check, update).

Quick start

This example installs the Context7 plugin from a subpath of its repository:

npx opencode-agent-plugins install \
  https://github.com/upstash/context7.git#:plugins/agent-plugins/context7

The CLI fetches the source, validates it, and previews the skills and MCP servers that would be registered; on confirmation it registers the source in your OpenCode config and reloads a running OpenCode. If no service is running, restart OpenCode and the plugin's skill and MCP server are available in your sessions.

For the full walkthrough — including what the output looks like and how to verify the result — see the getting-started tutorial.

Documentation

About

Opencode plugin that allows installing Agent Plugins (see the spec here: agent-plugins.org)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages