CtrlK
BlogDocsLog inGet started
Tessl Logo

plugin-creator

Create OpenCode plugins and know where to load them.

58

Quality

66%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.opencode/skills/plugin-creator/SKILL.md
SKILL.md
Quality
Evals
Security

Quick Usage (Already Configured)

Where plugins live

  • Project plugins: .opencode/plugins/*.js or .opencode/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.

Repository
trackdubllc/Babel-Player-Alpha
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.