create-opencode-plugin

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

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/jiesou/dotfiles --skill create-opencode-plugin-jiesou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-opencode-plugin
Source: https://github.com/jiesou/dotfiles/tree/main/exact_dot_agents/exact_skills/exact_create-opencode-plugin
Command: npx skills add https://github.com/jiesou/dotfiles --skill create-opencode-plugin-jiesou

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @opencode-ai/plugin, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

The create-opencode-plugin Skill Unit addresses the need for streamlined plugin development in OpenCode by providing a framework for creating plugins using the @opencode-ai/plugin SDK.

Core Features & Use Cases

  • Plugin Creation: Offers a structured process to develop plugins using the @opencode-ai/plugin SDK.
  • Workflow Guidance: Provides step-by-step instructions for creating, validating, implementing, and testing plugins.
  • Reference Documentation: Includes detailed reference guides for hooks, events, tools, and more.
  • Use Case: Ideal for developers looking to extend the functionality of OpenCode by developing custom plugins for their specific needs.

Quick Start

Use the create-opencode-plugin to start creating a new plugin by running the following command: bun run .opencode/skill/create-opencode-plugin/scripts/extract-plugin-api.ts

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 a custom OpenCode plugin using the @opencode-ai/plugin SDK?

To create a custom OpenCode plugin, use the create-opencode-plugin Skill to generate a structured project via the @opencode-ai/plugin SDK. It provides step-by-step workflow guidance for designing, validating, implementing, and testing your plugin architecture.

What do I need to build OpenCode plugins with this SDK?

Building OpenCode plugins requires the @opencode-ai/plugin SDK dependency and a Bun runtime environment to execute the initial API extraction script. You should also be familiar with modular architecture principles to ensure proper plugin design and feasibility validation.

How does the OpenCode plugin development process handle hooks and events?

The OpenCode plugin development process handles hooks and events through detailed reference documentation included within the Skill. This reference material guides the implementation of custom tools and events while adhering to modular architecture principles.

What is the best way to structure and test a new OpenCode plugin?

The best way to structure and test a new OpenCode plugin is to follow the Skill's modular architecture principles. It offers a structured workflow that validates feasibility, implements core features, and tests the plugin before publishing.

Are there limitations when extending OpenCode functionality through custom plugins?

When extending OpenCode functionality through custom plugins, limitations are mitigated by strict adherence to modular architecture principles and SDK reference generation. Validating feasibility early in the design phase prevents architectural conflicts and ensures stable plugin operation.