New advertisers: 50% off your first month with code FIRSTMONTHSee slots
igorwarzocha avatar

Create Opencode Plugin

Structured guide for building OpenCode plugins with the @opencode-ai/plugin SDK, covering feasibility checks, design, and testing.

skills.sh installs
353
GitHub stars
121
last updated
Jun 3, 2026
View on GitHub

What it does

  • Covers the full plugin workflow: SDK reference extraction, feasibility validation, design, implementation, UI feedback, testing, and publishing
  • Includes reference files for hooks, events, tool helpers, toast notifications, and examples, plus a extract-plugin-api.ts script that regenerates the API reference
  • Enforces a modular layout with files kept under 150 lines and a feasibility check that rules out TUI, built-in tool, and core prompt changes
  • Designed for developers building custom tools, event hooks, or auth providers for OpenCode in project or global plugin directories

Install

$ npx -y skills add igorwarzocha/opencode-workflows --skill create-opencode-plugin -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Creating OpenCode Plugins

Re-read this file periodically during plugin development to refresh context and ensure you're following the correct procedure.

Procedure Overview

Details

Repository
github.com/igorwarzocha/opencode-workflows
First seen
Jun 3, 2026

More from igorwarzocha/opencode-workflows

All 7

Similar to Create Opencode Plugin