Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
different-ai avatar

Plugin Creator

  • 2 installs
  • 29 repo stars
  • Updated March 27, 2026
  • different-ai/openwork-hub

Creates OpenCode plugins and explains plugin file locations, npm loading via opencode.json, and load order between global and project scopes.

About

Guides authoring OpenCode plugins as JS/TS modules, showing project vs global directories, npm plugin loading in opencode.json, and a minimal plugin template. A developer uses it when adding a plugin to extend OpenCode with hooks.

  • Minimal plugin template exporting a plugin function
  • Load order: global config to project plugins

Plugin Creator by the numbers

  • 2 all-time installs (skills.sh)
  • Ranked #13,956 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/different-ai/openwork-hub --skill plugin-creator

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2
repo stars29
Last updatedMarch 27, 2026
Repositorydifferent-ai/openwork-hub

What it does

Creates OpenCode plugins and explains plugin file locations, npm loading via opencode.json, and load order between global and project scopes.

Files

SKILL.mdMarkdownGitHub ↗

Quick Usage (Already Configured)

Where plugins live

  • Project plugins: plugins/*.js or plugins/*.ts
  • Global plugins: ~/.config/opencode/plugins/*.js or .ts

Load from npm

Add npm plugin packages in opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["opencode-helicone-session", "opencode-wakatime"]
}

Minimal plugin template

export const MyPlugin = async ({ project, client, $, directory, worktree }) => {
  return {
    // Hook implementations go here
  }
}

Notes from OpenCode docs

  • Plugins are JS/TS modules exporting one or more plugin functions.
  • Local plugins are loaded directly from the plugin directory.
  • NPM plugins are installed via Bun at startup and cached in ~/.cache/opencode/node_modules/.
  • Load order: global config → project config → global plugins → project plugins.

Reference

Follow the official OpenCode plugin docs: https://opencode.ai/docs/plugins/ Use the docs as the escape hatch when unsure.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.