opencode-plugin-api

Community

OpenCode plugin API reference and module format.

Authorxuezhaojun
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This guide helps developers implement the OpenCode plugin system by detailing the API surface, available hooks, and module format.

Core Features & Use Cases

  • Documented plugin module format (v1) and how to define a plugin with an id and server entry.
  • Readable list of hooks, event types, and tool/provider patterns to enable custom extensions.
  • Quick reference for integrating with the OpenCode server to register tools, authentication providers, and chat interactions.

Quick Start

Install OpenCode project tooling and reference this skill to scaffold a minimal plugin using the standard module format.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: opencode-plugin-api
Download link: https://github.com/xuezhaojun/oh-your-opencode/archive/main.zip#opencode-plugin-api

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.