plugin-creator

Create OpenCode plugins and configure their project/global load locations.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/Charitablebusinessronin/Allura_Memory --skill plugin-creator-charitablebusinessronin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plugin-creator
Source: https://github.com/Charitablebusinessronin/Allura_Memory/tree/main/.opencode/skills/plugin-creator
Command: npx skills add https://github.com/Charitablebusinessronin/Allura_Memory --skill plugin-creator-charitablebusinessronin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenCode plugin development and load-path clarity are often scattered across docs and configs. This Skill consolidates plugin creation and establishes clear loading locations for project and global plugins.

Core Features & Use Cases

  • OpenCode plugin templates and patterns for JS/TS plugins.
  • Guidance on where plugins live: project plugins under .opencode/plugins and global plugins under ~/.config/opencode/plugins.
  • Loading behavior: npm plugins loaded via Bun at startup and local plugins loaded directly from the plugin directory.
  • Use Case: A developer adds a new plugin to the project and ensures it will be loaded in the correct order with global plugins.

Quick Start

Create a new plugin by adding a JS/TS module to .opencode/plugins or ~/.config/opencode/plugins and register it in the opencode.json file.

Frequently Asked Questions about plugin-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an OpenCode plugin in JavaScript or TypeScript?

To create an OpenCode plugin, you write a JS or TS module and place it in the designated plugin directory. The plugin is then loaded directly by OpenCode during startup or when configured.

Where should OpenCode plugin files be stored for project and global scopes?

Project-level OpenCode plugins should be stored under the .opencode/plugins directory, while global plugins accessible across projects are stored under ~/.config/opencode/plugins.

How does OpenCode load local plugins versus npm plugins?

OpenCode loads local plugins directly from the .opencode/plugins directory, whereas npm plugins are loaded via Bun at startup, establishing clear loading behavior based on the plugin source.

Can I use TypeScript to write OpenCode plugins?

Yes, you can use TypeScript to write OpenCode plugins. The plugin creation process supports both JavaScript and TypeScript syntax, allowing you to add TS modules to the plugin directory.

How do I register a new plugin to ensure it loads in the correct order?

To register a new plugin and ensure correct loading order with global plugins, you add the JS or TS module to the appropriate plugin directory and register it within the opencode.json configuration file.