← ClaudeAtlas

opencode-builderlisted

Use this skill when the user is building extensions, plugins, integrations, or custom developer tools on top of OpenCode (opencode.ai). This includes: creating plugins with custom AI tools and lifecycle hooks, using the SDK for programmatic session control and multi-agent workflows, building model providers or MCP integrations, configuring opencode.json, and implementing advanced orchestration like checkpoint/resume, parallel execution, or adversarial review. Trigger for any development work that extends or automates OpenCode. Do NOT trigger for general usage questions, troubleshooting, UI theming, or tool comparisons.
Timmy6942025/opencode-builder-skill · ★ 1 · AI & Automation · score 72
Install: claude install-skill Timmy6942025/opencode-builder-skill
# OpenCode Builder A comprehensive skill for building on top of [OpenCode](https://opencode.ai) — an AI-powered coding assistant. This skill covers both the **JavaScript/TypeScript SDK** for programmatic control and the **plugin architecture** for extending OpenCode's behavior. ## Table of Contents 1. [Quick Start: Choose Your Path](#quick-start-choose-your-path) 2. [SDK Path: Programmatic Control](#sdk-path-programmatic-control) 3. [Plugin Path: Extending OpenCode](#plugin-path-extending-opencode) 4. [Configuration Deep-Dive](#configuration-deep-dive) 5. [Common Patterns](#common-patterns) 6. [Advanced Orchestration](#advanced-orchestration) 7. [Debugging & Troubleshooting](#debugging--troubleshooting) 8. [Reference Files](#reference-files) --- ## Quick Start: Choose Your Path OpenCode offers two primary extension surfaces: | Path | Use When | Key Packages | |------|----------|-------------| | **SDK** (`@opencode-ai/sdk`) | You want to control OpenCode from an external app, script, or service. Build integrations, automate workflows, or create UIs that interact with OpenCode. | `@opencode-ai/sdk` | | **Plugin** (`@opencode-ai/plugin`) | You want to run code *inside* OpenCode, hook into its lifecycle, add custom AI tools, or modify behavior. | `@opencode-ai/plugin` | **You can use both in the same project.** A plugin can internally use the SDK client to call back into OpenCode. --- ## SDK Path: Programmatic Control ### Installation ```bash npm install @opencode-ai/