What problem does it solve? The installed oc wrapper and upstream opencode2 CLI are blocking-only, so delegated coding tasks that run longer than the 600-second foreground terminal cap get silently truncated or misreported as failures. This Skill provides a fire-and-forget dispatch plus later collection pattern over the OpenCode server's HTTP API so long-running tasks complete server-side without losing output. ## Core Features & Use Cases - Async dispatch/collect scripts: oc_dispatch.py creates a session (or posts a follow-up turn), sends a prompt file, prints the session id, and exits immediately; oc_collect.py waits with permission auto-approval and SSE/polling, then prints the final reply. - Session-state diagnosis: Distinguishes healthy, done, and zombie sessions using finish, time.completed, pending permissions, and question endpoints, with a redispatch strategy for unrecoverable zombies. - Pitfall guidance: Documents pipe-truncation data loss, foreground timeout capping, exit-code-3 semantics, and provider fallback (zai-coding-plan vs exhausted main plans) via references/http-api.md. - Use Case: Delegate a 30-minute code review to the shared OpenCode server: dispatch the prompt file, capture the ses_... id, then collect the final review in a background terminal with completion notification. ## Quick Start Dispatch my task prompt file to the OpenCode server asynchronously and collect the session's final reply when it finishes.