bridge-opencode
Installation
SKILL.md
Bridge: OpenCode Multi-Model Adapter
This file is a REFERENCE DOCUMENT. Any orchestrating skill reads it via the Read tool and embeds its instructions directly into Task agent prompts. It is not invoked as a standalone skill — it is a reusable set of instructions for OpenCode dispatch.
Input schema, agent prompt template, output schema, verdict logic, artifact format, and status semantics are defined in bridge-commons/SKILL.md. This file covers OpenCode-specific connection detection, timeout multiplier, and execution paths.
Bridge Identity
bridge: opencode
model_family: multi-provider # Routes to any configured AI provider
availability: conditional
connection_preference:
1: native-dispatch # Executor is OpenCode — use task tool with subagent_type
2: http-api # OpenCode server running at localhost:4096
3: cli # Fallback — opencode run
4: halt # None available — surface advisory, offer setup