creating-opencode-plugins

Community

Build powerful event-driven plugins for OpenCode AI

Authorpr-pm
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the complexity of building custom integrations for OpenCode by providing structured patterns and APIs for intercepting and responding to 25+ different events across the development lifecycle.

Core Features & Use Cases

  • Event-Driven Architecture: Hook into command execution, file operations, LSP diagnostics, permission requests, and UI interactions.
  • Security & Monitoring: Create plugins that prevent credential leaks, monitor system activities, and enforce security policies.
  • Use Case: Imagine you need to prevent developers from accidentally sharing .env files. Use this Skill to build a plugin that automatically blocks read/share operations on sensitive files and sends warnings when they're edited.

Quick Start

Create an OpenCode plugin that monitors file edits and warns when sensitive files like .env are modified.

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: creating-opencode-plugins
Download link: https://github.com/pr-pm/prpm/archive/main.zip#creating-opencode-plugins

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 471,000+ vetted skills library on demand.