OpenCode Plugins

Develop custom OpenCode AI platform plugins using TypeScript hooks.

28|6|Updated Dec 27, 2025
One-click install
npx skills add https://github.com/johnlindquist/script-kit-next --skill opencode-plugins
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: OpenCode Plugins
Source: https://github.com/johnlindquist/script-kit-next/tree/main/.opencode/skill/opencode-plugins
Command: npx skills add https://github.com/johnlindquist/script-kit-next --skill opencode-plugins

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a comprehensive guide for developers to create and integrate custom plugins, extending the capabilities of the OpenCode AI platform with tailored hooks, tools, and integrations.

Core Features & Use Cases

  • Plugin Development Guide: Detailed documentation on the structure, available hooks, and common patterns for building OpenCode plugins.
  • Extensibility: Enables customization of AI behavior, tool registration, permission handling, and more.
  • Use Case: A team can develop a plugin to automatically inject project-specific guidelines into every AI conversation or to create custom tools that interact with their internal development workflow.

Quick Start

Refer to the "Basic Structure" section in the documentation to begin creating your first plugin.

Frequently Asked Questions about OpenCode Plugins

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

FAQPage Schema
How do I develop custom plugins for the OpenCode AI platform?

To develop OpenCode plugins, use TypeScript to implement core hooks like event, config, tool, and permission. This facilitates integrating custom logic and tools to extend AI functionality.

What hooks are available for OpenCode plugin customization?

Available hooks for OpenCode plugin customization include event, config, tool, and permission, plus experimental hooks for advanced scenarios like registering custom authentication providers.

Can I automatically inject project-specific guidelines into AI conversations using OpenCode plugins?

Yes, you can create an OpenCode plugin to automatically inject project-specific guidelines into every AI conversation by utilizing the available event and config hooks.

Do I need TypeScript to build OpenCode plugins?

TypeScript is required to build OpenCode plugins, as the development guide focuses on using TypeScript to implement the core hooks and custom tools for the AI platform.

How do I add custom authentication providers to OpenCode?

You add custom authentication providers to OpenCode by developing a plugin that leverages the platform's experimental hooks for advanced customization and integration.