
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-creatorAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 2 |
|---|---|
| repo stars | ★ 29 |
| Last updated | March 27, 2026 |
| Repository | different-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
Quick Usage (Already Configured)
Where plugins live
- Project plugins:
plugins/*.jsorplugins/*.ts - Global plugins:
~/.config/opencode/plugins/*.jsor.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.
# No environment variables are required for this skill.
# Required credentials (if any)
# - List the credential name
# - Where to obtain it
# - How to store it locally
# Example:
# - GITHUB_TOKEN: https://github.com/settings/tokens
# - Store in .env (gitignored)