Skip to main content
在 Manus 中运行任何 Skill
一键导入

opencode-plugin-dev

星标4
分支2
更新时间2026年6月9日 17:50

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.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
12 个文件
SKILL.md
readonly