# Create Opencode Plugin

> Create OpenCode plugins using the @opencode-ai/plugin SDK.

Create OpenCode plugins using the @opencode-ai/plugin SDK. Use for building custom tools, event hooks, auth providers, or tool execution interception. Use proactively when developing new plugins in .opencode/plugin/ or ~/.config/opencode/plugin/.
Examples:
- user: "Create a plugin to block dangerous commands" → implement tool execution before hook with blocking logic
- user: "Add a custom tool for jira" → design tool schema and implementation using SDK context
- user: "Show toast on file edit" → react to file edit events and display status message
- user: "Build a custom auth provider" → implement auth flow for new model provider
- user: "Intercept git commits" → add hook to validate commit messages before execution

- Page: https://ss33.ai/skills/igorwarzocha/create-opencode-plugin-8581839897
- Publisher: igorwarzocha
- Category: [Software Development](https://ss33.ai/skills/category/software-development-t44z8z) › [Developer docs & tooling](https://ss33.ai/skills/category/software-development-t44z8z/developer-docs-and-tooling-nich6w)
- Source: https://github.com/igorwarzocha/opencode-workflows/blob/6444ec4aac80ede26fed1a51832d83e3f0598026/agents/create-opencode-plugin/.opencode/skill/create-opencode-plugin/SKILL.md

## Skill

This skill's licence does not allow redistribution, so the store does not serve its text. Get it from the author: https://github.com/igorwarzocha/opencode-workflows/blob/6444ec4aac80ede26fed1a51832d83e3f0598026/agents/create-opencode-plugin/.opencode/skill/create-opencode-plugin/SKILL.md
