What problem does it solve? Delegating coding work to an external AI agent CLI involves fragile interactive sessions, permission stalls, orphaned background subagents, and silent rate-limit hangs. This Skill provides validated procedures for running OpenCode reliably in one-shot and interactive modes, plus recovery patterns when runs crash or stall. ## Core Features & Use Cases - One-shot and interactive execution: Run bounded tasks with opencode run or drive the TUI in background with pty sessions, progress polling, and clean Ctrl+C exits. - Multi-agent orchestration and recovery: Resume crashed orchestrator sessions via persistent serve + attach, extract orphaned lane evidence from the SQLite store, and prevent run abandonment with a validated hard-constraint prompt block. - Rate-limit and stall diagnosis: Detect free-tier rate-limit hangs from log signatures and resume with committed hashes and in-flight file state instead of restarting. - Use Case: Dispatch an approved multi-step refactor as a single background opencode run --auto that commits per step, passes CI gates, opens a PR, and survives a mid-run rate-limit stall via the documented resume pattern. ## Quick Start Ask the agent to use OpenCode to run a bounded coding task in your project directory, for example implementing a feature with tests via a one-shot opencode run command.