You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@howaboua/create-opencode-plugin

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@howaboua/create-opencode-plugin

OpenCode workflow pack that generates plugins via /create-plugin

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

OpenCode Plugin Generator

This workflow pack enables OpenCode to generate its own TypeScript plugins. It bundles the SDK documentation, a slash command that triggers the workflow, and a required agent profile.

plugin-creator

Installation

Add to your opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["@howaboua/create-opencode-plugin@latest"]
}

OpenCode installs plugin dependencies automatically on next launch.

For local development:

{
  "plugin": ["file:///absolute/path/to/create-opencode-plugin/dist/index.js"]
}

Usage

Use the slash command to generate a new plugin:

/create-plugin "block any bash command that contains 'rm -rf'"

The command triggers the workflow, loading the agent and skill to look up the correct SDK hooks and generate TypeScript code.

Components

  • Command (/create-plugin): Triggers the workflow and passes your description to the agent.
  • Skill (create-opencode-plugin): Contains the API reference, event types, and TypeScript definitions. This ensures the generated code compiles.
  • Agent (Plugin Creator): Required specialized agent profile tuned for plugin development.

Skill Configuration

[!NOTE] The Plugin Creator agent has 1 skill enabled by default: create-opencode-plugin. All other skills are blocked with "*": "deny". This ensures the agent focuses on plugin development without context pollution.

The agent's YAML frontmatter controls skill access:

permission:
  skill:
    create-opencode-plugin: allow
    '*': deny

Keywords

opencode

FAQs

Package last updated on 04 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts