透過 HTTP API 呼叫 OpenCode Server 進行 code review、程式碼分析與編碼任務。 涵蓋:Agents(4種模式+自訂代理)、Custom Tools(TypeScript)、Formatters(ruff/biome)、 Skills(載入技能)、SDK(完整 API,含結構化輸出/noReply/事件監聽)、Plugins(事件鉤子)、 Config(完整 schema)、Permissions(細粒度規則)、Commands(自訂指令)、Providers(MCP/LM Studio/Ollama)、 MCP(Model Context Protocol)、LSP(語言伺服器整合)、Server(HTTP 部署)。 適用於 OpenClaw 派工給 OpenCode 執行的場景。

Install

openclaw skills install @jlin53882/opencode-api