create-opencode-plugin

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

7|2|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/jal-co/jalco-opencode --skill create-opencode-plugin-jal-co
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-opencode-plugin
Source: https://github.com/jal-co/jalco-opencode/tree/main/opencode/.config/opencode/skills/create-opencode-plugin
Command: npx skills add https://github.com/jal-co/jalco-opencode --skill create-opencode-plugin-jal-co

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables developers to create OpenCode plugins using the @opencode-ai/plugin SDK to implement custom tools, event hooks, and authentication providers, enabling automation and extensibility within OpenCode.

Core Features & Use Cases

  • Modular plugin design with separate entry points and hook implementations.
  • Clear workflow guidance from scaffolding to testing and publishing (verify SDK reference, design, implement, test, and publish).
  • Practical guidance for managing plugin code layouts (.opencode/plugin/ or ~/.config/opencode/plugin/) and on-demand resources (scripts, references, assets).

Quick Start

Begin by scaffolding a minimal plugin and follow the 7-step workflow: verify the SDK reference, design modular hooks, implement tool and event hooks, test locally, and publish.

Frequently Asked Questions about create-opencode-plugin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an OpenCode plugin using the @opencode-ai/plugin SDK?

You can create an OpenCode plugin by scaffolding a minimal project and following a 7-step workflow: verify the SDK reference, design modular hooks, implement tools and event hooks, test locally, and publish. The Skill enforces a standardized file layout for maintainable development.

What can I build with OpenCode plugins?

OpenCode plugins enable you to implement custom tools, event hooks, and authentication providers. This allows for extensive automation and extensibility within the OpenCode platform through modular design with separate entry points.

Where should OpenCode plugin files be stored?

OpenCode plugin code should be organized in a standardized file layout within either a project-local directory (.opencode/plugin/) or a global directory (~/.config/opencode/plugin/), depending on the desired scope of your plugin.

What is the recommended workflow for OpenCode plugin development?

The recommended workflow for OpenCode plugin development involves verifying the SDK reference, designing modular hooks, implementing tools and event hooks, testing locally, and finally publishing. This ensures maintainable and secure plugin creation.

Does OpenCode plugin development require specific safety checks?

Yes, the plugin development process includes enforced safety checks and a script-based extract-api workflow. These standardized practices ensure that your custom tools, event hooks, and authentication providers remain secure and maintainable.