opencode-plugin-development

Official

Easily craft OpenCode plugins with TypeScript.

Authorpantheon-org
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured guide to building OpenCode plugins with TypeScript, including plugin structure, tooling, authentication providers, event hooks, chat and permission hooks, shell integration, testing, and configuration.

Core Features & Use Cases

  • Plugin scaffolding: Clear steps to scaffold a new OpenCode plugin using TypeScript with a consistent project layout.
  • Tooling & Hooks: Covers tool definitions, chat hooks, permission checks, and tool execution lifecycle.
  • Deployment & Testing: Guidance on building, testing, and deploying plugins, including shell integration for commands.
  • Use Case: A developer wants to create a new OpenCode plugin that exposes a custom tool and authenticates with a provider.

Quick Start

  1. Create a new plugin package and initialize with bun or npm.
  2. Install dependencies: @opencode-ai/plugin, @opencode-ai/sdk, and typescript.
  3. Implement the plugin by exporting a Plugin function with hooks and tools, then build and test locally.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: opencode-plugin-development
Download link: https://github.com/pantheon-org/opencode-plugins/archive/main.zip#opencode-plugin-development

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.