What problem does it solve? Debugging the OpenCode v2 coding server is hard because the blocking oc CLI hides server-side state: a client timeout does not mean the task failed, sessions can silently die while still accepting prompts, and provider outages mimic server-wide failures. This Skill provides the operational knowledge and scripts to distinguish these failure modes and recover correctly. ## Core Features & Use Cases - Zombie and wedge diagnosis: Identify dead sessions (finish=None, completed=None), server-wide execution wedges, and hanging providers using the PONG split-test probe and one-shot health check scripts. - Async dispatch and collection: Fire-and-forget task dispatch via the non-blocking POST /api/session/{sid}/prompt endpoint, with later collection through SSE-driven wait scripts that auto-approve permissions. - Model and provider troubleshooting: Fix spurious tools: false flags, register new model IDs in opencode-v2.json, and fail over between separately-billed providers (e.g. zai vs zai-coding-plan) when one is exhausted. - Use Case: A delegated coding task times out after 40 minutes. Instead of re-dispatching blindly, you run the diagnose script, discover the session is a zombie that died mid-research, and re-dispatch a fresh self-contained session pinned to a verified provider. ## Quick Start Ask the agent to run the oc_diagnose.py script against the stuck OpenCode session ID and report whether it is a zombie, a provider hang, or a server-wide wedge.