Soubi

OpenCode

Native OpenCode files plus Soubi's generated TypeScript plugin module.

OpenCode combines file-based prompts with a TypeScript plugin API. Soubi uses both: Markdown for portable content and generated code for hooks and tools.

Native output

AGENTS.md
skills/<name>/SKILL.md
commands/<name>.md
agents/<name>.md
opencode.json
plugin/<plugin-id>.ts

Translation details

  • MCP servers are merged under the mcp key in opencode.json.
  • Lifecycle hooks become callbacks in the generated plugin module.
  • Portable tools are registered from the same TypeScript module.
  • Function hook handlers remain code; command handlers are wrapped by the adapter.

Build this target

pnpm soubi build ./my-plugin --harness opencode

OpenCode has native or lossless generated support for every top-level Soubi feature.

On this page