
Create Opencode Plugin
This is a comprehensive workflow guide for building OpenCode plugins using their SDK. It walks you through the full lifecycle: verifying API references, validating feasibility (what's possible vs. what requires core changes), designing hooks, implementing with modular TypeScript patterns, adding UI feedback, testing, and publishing. The structure is opinionated about code organization, insisting you split complex plugins into multiple focused files instead of dumping everything in index.ts. Most valuable for the feasibility check, it explicitly lists what you can't do with plugins (modify TUI, add keybinds, change core prompts) so you don't waste time on impossible approaches. The hook patterns and examples cover the common use cases: intercepting tool calls, reacting to file edits, adding custom tools, building auth providers.
- skills.sh installs
- 349
- GitHub stars
- 122
- last updated
- Jun 3, 2026
Install
$ npx -y skills add igorwarzocha/opencode-workflows --skill create-opencode-plugin --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/igorwarzocha/opencode-workflows
- First seen
- Jun 3, 2026