Skip to main content

opencode-plugin-dev

Build, debug, and publish opencode plugins with the @opencode-ai/plugin SDK — hooks, custom tools, auth/model providers, and event handling. Use when working in an opencode plugin repo or anytime the task touches @opencode-ai/plugin or @opencode-ai/sdk. Use when: "create a plugin to block dangerous bash commands" (tool.execute.before), "add a custom tool the agent can call" (tool() helper), "show a toast on file edit" (event hook + tui), "build a custom auth/OAuth provider" (auth hook), "inject context on the first message of a session" (chat.message), "override temperature for the build agent" (chat.params), "run code when a session finishes" (session.idle event), "my plugin loads but the hook never fires", "console.log breaks the TUI", or "publish my plugin to npm". Covers the plural .opencode/plugins/ layout and opencode.json plugin array.

跳到安装

来源信息

仓库
fredcamaral/drawers
最近来源活动
2026年6月9日 17:50
检测到的 SKILL.md 语言
英语
星标
7
分支
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。