opencode-bridge

Installation
SKILL.md

Overview

OpenWork communicates with OpenCode via three mechanisms:

  1. CLI invocation: Spawn opencode with prompts and get JSON responses.
  2. Database access: Read OpenCode's SQLite database for sessions and messages.
  3. MCP bridge: Real-time bidirectional communication for streaming and permissions.

CLI Invocation

Non-interactive mode

opencode -p "your prompt" -f json -q

Returns JSON with the response content.

Related skills
Installs
543
GitHub Stars
15.2K
First Seen
Jan 22, 2026